aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/duckman/menusystem_duckman.h
diff options
context:
space:
mode:
authorEric Fry2018-06-07 22:03:43 +1000
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit83994972de35193e10ad01acac3369f1b00c992b (patch)
treed16624bed76b6d3c312bd23dcdb922a72f26e6fd /engines/illusions/duckman/menusystem_duckman.h
parent88ef19056915b30d5e4b5d5e0e59ec6c17053d59 (diff)
downloadscummvm-rg350-83994972de35193e10ad01acac3369f1b00c992b.tar.gz
scummvm-rg350-83994972de35193e10ad01acac3369f1b00c992b.tar.bz2
scummvm-rg350-83994972de35193e10ad01acac3369f1b00c992b.zip
ILLUSIONS: Add debug cheat code support
Work on inventory add/remove debug menu.
Diffstat (limited to 'engines/illusions/duckman/menusystem_duckman.h')
-rw-r--r--engines/illusions/duckman/menusystem_duckman.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/illusions/duckman/menusystem_duckman.h b/engines/illusions/duckman/menusystem_duckman.h
index 10a8a6eb0b..7bcf780c26 100644
--- a/engines/illusions/duckman/menusystem_duckman.h
+++ b/engines/illusions/duckman/menusystem_duckman.h
@@ -32,6 +32,8 @@ enum {
kDuckmanLoadGameMenu,
kDuckmanOptionsMenu,
kDuckmanPauseMenu,
+ kDuckmanDebugMenu,
+ kDuckmanAddRemoveInventoryMenu,
kDuckmanQueryQuitMenu,
kDuckmanQueryRestartMenu,
kDuckmanSaveCompleteMenu,
@@ -60,6 +62,8 @@ public://protected:
BaseMenu *createQueryRestartMenu();
BaseMenu *createQueryQuitMenu();
BaseMenu *createSaveCompleteMenu();
+ BaseMenu *createDebugMenu();
+ BaseMenu *createAddRemoveInventoryMenu();
int convertRootMenuId(uint32 menuId);
virtual bool initMenuCursor();
virtual int getGameState();
@@ -67,6 +71,15 @@ public://protected:
virtual void setMenuCursorNum(int cursorNum);
};
+class MenuActionInventoryAddRemove : public BaseMenuAction {
+public:
+ MenuActionInventoryAddRemove(BaseMenuSystem *menuSystem, IllusionsEngine_Duckman *vm, uint choiceIndex);
+ virtual void execute();
+protected:
+ IllusionsEngine_Duckman *_vm;
+ int _choiceIndex;
+};
+
} // End of namespace Illusions
#endif // ILLUSIONS_DUCKMAN_MENUSYSTEM_DUCKMAN_H