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