diff options
author | Aaron Marks <nymacro@gmail.com> | 2005-07-08 09:47:06 +0000 |
---|---|---|
committer | Aaron Marks <nymacro@gmail.com> | 2005-07-08 09:47:06 +0000 |
commit | e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d (patch) | |
tree | 40e206c03c586e77baf8fe018922c59757abded8 /src/main.h | |
parent | ad1fd6ad07e25b7fa4937cb28f9371371fbd83be (diff) | |
download | mana-client-e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d.tar.gz mana-client-e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d.tar.bz2 mana-client-e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d.tar.xz mana-client-e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d.zip |
Added basic update system (depends on curl).
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -46,14 +46,17 @@ #undef ERROR #endif -#define EXIT 0 -#define LOGIN 1 -#define CHAR_SERVER 2 -#define CHAR_SELECT 3 -#define CHAR_NEW 4 -#define CHAR_DEL 5 -#define GAME 6 -#define ERROR 7 +enum { + EXIT, + LOGIN, + CHAR_SERVER, + CHAR_SELECT, + CHAR_NEW, + CHAR_DEL, + GAME, + ERROR, + UPDATE +}; /* length definitions for several char[]s in order * to be able to use strncpy instead of strcpy for |