hoa_menu::MenuMode Class Reference

Handles game executing while in the main in-game menu. More...

#include <menu.h>

Inheritance diagram for hoa_menu::MenuMode:

Inheritance graph
[legend]
Collaboration diagram for hoa_menu::MenuMode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void Draw ()
 Draws the menu. Calls Draw() on active window if there is one.
 MenuMode (hoa_utils::ustring locale_name, std::string locale_image)
void Reset ()
 Resets the menu mode back to its default setup.
void Update ()
 Updates the menu. Calls Update() on active window if there is one.
 ~MenuMode ()

Private Member Functions

void _DrawBottomMenu ()
 Draws the bottom part of the menu mode.
void _DrawItemListHeader ()
 Draws the 'Name' and 'Qty' tags for the item list.
Menu Handle Functions
Handler functions to deal with events for all the different menus

void _HandleEquipMenu ()
void _HandleInventoryMenu ()
void _HandleMainMenu ()
void _HandleOptionsMenu ()
void _HandleSaveMenu ()
void _HandleSkillsMenu ()
void _HandleStatusMenu ()
void _SetupEquipOptionBox ()
void _SetupInventoryOptionBox ()
void _SetupMainOptionBox ()
void _SetupOptionBoxCommonSettings (hoa_video::OptionBox *ob)
 Functions that initialize the numerous option boxes.
void _SetupOptionsOptionBox ()
void _SetupSaveOptionBox ()
void _SetupSkillsOptionBox ()
void _SetupStatusOptionBox ()

Private Attributes

uint32 _char_selected
 The selected character.
hoa_video::OptionBox_current_menu
 A pointer to the current options menu.
uint32 _current_menu_showing
 The current option box to display.
uint32 _current_window
 The current window being drawn.
uint32 _item_selected
 The selected item/skill/equipment.
hoa_video::StillImage _locale_graphic
 The graphic that represents the current map that the player is exploring This image is set using the string in the MenuMode constructor.
hoa_utils::ustring _locale_name
 The name of the location in the game where MenuMode was invoked, which will be displayed on the menu screen.
hoa_video::OptionBox _main_options
 The top level options in boot mode.
std::map< std::string, hoa_audio::SoundDescriptor_menu_sounds
 A map of the sounds used while in MenuMode.
hoa_video::StillImage _saved_screen
 Retains a snap-shot of the screen just prior to when menu mode was entered This image is perpetually drawn as the background while in menu mode.
Main Display Windows
The various menu windows that are displayed in menu mode

hoa_video::MenuWindow _bottom_window
private_menu::CharacterWindow _character_window0
private_menu::CharacterWindow _character_window1
private_menu::CharacterWindow _character_window2
private_menu::CharacterWindow _character_window3
private_menu::EquipWindow _equip_window
private_menu::FormationWindow _formation_window
private_menu::InventoryWindow _inventory_window
hoa_video::MenuWindow _main_options_window
private_menu::SkillsWindow _skills_window
private_menu::StatusWindow _status_window
Option boxes that are used in the various menu windows
hoa_video::OptionBox _menu_equip
hoa_video::OptionBox _menu_inventory
hoa_video::OptionBox _menu_options
hoa_video::OptionBox _menu_save
hoa_video::OptionBox _menu_skills
hoa_video::OptionBox _menu_status

Static Private Attributes

static MenuMode_instance
 A static pointer to the last instantiated MenuMode object, or NULL if no such object exists.

Friends

class private_menu::CharacterWindow
class private_menu::EquipWindow
class private_menu::FormationWindow
class private_menu::InventoryWindow
class private_menu::SkillsWindow
class private_menu::StatusWindow

Detailed Description

Handles game executing while in the main in-game menu.

****************************************************************************

This mode of game operation allows the player to examine and manage their party, inventory, options, and save their game.

Note:
MenuMode is always entered from an instance of MapMode. However, there may be certain conditions where MenuMode is entered from other game modes.

MenuMode does not play its own music, but rather it continues playing music from the previous GameMode that created it.

Definition at line 150 of file menu.h.


Constructor & Destructor Documentation

hoa_menu::MenuMode::MenuMode ( hoa_utils::ustring  locale_name,
std::string  locale_image 
)

Parameters:
location_name The name of the current map that will be displayed on the menu screen.
locale_image The filename for the location image that is displayed in the menus.

hoa_menu::MenuMode::~MenuMode (  ) 

Definition at line 159 of file menu.cpp.

References _bottom_window, _character_window0, _character_window1, _character_window2, _character_window3, _equip_window, _formation_window, _instance, _inventory_window, _locale_graphic, _main_options_window, _menu_sounds, _saved_screen, _skills_window, _status_window, hoa_video::GameVideo::DeleteImage(), hoa_video::MenuWindow::Destroy(), hoa_menu::MENU_DEBUG, and hoa_video::VideoManager.

Here is the call graph for this function:


Member Function Documentation

void hoa_menu::MenuMode::_DrawBottomMenu (  )  [private]

Draws the bottom part of the menu mode.

Definition at line 564 of file menu.cpp.

References _bottom_window, _current_menu_showing, _locale_graphic, _locale_name, hoa_video::MenuWindow::Draw(), hoa_video::GameVideo::DrawImage(), hoa_video::GameVideo::DrawText(), hoa_global::GameGlobal::GetActiveParty(), hoa_global::GlobalParty::GetActorAtIndex(), hoa_global::GlobalActor::GetAgility(), hoa_global::GlobalCharacter::GetArmArmorEquipped(), hoa_global::GameGlobal::GetDrunes(), hoa_global::GlobalActor::GetEvade(), hoa_global::GlobalActor::GetFortitude(), hoa_global::GlobalCharacter::GetHeadArmorEquipped(), hoa_global::GlobalCharacter::GetLegArmorEquipped(), hoa_global::GlobalWeapon::GetMetaphysicalAttack(), hoa_global::GlobalArmor::GetMetaphysicalDefense(), hoa_global::GlobalWeapon::GetPhysicalAttack(), hoa_global::GlobalArmor::GetPhysicalDefense(), hoa_system::GameSystem::GetPlayHours(), hoa_system::GameSystem::GetPlayMinutes(), hoa_system::GameSystem::GetPlaySeconds(), hoa_global::GlobalActor::GetProtection(), hoa_global::GlobalActor::GetStrength(), hoa_global::GlobalCharacter::GetTorsoArmorEquipped(), hoa_global::GlobalActor::GetVigor(), hoa_global::GlobalActor::GetWeaponEquipped(), hoa_global::GlobalManager, hoa_utils::MakeUnicodeString(), hoa_video::GameVideo::Move(), hoa_video::GameVideo::MoveRelative(), hoa_utils::NumberToString(), hoa_video::GameVideo::SetDrawFlags(), hoa_menu::private_menu::SHOW_EQUIP, hoa_menu::private_menu::SHOW_INVENTORY, hoa_menu::private_menu::SHOW_SKILLS, hoa_system::SystemManager, hoa_video::VIDEO_X_CENTER, hoa_video::VIDEO_X_LEFT, hoa_video::VIDEO_X_RIGHT, hoa_video::VIDEO_Y_BOTTOM, and hoa_video::VideoManager.

Referenced by Draw().

Here is the call graph for this function:

void hoa_menu::MenuMode::_DrawItemListHeader (  )  [private]

Draws the 'Name' and 'Qty' tags for the item list.

void hoa_menu::MenuMode::_HandleEquipMenu (  )  [private]

Definition at line 825 of file menu.cpp.

References _current_menu, _current_menu_showing, _equip_window, _main_options, _menu_equip, hoa_menu::private_menu::EquipWindow::Activate(), hoa_menu::private_menu::EQUIP_BACK, hoa_menu::private_menu::EQUIP_EQUIP, hoa_menu::private_menu::EQUIP_REMOVE, hoa_video::OptionBox::GetSelection(), hoa_video::OptionBox::SetCursorState(), hoa_menu::private_menu::SHOW_MAIN, and hoa_video::VIDEO_CURSOR_STATE_BLINKING.

Referenced by Update().

Here is the call graph for this function:

void hoa_menu::MenuMode::_HandleInventoryMenu (  )  [private]

Definition at line 778 of file menu.cpp.

References _current_menu, _current_menu_showing, _inventory_window, _main_options, _menu_inventory, hoa_menu::private_menu::InventoryWindow::Activate(), hoa_global::GameGlobal::GetInventory(), hoa_video::OptionBox::GetSelection(), hoa_global::GlobalManager, hoa_menu::private_menu::INV_BACK, hoa_menu::private_menu::INV_SORT, hoa_menu::private_menu::INV_USE, hoa_video::OptionBox::SetCursorState(), hoa_menu::private_menu::SHOW_MAIN, and hoa_video::VIDEO_CURSOR_STATE_BLINKING.

Referenced by Update().

Here is the call graph for this function:

void hoa_menu::MenuMode::_HandleMainMenu (  )  [private]

Definition at line 710 of file menu.cpp.

References _current_menu, _current_menu_showing, _main_options, _menu_equip, _menu_inventory, _menu_skills, _menu_status, hoa_video::OptionBox::GetSelection(), hoa_menu::private_menu::MAIN_EQUIP, hoa_menu::private_menu::MAIN_EXIT, hoa_menu::private_menu::MAIN_INVENTORY, hoa_menu::private_menu::MAIN_SKILLS, hoa_menu::private_menu::MAIN_STATUS, hoa_mode_manager::ModeManager, hoa_mode_manager::GameModeManager::Pop(), hoa_menu::private_menu::SHOW_EQUIP, hoa_menu::private_menu::SHOW_INVENTORY, hoa_menu::private_menu::SHOW_SKILLS, and hoa_menu::private_menu::SHOW_STATUS.

Referenced by Update().

Here is the call graph for this function:

void hoa_menu::MenuMode::_HandleOptionsMenu (  )  [private]

Definition at line 850 of file menu.cpp.

References _current_menu, _current_menu_showing, _main_options, _menu_options, hoa_video::OptionBox::GetSelection(), hoa_menu::private_menu::OPTIONS_BACK, hoa_menu::private_menu::OPTIONS_EDIT, hoa_menu::private_menu::OPTIONS_SAVE, and hoa_menu::private_menu::SHOW_MAIN.

Here is the call graph for this function:

void hoa_menu::MenuMode::_HandleSaveMenu (  )  [private]

Definition at line 875 of file menu.cpp.

References _current_menu, _current_menu_showing, _main_options, _menu_save, hoa_video::OptionBox::GetSelection(), hoa_global::GlobalManager, hoa_menu::private_menu::SAVE_BACK, hoa_menu::private_menu::SAVE_SAVE, hoa_global::GameGlobal::SaveGame(), and hoa_menu::private_menu::SHOW_MAIN.

Referenced by Draw(), and Update().

Here is the call graph for this function:

void hoa_menu::MenuMode::_HandleSkillsMenu (  )  [private]

Definition at line 805 of file menu.cpp.

References _current_menu, _current_menu_showing, _main_options, _menu_skills, _skills_window, hoa_menu::private_menu::SkillsWindow::Activate(), hoa_video::OptionBox::GetSelection(), hoa_video::OptionBox::SetCursorState(), hoa_menu::private_menu::SHOW_MAIN, hoa_menu::private_menu::SKILLS_BACK, hoa_menu::private_menu::SKILLS_USE, and hoa_video::VIDEO_CURSOR_STATE_BLINKING.

Referenced by Update().

Here is the call graph for this function:

void hoa_menu::MenuMode::_HandleStatusMenu (  )  [private]

Definition at line 759 of file menu.cpp.

References _current_menu, _current_menu_showing, _main_options, _menu_status, _status_window, hoa_menu::private_menu::StatusWindow::Activate(), hoa_video::OptionBox::GetSelection(), hoa_menu::private_menu::SHOW_MAIN, hoa_menu::private_menu::STATUS_BACK, and hoa_menu::private_menu::STATUS_VIEW.

Referenced by Update().

Here is the call graph for this function:

void hoa_menu::MenuMode::_SetupEquipOptionBox (  )  [private]

Definition at line 300 of file menu.cpp.

References _menu_equip, _SetupOptionBoxCommonSettings(), hoa_menu::private_menu::EQUIP_EQUIP, hoa_menu::private_menu::EQUIP_SIZE, hoa_utils::MakeUnicodeString(), hoa_video::OptionBox::SetCellSize(), hoa_video::OptionBox::SetOptions(), hoa_video::OptionBox::SetSelection(), and hoa_video::OptionBox::SetSize().

Referenced by Reset().

Here is the call graph for this function:

void hoa_menu::MenuMode::_SetupInventoryOptionBox (  )  [private]

Definition at line 265 of file menu.cpp.

References _menu_inventory, _SetupOptionBoxCommonSettings(), hoa_menu::private_menu::INV_SIZE, hoa_menu::private_menu::INV_USE, hoa_utils::MakeUnicodeString(), hoa_video::OptionBox::SetOptions(), hoa_video::OptionBox::SetSelection(), and hoa_video::OptionBox::SetSize().

Referenced by Reset().

Here is the call graph for this function:

void hoa_menu::MenuMode::_SetupMainOptionBox (  )  [private]

Definition at line 241 of file menu.cpp.

References _main_options, _SetupOptionBoxCommonSettings(), hoa_video::OptionBox::EnableOption(), hoa_menu::private_menu::MAIN_INVENTORY, hoa_menu::private_menu::MAIN_SIZE, hoa_utils::MakeUnicodeString(), hoa_video::OptionBox::SetOptions(), hoa_video::OptionBox::SetSelection(), and hoa_video::OptionBox::SetSize().

Referenced by Reset().

Here is the call graph for this function:

void hoa_menu::MenuMode::_SetupOptionBoxCommonSettings ( hoa_video::OptionBox ob  )  [private]

Functions that initialize the numerous option boxes.

Definition at line 227 of file menu.cpp.

References hoa_video::private_video::GUIElement::SetAlignment(), hoa_video::OptionBox::SetCellSize(), hoa_video::OptionBox::SetCursorOffset(), hoa_video::OptionBox::SetFont(), hoa_video::OptionBox::SetHorizontalWrapMode(), hoa_video::OptionBox::SetOptionAlignment(), hoa_video::private_video::GUIElement::SetPosition(), hoa_video::OptionBox::SetSelectMode(), hoa_video::VIDEO_SELECT_SINGLE, hoa_video::VIDEO_WRAP_MODE_STRAIGHT, hoa_video::VIDEO_X_CENTER, hoa_video::VIDEO_X_LEFT, and hoa_video::VIDEO_Y_CENTER.

Referenced by _SetupEquipOptionBox(), _SetupInventoryOptionBox(), _SetupMainOptionBox(), _SetupOptionsOptionBox(), _SetupSaveOptionBox(), _SetupSkillsOptionBox(), and _SetupStatusOptionBox().

Here is the call graph for this function:

void hoa_menu::MenuMode::_SetupOptionsOptionBox (  )  [private]

Definition at line 339 of file menu.cpp.

References _menu_options, _SetupOptionBoxCommonSettings(), hoa_utils::MakeUnicodeString(), hoa_menu::private_menu::OPTIONS_EDIT, hoa_menu::private_menu::OPTIONS_SIZE, hoa_video::OptionBox::SetOptions(), hoa_video::OptionBox::SetSelection(), and hoa_video::OptionBox::SetSize().

Referenced by Reset().

Here is the call graph for this function:

void hoa_menu::MenuMode::_SetupSaveOptionBox (  )  [private]

Definition at line 357 of file menu.cpp.

References _menu_save, _SetupOptionBoxCommonSettings(), hoa_utils::MakeUnicodeString(), hoa_menu::private_menu::SAVE_SAVE, hoa_menu::private_menu::SAVE_SIZE, hoa_video::OptionBox::SetOptions(), hoa_video::OptionBox::SetSelection(), and hoa_video::OptionBox::SetSize().

Referenced by Reset().

Here is the call graph for this function:

void hoa_menu::MenuMode::_SetupSkillsOptionBox (  )  [private]

Definition at line 283 of file menu.cpp.

References _menu_skills, _SetupOptionBoxCommonSettings(), hoa_utils::MakeUnicodeString(), hoa_video::OptionBox::SetOptions(), hoa_video::OptionBox::SetSelection(), hoa_video::OptionBox::SetSize(), hoa_menu::private_menu::SKILLS_SIZE, and hoa_menu::private_menu::SKILLS_USE.

Referenced by Reset().

Here is the call graph for this function:

void hoa_menu::MenuMode::_SetupStatusOptionBox (  )  [private]

Definition at line 322 of file menu.cpp.

References _menu_status, _SetupOptionBoxCommonSettings(), hoa_utils::MakeUnicodeString(), hoa_video::OptionBox::SetOptions(), hoa_video::OptionBox::SetSelection(), hoa_video::OptionBox::SetSize(), hoa_menu::private_menu::STATUS_SIZE, and hoa_menu::private_menu::STATUS_VIEW.

Referenced by Reset().

Here is the call graph for this function:

void hoa_menu::MenuMode::Draw (  )  [virtual]

Draws the menu. Calls Draw() on active window if there is one.

Implements hoa_mode_manager::GameMode.

Definition at line 475 of file menu.cpp.

References _character_window0, _character_window1, _character_window2, _character_window3, _current_menu, _current_menu_showing, _DrawBottomMenu(), _equip_window, _formation_window, _HandleSaveMenu(), _inventory_window, _main_options_window, _saved_screen, _skills_window, _status_window, hoa_video::OptionBox::Draw(), hoa_menu::private_menu::CharacterWindow::Draw(), hoa_menu::private_menu::FormationWindow::Draw(), hoa_menu::private_menu::EquipWindow::Draw(), hoa_menu::private_menu::SkillsWindow::Draw(), hoa_menu::private_menu::StatusWindow::Draw(), hoa_menu::private_menu::InventoryWindow::Draw(), hoa_video::MenuWindow::Draw(), hoa_video::GameVideo::DrawImage(), hoa_video::GameVideo::GetHeight(), hoa_video::OptionBox::GetSelection(), hoa_video::GameVideo::GetWidth(), hoa_video::GameVideo::Move(), hoa_video::GameVideo::SetCoordSys(), hoa_video::GameVideo::SetDrawFlags(), hoa_video::GameVideo::SetTextColor(), hoa_menu::private_menu::SHOW_EQUIP, hoa_menu::private_menu::SHOW_EXIT, hoa_menu::private_menu::SHOW_FORMATION, hoa_menu::private_menu::SHOW_INVENTORY, hoa_menu::private_menu::SHOW_MAIN, hoa_menu::private_menu::SHOW_SAVE, hoa_menu::private_menu::SHOW_SKILLS, hoa_menu::private_menu::SHOW_STATUS, hoa_video::VIDEO_BLEND, hoa_video::VIDEO_X_LEFT, hoa_video::VIDEO_Y_BOTTOM, hoa_video::VIDEO_Y_TOP, and hoa_video::VideoManager.

Here is the call graph for this function:

void hoa_menu::MenuMode::Reset (  )  [virtual]

Resets the menu mode back to its default setup.

Implements hoa_mode_manager::GameMode.

Definition at line 192 of file menu.cpp.

References _bottom_window, _character_window0, _character_window1, _character_window2, _character_window3, _equip_window, _formation_window, _inventory_window, _main_options_window, _SetupEquipOptionBox(), _SetupInventoryOptionBox(), _SetupMainOptionBox(), _SetupOptionsOptionBox(), _SetupSaveOptionBox(), _SetupSkillsOptionBox(), _SetupStatusOptionBox(), _skills_window, _status_window, hoa_video::GameVideo::SetCoordSys(), hoa_video::GameVideo::SetFont(), hoa_video::MenuWindow::Show(), and hoa_video::VideoManager.

Here is the call graph for this function:

void hoa_menu::MenuMode::Update (  )  [virtual]

Updates the menu. Calls Update() on active window if there is one.

Implements hoa_mode_manager::GameMode.

Definition at line 376 of file menu.cpp.

References _current_menu, _current_menu_showing, _equip_window, _HandleEquipMenu(), _HandleInventoryMenu(), _HandleMainMenu(), _HandleSaveMenu(), _HandleSkillsMenu(), _HandleStatusMenu(), _inventory_window, _main_options, _menu_sounds, _skills_window, _status_window, hoa_input::GameInput::CancelPress(), hoa_input::GameInput::ConfirmPress(), hoa_video::OptionBox::GetEvent(), hoa_video::OptionBox::GetSelection(), hoa_video::OptionBox::HandleConfirmKey(), hoa_video::OptionBox::HandleLeftKey(), hoa_video::OptionBox::HandleRightKey(), hoa_input::InputManager, hoa_menu::private_menu::EquipWindow::IsActive(), hoa_menu::private_menu::SkillsWindow::IsActive(), hoa_menu::private_menu::StatusWindow::IsActive(), hoa_menu::private_menu::InventoryWindow::IsActive(), hoa_video::OptionBox::IsEnabled(), hoa_input::GameInput::LeftPress(), hoa_mode_manager::ModeManager, hoa_mode_manager::GameModeManager::Pop(), hoa_input::GameInput::RightPress(), hoa_menu::private_menu::SHOW_EQUIP, hoa_menu::private_menu::SHOW_INVENTORY, hoa_menu::private_menu::SHOW_MAIN, hoa_menu::private_menu::SHOW_SAVE, hoa_menu::private_menu::SHOW_SKILLS, hoa_menu::private_menu::SHOW_STATUS, hoa_video::OptionBox::Update(), hoa_menu::private_menu::EquipWindow::Update(), hoa_menu::private_menu::SkillsWindow::Update(), hoa_menu::private_menu::StatusWindow::Update(), hoa_menu::private_menu::InventoryWindow::Update(), and hoa_video::VIDEO_OPTION_CONFIRM.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class private_menu::CharacterWindow [friend]

Definition at line 151 of file menu.h.

friend class private_menu::EquipWindow [friend]

Definition at line 156 of file menu.h.

friend class private_menu::FormationWindow [friend]

Definition at line 157 of file menu.h.

friend class private_menu::InventoryWindow [friend]

Definition at line 153 of file menu.h.

friend class private_menu::SkillsWindow [friend]

Definition at line 155 of file menu.h.

friend class private_menu::StatusWindow [friend]

Definition at line 154 of file menu.h.


Member Data Documentation

hoa_video::MenuWindow hoa_menu::MenuMode::_bottom_window [private]

Definition at line 197 of file menu.h.

Referenced by _DrawBottomMenu(), Reset(), and ~MenuMode().

uint32 hoa_menu::MenuMode::_char_selected [private]

The selected character.

Definition at line 219 of file menu.h.

private_menu::CharacterWindow hoa_menu::MenuMode::_character_window0 [private]

Definition at line 200 of file menu.h.

Referenced by Draw(), Reset(), and ~MenuMode().

private_menu::CharacterWindow hoa_menu::MenuMode::_character_window1 [private]

Definition at line 201 of file menu.h.

Referenced by Draw(), Reset(), and ~MenuMode().

private_menu::CharacterWindow hoa_menu::MenuMode::_character_window2 [private]

Definition at line 202 of file menu.h.

Referenced by Draw(), Reset(), and ~MenuMode().

private_menu::CharacterWindow hoa_menu::MenuMode::_character_window3 [private]

Definition at line 203 of file menu.h.

Referenced by Draw(), Reset(), and ~MenuMode().

hoa_video::OptionBox* hoa_menu::MenuMode::_current_menu [private]

A pointer to the current options menu.

Definition at line 231 of file menu.h.

Referenced by _HandleEquipMenu(), _HandleInventoryMenu(), _HandleMainMenu(), _HandleOptionsMenu(), _HandleSaveMenu(), _HandleSkillsMenu(), _HandleStatusMenu(), Draw(), and Update().

uint32 hoa_menu::MenuMode::_current_menu_showing [private]

The current option box to display.

Definition at line 225 of file menu.h.

Referenced by _DrawBottomMenu(), _HandleEquipMenu(), _HandleInventoryMenu(), _HandleMainMenu(), _HandleOptionsMenu(), _HandleSaveMenu(), _HandleSkillsMenu(), _HandleStatusMenu(), Draw(), and Update().

uint32 hoa_menu::MenuMode::_current_window [private]

The current window being drawn.

Definition at line 228 of file menu.h.

private_menu::EquipWindow hoa_menu::MenuMode::_equip_window [private]

Definition at line 207 of file menu.h.

Referenced by _HandleEquipMenu(), Draw(), Reset(), Update(), and ~MenuMode().

private_menu::FormationWindow hoa_menu::MenuMode::_formation_window [private]

Definition at line 208 of file menu.h.

Referenced by Draw(), Reset(), and ~MenuMode().

MenuMode * hoa_menu::MenuMode::_instance [static, private]

A static pointer to the last instantiated MenuMode object, or NULL if no such object exists.

Definition at line 178 of file menu.h.

Referenced by hoa_menu::private_menu::EquipWindow::Update(), hoa_menu::private_menu::SkillsWindow::Update(), hoa_menu::private_menu::StatusWindow::Update(), hoa_menu::private_menu::InventoryWindow::Update(), and ~MenuMode().

private_menu::InventoryWindow hoa_menu::MenuMode::_inventory_window [private]

Definition at line 204 of file menu.h.

Referenced by _HandleInventoryMenu(), Draw(), Reset(), Update(), and ~MenuMode().

uint32 hoa_menu::MenuMode::_item_selected [private]

The selected item/skill/equipment.

Definition at line 222 of file menu.h.

hoa_video::StillImage hoa_menu::MenuMode::_locale_graphic [private]

The graphic that represents the current map that the player is exploring This image is set using the string in the MenuMode constructor.

Definition at line 186 of file menu.h.

Referenced by _DrawBottomMenu(), and ~MenuMode().

hoa_utils::ustring hoa_menu::MenuMode::_locale_name [private]

The name of the location in the game where MenuMode was invoked, which will be displayed on the menu screen.

Definition at line 181 of file menu.h.

Referenced by _DrawBottomMenu().

hoa_video::OptionBox hoa_menu::MenuMode::_main_options [private]

The top level options in boot mode.

Definition at line 234 of file menu.h.

Referenced by _HandleEquipMenu(), _HandleInventoryMenu(), _HandleMainMenu(), _HandleOptionsMenu(), _HandleSaveMenu(), _HandleSkillsMenu(), _HandleStatusMenu(), _SetupMainOptionBox(), and Update().

hoa_video::MenuWindow hoa_menu::MenuMode::_main_options_window [private]

Definition at line 198 of file menu.h.

Referenced by Draw(), Reset(), and ~MenuMode().

hoa_video::OptionBox hoa_menu::MenuMode::_menu_equip [private]

Definition at line 243 of file menu.h.

Referenced by _HandleEquipMenu(), _HandleMainMenu(), and _SetupEquipOptionBox().

hoa_video::OptionBox hoa_menu::MenuMode::_menu_inventory [private]

Definition at line 238 of file menu.h.

Referenced by _HandleInventoryMenu(), _HandleMainMenu(), and _SetupInventoryOptionBox().

hoa_video::OptionBox hoa_menu::MenuMode::_menu_options [private]

Definition at line 241 of file menu.h.

Referenced by _HandleOptionsMenu(), and _SetupOptionsOptionBox().

hoa_video::OptionBox hoa_menu::MenuMode::_menu_save [private]

Definition at line 242 of file menu.h.

Referenced by _HandleSaveMenu(), and _SetupSaveOptionBox().

hoa_video::OptionBox hoa_menu::MenuMode::_menu_skills [private]

Definition at line 239 of file menu.h.

Referenced by _HandleMainMenu(), _HandleSkillsMenu(), and _SetupSkillsOptionBox().

std::map<std::string, hoa_audio::SoundDescriptor> hoa_menu::MenuMode::_menu_sounds [private]

A map of the sounds used while in MenuMode.

Definition at line 216 of file menu.h.

Referenced by hoa_menu::private_menu::EquipWindow::Update(), hoa_menu::private_menu::SkillsWindow::Update(), hoa_menu::private_menu::StatusWindow::Update(), hoa_menu::private_menu::InventoryWindow::Update(), Update(), and ~MenuMode().

hoa_video::OptionBox hoa_menu::MenuMode::_menu_status [private]

Definition at line 240 of file menu.h.

Referenced by _HandleMainMenu(), _HandleStatusMenu(), and _SetupStatusOptionBox().

hoa_video::StillImage hoa_menu::MenuMode::_saved_screen [private]

Retains a snap-shot of the screen just prior to when menu mode was entered This image is perpetually drawn as the background while in menu mode.

Definition at line 191 of file menu.h.

Referenced by Draw(), and ~MenuMode().

private_menu::SkillsWindow hoa_menu::MenuMode::_skills_window [private]

Definition at line 206 of file menu.h.

Referenced by _HandleSkillsMenu(), Draw(), Reset(), Update(), and ~MenuMode().

private_menu::StatusWindow hoa_menu::MenuMode::_status_window [private]

Definition at line 205 of file menu.h.

Referenced by _HandleStatusMenu(), Draw(), Reset(), Update(), and ~MenuMode().


The documentation for this class was generated from the following files:
Generated on Fri Jul 6 23:15:11 2007 for Hero of Allacrost by  doxygen 1.5.1