Public Member Functions | |
DuckmanMenuSystem (IllusionsEngine_Duckman *vm) | |
void | runMenu (MenuChoiceOffsets menuChoiceOffsets, int16 *menuChoiceOffset, uint32 menuId, uint32 duration, uint timeOutMenuChoiceIndex, uint32 menuCallerThreadId) |
void | clearMenus () |
void | freeMenus () |
BaseMenu * | getMenuById (int menuId) override |
BaseMenu * | createMenuById (int menuId) |
BaseMenu * | createMainMenu () |
BaseMenu * | createMainMenuDemo () |
BaseMenu * | createLoadGameMenu () |
BaseMenu * | createLoadGameFailedMenu () |
BaseMenu * | createOptionsMenu () |
BaseMenu * | createPauseMenu () |
BaseMenu * | createQueryRestartMenu () |
BaseMenu * | createQueryQuitMenu () |
BaseMenu * | createSaveCompleteMenu () |
BaseMenu * | createDebugMenu () |
BaseMenu * | createDebugPauseMenu () |
BaseMenu * | createAddRemoveInventoryMenu () |
int | convertRootMenuId (uint32 menuId) |
bool | initMenuCursor () override |
int | getGameState () override |
void | setGameState (int gameState) override |
void | setMenuCursorNum (int cursorNum) override |
void | playSoundEffect (int sfxId) override |
Public Member Functions inherited from Illusions::BaseMenuSystem | |
BaseMenuSystem (IllusionsEngine *vm) | |
void | playSoundEffect13 () |
void | playSoundEffect14 () |
void | selectMenuChoiceIndex (uint choiceIndex) |
void | leaveMenu () |
void | enterSubMenu (BaseMenu *menu) |
void | leaveSubMenu () |
void | enterSubMenuById (int menuId) |
uint | getQueryConfirmationChoiceIndex () const |
void | setQueryConfirmationChoiceIndex (uint queryConfirmationChoiceIndex) |
bool | isActive () const |
void | openMenu (BaseMenu *menu) |
void | closeMenu () |
void | handleClick (uint menuItemIndex, const Common::Point &mousePos) |
uint | drawMenuText (BaseMenu *menu) |
void | redrawMenuText (BaseMenu *menu) |
void | update (Control *cursorControl) |
void | setTimeOutDuration (uint32 duration, uint timeOutMenuChoiceIndex) |
void | setMenuCallerThreadId (uint32 menuCallerThreadId) |
void | setMenuChoiceOffsets (MenuChoiceOffsets menuChoiceOffsets, int16 *menuChoiceOffset) |
void | setSavegameSlotNum (int slotNum) |
void | setSavegameDescription (Common::String desc) |
bool | calcMenuItemTextPositionAtPoint (Common::Point pt, int &offset) |
Public Attributes | |
IllusionsEngine_Duckman * | _vm |
BaseMenu * | _menus [kDuckmanLastMenuIndex] |
Additional Inherited Members | |
Protected Member Functions inherited from Illusions::BaseMenuSystem | |
void | setMouseCursorToMenuItem (int menuItemIndex) |
void | calcMenuItemRect (uint menuItemIndex, WRect &rect) |
bool | calcMenuItemMousePos (uint menuItemIndex, Common::Point &pt) |
bool | calcMenuItemIndexAtPoint (Common::Point pt, uint &menuItemIndex) |
void | setMousePos (Common::Point &mousePos) |
void | activateMenu (BaseMenu *menu) |
void | updateTimeOut (bool resetTimeOut) |
void | initActorHoverBackground () |
void | placeActorHoverBackground () |
void | updateActorHoverBackground () |
void | hideActorHoverBackground () |
void | initActorTextColorRect () |
void | placeActorTextColorRect () |
void | hideActorTextColorRect () |
Protected Attributes inherited from Illusions::BaseMenuSystem | |
IllusionsEngine * | _vm |
MenuStack | _menuStack |
uint32 | _menuCallerThreadId |
bool | _isTimeOutEnabled |
bool | _isTimeOutReached |
uint32 | _timeOutDuration |
uint | _timeOutMenuChoiceIndex |
uint32 | _timeOutStartTime |
uint32 | _timeOutEndTime |
Common::Point | _savedCursorPos |
bool | _cursorInitialVisibleFlag |
int | _savedGameState |
int | _savedCursorActorIndex |
int | _savedCursorSequenceId |
bool | _isActive |
MenuChoiceOffsets | _menuChoiceOffsets |
int16 * | _menuChoiceOffset |
uint | _queryConfirmationChoiceIndex |
uint | _field54 |
uint | _menuLinesCount |
uint | _menuItemCount |
uint | _hoveredMenuItemIndex |
uint | _hoveredMenuItemIndex2 |
uint | _hoveredMenuItemIndex3 |
BaseMenu * | _activeMenu |