summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-07 15:31:54 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-07 15:31:54 -0600
commit11b3ff85e9dc8f39ddcfdff511c6340b899ba414 (patch)
treea63ab360f58ac4e76066b1969e75a6e53a49a000 /src/main.h
parentf708a9bf4aeff8781ec5697ff3936e5791a9137a (diff)
downloadmana-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.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/main.h b/src/main.h
index 1ba25a74..e4323f7f 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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