diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-09-26 17:24:37 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-09-26 17:24:37 +0000 |
commit | a0fd39a05151848bef85e18e25aa0824bc9cef93 (patch) | |
tree | 60f9ed2136268d7570b4716a318e510b2c30d2ce /src/main.h | |
parent | 1a7f56901301fb8fe08f26526f3314b0974626ca (diff) | |
download | mana-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.h | 22 |
1 files changed, 9 insertions, 13 deletions
@@ -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 |