hoa_mode_manager Namespace Reference

All calls to the mode management code are wrapped inside this namespace. More...


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
GameModeManagerModeManager
 The singleton pointer responsible for maintaining and updating the game mode state.
GameModeManagerModeManager = 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


Detailed Description

All calls to the mode management code are wrapped inside this namespace.

Variable Documentation

const uint8 hoa_mode_manager::MODE_MANAGER_BATTLE_MODE = 3

Definition at line 37 of file mode_manager.h.

Referenced by hoa_battle::BattleMode::BattleMode(), and hoa_input::TEMP_HandlePause().

const uint8 hoa_mode_manager::MODE_MANAGER_BOOT_MODE = 1

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().

bool hoa_mode_manager::MODE_MANAGER_DEBUG

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.

bool hoa_mode_manager::MODE_MANAGER_DEBUG

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().

const uint8 hoa_mode_manager::MODE_MANAGER_DUMMY_MODE = 0

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.

const uint8 hoa_mode_manager::MODE_MANAGER_MENU_MODE = 4

Definition at line 38 of file mode_manager.h.

const uint8 hoa_mode_manager::MODE_MANAGER_PAUSE_MODE = 6

Definition at line 40 of file mode_manager.h.

Referenced by hoa_input::GameInput::_JoystickEventHandler(), hoa_pause::PauseMode::PauseMode(), and hoa_input::GameInput::TogglePause().

const uint8 hoa_mode_manager::MODE_MANAGER_QUIT_MODE = 7

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().

const uint8 hoa_mode_manager::MODE_MANAGER_SCENE_MODE = 8

Definition at line 42 of file mode_manager.h.

Referenced by hoa_scene::SceneMode::SceneMode().

const uint8 hoa_mode_manager::MODE_MANAGER_SHOP_MODE = 5

Definition at line 39 of file mode_manager.h.

Referenced by hoa_shop::ShopMode::ShopMode().

const uint8 hoa_mode_manager::MODE_MANAGER_WORLD_MODE = 9

Definition at line 43 of file mode_manager.h.

GameModeManager* hoa_mode_manager::ModeManager

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().

GameModeManager* hoa_mode_manager::ModeManager = NULL

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().


Generated on Fri Jul 6 23:15:30 2007 for Hero of Allacrost by  doxygen 1.5.1