Moved undefined game state to enum end (more xmacro idiomatic)

This commit is contained in:
MeirGavish
2025-10-21 12:50:18 +03:00
parent 9c78094399
commit 9b568e8e1a
+2 -2
View File
@@ -29,11 +29,11 @@
// Enum value names in ../include/def_state_info_table.h
enum GameState
{
GAME_STATE_UNDEFINED = -1,
#define DEF_STATE_INFO(stateEnum, on_init, on_update, on_exit) stateEnum,
#include "def_state_info_table.h"
#undef DEF_STATE_INFO
GAME_STATE_MAX
GAME_STATE_MAX,
GAME_STATE_UNDEFINED
};
enum HandState