ManaPlus
state.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2004-2009 The Mana World Development Team
4  * Copyright (C) 2009-2010 The Mana Developers
5  * Copyright (C) 2011-2019 The ManaPlus Developers
6  *
7  * This file is part of The ManaPlus Client.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef ENUMS_STATE_H
24 #define ENUMS_STATE_H
25 
27 
28 #ifdef WIN32
29 #undef ERROR
30 #endif // WIN32
31 
33 {
34  ERROR = -1,
46  CHAR_SELECT, // 10
49  CHANGE_MAP, // Switch map-server/gameserver
69 }
71 
72 #endif // ENUMS_STATE_H
State::GAME
@ GAME
Definition: state.h:48
State::EXIT
@ EXIT
Definition: state.h:66
State::FORCE_QUIT
@ FORCE_QUIT
Definition: state.h:67
State::REGISTER
@ REGISTER
Definition: state.h:53
State::CHOOSE_SERVER
@ CHOOSE_SERVER
Definition: state.h:36
State::ACCOUNTCHANGE_ERROR
@ ACCOUNTCHANGE_ERROR
Definition: state.h:51
State::GET_CHARACTERS
@ GET_CHARACTERS
Definition: state.h:45
enumStart
#define enumStart(name)
Definition: enumdefines.h:35
State::LOGIN_ATTEMPT
@ LOGIN_ATTEMPT
Definition: state.h:40
State::CHAR_SELECT
@ CHAR_SELECT
Definition: state.h:46
State::LOGOUT_ATTEMPT
@ LOGOUT_ATTEMPT
Definition: state.h:64
State::WORLD_SELECT
@ WORLD_SELECT
Definition: state.h:41
State::CHANGEPASSWORD_SUCCESS
@ CHANGEPASSWORD_SUCCESS
Definition: state.h:57
State::LOGIN_ERROR
@ LOGIN_ERROR
Definition: state.h:50
State::ERROR
@ ERROR
Definition: state.h:34
State::UPDATE
@ UPDATE
Definition: state.h:43
State::CONNECT_GAME
@ CONNECT_GAME
Definition: state.h:47
State::PRE_LOGIN
@ PRE_LOGIN
Definition: state.h:38
State::LOGIN
@ LOGIN
Definition: state.h:39
State::LOAD_DATA
@ LOAD_DATA
Definition: state.h:44
State::SWITCH_SERVER
@ SWITCH_SERVER
Definition: state.h:61
State::REGISTER_PREP
@ REGISTER_PREP
Definition: state.h:52
State::CHANGEEMAIL_ATTEMPT
@ CHANGEEMAIL_ATTEMPT
Definition: state.h:59
State::REGISTER_ATTEMPT
@ REGISTER_ATTEMPT
Definition: state.h:54
State::CHANGEPASSWORD
@ CHANGEPASSWORD
Definition: state.h:55
State::CHANGE_MAP
@ CHANGE_MAP
Definition: state.h:49
enumdefines.h
State::CHANGEEMAIL_SUCCESS
@ CHANGEEMAIL_SUCCESS
Definition: state.h:60
State::CONNECT_SERVER
@ CONNECT_SERVER
Definition: state.h:37
State::AUTORECONNECT_SERVER
@ AUTORECONNECT_SERVER
Definition: state.h:68
State::CHANGEPASSWORD_ATTEMPT
@ CHANGEPASSWORD_ATTEMPT
Definition: state.h:56
State::CHANGEEMAIL
@ CHANGEEMAIL
Definition: state.h:58
State::WAIT
@ WAIT
Definition: state.h:65
State::START
@ START
Definition: state.h:35
State::SWITCH_LOGIN
@ SWITCH_LOGIN
Definition: state.h:62
State
Definition: state.h:32
State::SWITCH_CHARACTER
@ SWITCH_CHARACTER
Definition: state.h:63
enumEnd
#define enumEnd(name)
Definition: enumdefines.h:45
State::WORLD_SELECT_ATTEMPT
@ WORLD_SELECT_ATTEMPT
Definition: state.h:42