Moved undefined game state to enum end (more xmacro idiomatic)
This commit is contained in:
+2
-2
@@ -29,11 +29,11 @@
|
|||||||
// Enum value names in ../include/def_state_info_table.h
|
// Enum value names in ../include/def_state_info_table.h
|
||||||
enum GameState
|
enum GameState
|
||||||
{
|
{
|
||||||
GAME_STATE_UNDEFINED = -1,
|
|
||||||
#define DEF_STATE_INFO(stateEnum, on_init, on_update, on_exit) stateEnum,
|
#define DEF_STATE_INFO(stateEnum, on_init, on_update, on_exit) stateEnum,
|
||||||
#include "def_state_info_table.h"
|
#include "def_state_info_table.h"
|
||||||
#undef DEF_STATE_INFO
|
#undef DEF_STATE_INFO
|
||||||
GAME_STATE_MAX
|
GAME_STATE_MAX,
|
||||||
|
GAME_STATE_UNDEFINED
|
||||||
};
|
};
|
||||||
|
|
||||||
enum HandState
|
enum HandState
|
||||||
|
|||||||
Reference in New Issue
Block a user