summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorAaron Marks <nymacro@gmail.com>2005-07-08 09:47:06 +0000
committerAaron Marks <nymacro@gmail.com>2005-07-08 09:47:06 +0000
commite7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d (patch)
tree40e206c03c586e77baf8fe018922c59757abded8 /src/main.h
parentad1fd6ad07e25b7fa4937cb28f9371371fbd83be (diff)
downloadmana-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.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/main.h b/src/main.h
index 36deae9d..3c003ee8 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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