diff options
author | johndoe123 | 2015-12-05 00:27:30 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 823ba2f462ff75370d1091b5c59dc950b815eed9 (patch) | |
tree | c0390e91b5034869de304423b906d8633e5f5945 /engines/illusions/menusystem.h | |
parent | 2de38e3469e85e56b6401a9c3cd97ead2249f67e (diff) | |
download | scummvm-rg350-823ba2f462ff75370d1091b5c59dc950b815eed9.tar.gz scummvm-rg350-823ba2f462ff75370d1091b5c59dc950b815eed9.tar.bz2 scummvm-rg350-823ba2f462ff75370d1091b5c59dc950b815eed9.zip |
ILLUSIONS: DUCKMAN: Implement load game from the game's menu system
- Fix pause/unpause opcodes
- Reduce debug output
Diffstat (limited to 'engines/illusions/menusystem.h')
-rw-r--r-- | engines/illusions/menusystem.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/illusions/menusystem.h b/engines/illusions/menusystem.h index 98ef924300..26a5931d18 100644 --- a/engines/illusions/menusystem.h +++ b/engines/illusions/menusystem.h @@ -102,6 +102,7 @@ public: void setTimeOutDuration(uint32 duration, uint timeOutMenuChoiceIndex); void setMenuCallerThreadId(uint32 menuCallerThreadId); void setMenuChoiceOffsets(MenuChoiceOffsets menuChoiceOffsets, int16 *menuChoiceOffset); + void setSavegameSlotNum(int slotNum); virtual bool initMenuCursor() = 0; virtual int getGameState() = 0; virtual void setGameState(int gameState) = 0; @@ -230,6 +231,14 @@ protected: uint _confirmationChoiceIndex; }; +class MenuActionLoadGame : public BaseMenuAction { +public: + MenuActionLoadGame(BaseMenuSystem *menuSystem, uint choiceIndex); + virtual void execute(); +protected: + uint _choiceIndex; +}; + } // End of namespace Illusions #endif // ILLUSIONS_MENUSYSTEM_H |