diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-07 15:31:54 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-07 15:31:54 -0600 |
commit | 11b3ff85e9dc8f39ddcfdff511c6340b899ba414 (patch) | |
tree | a63ab360f58ac4e76066b1969e75a6e53a49a000 /src/main.h | |
parent | f708a9bf4aeff8781ec5697ff3936e5791a9137a (diff) | |
download | mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.tar.gz mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.tar.bz2 mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.tar.xz mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.zip |
Clean up state machine some more
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -106,19 +106,22 @@ enum State { STATE_ACCOUNTCHANGE_ERROR, // 15 STATE_REGISTER, STATE_REGISTER_ATTEMPT, - STATE_CHANGEPASSWORD_ATTEMPT, STATE_CHANGEPASSWORD, - STATE_CHANGEEMAIL_ATTEMPT, // 20 + STATE_CHANGEPASSWORD_ATTEMPT, + STATE_CHANGEPASSWORD_SUCCESS, // 20 STATE_CHANGEEMAIL, - STATE_UNREGISTER_ATTEMPT, + STATE_CHANGEEMAIL_ATTEMPT, + STATE_CHANGEEMAIL_SUCCESS, STATE_UNREGISTER, + STATE_UNREGISTER_ATTEMPT, // 25 + STATE_UNREGISTER_SUCCESS, STATE_SWITCH_SERVER, - STATE_SWITCH_LOGIN, // 25 + STATE_SWITCH_LOGIN, STATE_SWITCH_CHARACTER, - STATE_LOGOUT_ATTEMPT, + STATE_LOGOUT_ATTEMPT, // 30 STATE_WAIT, STATE_EXIT, - STATE_FORCE_QUIT // 30 + STATE_FORCE_QUIT }; /* length definitions for several char[]s in order |