Classes | |
| class | GameMode |
| An abstract class that all game mode classes inherit from. More... | |
| class | GameModeManager |
| Manages and maintains all of the living game mode objects. More... | |
Variables | |
| bool | MODE_MANAGER_DEBUG |
| Determines whether the code in the hoa_mode_manager namespace should print debug statements or not. | |
| bool | MODE_MANAGER_DEBUG = false |
| Determines whether the code in the hoa_mode_manager namespace should print debug statements or not. | |
| bool | MODE_MANAGER_DEBUG |
| GameModeManager * | ModeManager |
| The singleton pointer responsible for maintaining and updating the game mode state. | |
| GameModeManager * | ModeManager = NULL |
| The singleton pointer responsible for maintaining and updating the game mode state. | |
Game States/Modes | |
| const uint8 | MODE_MANAGER_BATTLE_MODE = 3 |
| const uint8 | MODE_MANAGER_BOOT_MODE = 1 |
| const uint8 | MODE_MANAGER_DUMMY_MODE = 0 |
| Different modes of operation that the game can be in. | |
| const uint8 | MODE_MANAGER_MAP_MODE = 2 |
| const uint8 | MODE_MANAGER_MENU_MODE = 4 |
| const uint8 | MODE_MANAGER_PAUSE_MODE = 6 |
| const uint8 | MODE_MANAGER_QUIT_MODE = 7 |
| const uint8 | MODE_MANAGER_SCENE_MODE = 8 |
| const uint8 | MODE_MANAGER_SHOP_MODE = 5 |
| const uint8 | MODE_MANAGER_WORLD_MODE = 9 |
Definition at line 37 of file mode_manager.h.
Referenced by hoa_battle::BattleMode::BattleMode(), and hoa_input::TEMP_HandlePause().
Definition at line 35 of file mode_manager.h.
Referenced by hoa_input::GameInput::_JoystickEventHandler(), hoa_input::GameInput::_KeyEventHandler(), hoa_boot::BootMode::BootMode(), and hoa_input::GameInput::EventHandler().
Determines whether the code in the hoa_mode_manager namespace should print debug statements or not.
Definition at line 32 of file mode_manager.cpp.
| bool hoa_mode_manager::MODE_MANAGER_DEBUG = false |
Determines whether the code in the hoa_mode_manager namespace should print debug statements or not.
Definition at line 32 of file mode_manager.cpp.
Definition at line 32 of file mode_manager.cpp.
Referenced by hoa_main::EnableDebugging(), hoa_mode_manager::GameMode::GameMode(), hoa_mode_manager::GameModeManager::GameModeManager(), hoa_mode_manager::GameModeManager::Update(), hoa_mode_manager::GameMode::~GameMode(), and hoa_mode_manager::GameModeManager::~GameModeManager().
Different modes of operation that the game can be in.
Definition at line 34 of file mode_manager.h.
Referenced by hoa_mode_manager::GameMode::GameMode(), and hoa_mode_manager::GameModeManager::GetGameType().
| const uint8 hoa_mode_manager::MODE_MANAGER_MAP_MODE = 2 |
Definition at line 36 of file mode_manager.h.
Definition at line 38 of file mode_manager.h.
Definition at line 40 of file mode_manager.h.
Referenced by hoa_input::GameInput::_JoystickEventHandler(), hoa_pause::PauseMode::PauseMode(), and hoa_input::GameInput::TogglePause().
Definition at line 41 of file mode_manager.h.
Referenced by hoa_input::GameInput::_JoystickEventHandler(), hoa_input::GameInput::_KeyEventHandler(), hoa_input::GameInput::EventHandler(), and hoa_quit::QuitMode::QuitMode().
Definition at line 43 of file mode_manager.h.
The singleton pointer responsible for maintaining and updating the game mode state.
Definition at line 31 of file mode_manager.cpp.
Referenced by hoa_quit::QuitMode::_Cancel(), hoa_map::MapMode::_HandleInputExplore(), hoa_menu::MenuMode::_HandleMainMenu(), hoa_battle::BattleMode::_Initialize(), hoa_input::GameInput::_JoystickEventHandler(), hoa_input::GameInput::_KeyEventHandler(), hoa_boot::BootMode::_OnBattleDebug(), hoa_boot::BootMode::_OnMenuDebug(), hoa_boot::BootMode::_OnShopDebug(), hoa_quit::QuitMode::_QuitToBootMenu(), hoa_battle::BattleMode::_ShutDown(), hoa_defs::BindEngineToLua(), hoa_input::GameInput::EventHandler(), hoa_system::GameSystem::ExamineSystemTimers(), InitializeEngine(), main(), hoa_battle::BattleMode::PlayerDefeat(), hoa_input::TEMP_HandlePause(), hoa_input::GameInput::TogglePause(), hoa_shop::private_shop::ShopActionWindow::Update(), hoa_scene::SceneMode::Update(), hoa_menu::MenuMode::Update(), and hoa_boot::BootMode::Update().
The singleton pointer responsible for maintaining and updating the game mode state.
Definition at line 31 of file mode_manager.cpp.
Referenced by hoa_quit::QuitMode::_Cancel(), hoa_map::MapMode::_HandleInputExplore(), hoa_menu::MenuMode::_HandleMainMenu(), hoa_battle::BattleMode::_Initialize(), hoa_input::GameInput::_JoystickEventHandler(), hoa_input::GameInput::_KeyEventHandler(), hoa_boot::BootMode::_OnBattleDebug(), hoa_boot::BootMode::_OnMenuDebug(), hoa_boot::BootMode::_OnShopDebug(), hoa_quit::QuitMode::_QuitToBootMenu(), hoa_battle::BattleMode::_ShutDown(), hoa_defs::BindEngineToLua(), hoa_input::GameInput::EventHandler(), hoa_system::GameSystem::ExamineSystemTimers(), InitializeEngine(), main(), hoa_battle::BattleMode::PlayerDefeat(), hoa_input::TEMP_HandlePause(), hoa_input::GameInput::TogglePause(), hoa_boot::BootMode::Update(), hoa_menu::MenuMode::Update(), hoa_scene::SceneMode::Update(), and hoa_shop::private_shop::ShopActionWindow::Update().
1.5.1