summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-09-26 17:24:37 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-09-26 17:24:37 +0000
commita0fd39a05151848bef85e18e25aa0824bc9cef93 (patch)
tree60f9ed2136268d7570b4716a318e510b2c30d2ce /src/main.h
parent1a7f56901301fb8fe08f26526f3314b0974626ca (diff)
downloadmana-a0fd39a05151848bef85e18e25aa0824bc9cef93.tar.gz
mana-a0fd39a05151848bef85e18e25aa0824bc9cef93.tar.bz2
mana-a0fd39a05151848bef85e18e25aa0824bc9cef93.tar.xz
mana-a0fd39a05151848bef85e18e25aa0824bc9cef93.zip
Added a nicer handling of when you get disconnected from the server.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/main.h b/src/main.h
index 54846e70..5f404b10 100644
--- a/src/main.h
+++ b/src/main.h
@@ -31,20 +31,16 @@ class Sound;
#define TMW_DATADIR ""
#endif
-#ifdef ERROR
-#undef ERROR
-#endif
-
enum {
- EXIT,
- LOGIN,
- CHAR_SERVER,
- CHAR_SELECT,
- CHAR_NEW,
- CHAR_DEL,
- GAME,
- ERROR,
- UPDATE
+ EXIT_STATE,
+ LOGIN_STATE,
+ CHAR_SERVER_STATE,
+ CHAR_SELECT_STATE,
+ CHAR_NEW_STATE,
+ CHAR_DEL_STATE,
+ GAME_STATE,
+ ERROR_STATE,
+ UPDATE_STATE
};
/* length definitions for several char[]s in order