diff options
author | Strangerke | 2013-08-17 11:18:13 +0200 |
---|---|---|
committer | Strangerke | 2013-08-17 11:18:13 +0200 |
commit | ddb9f3862dae190b1e141c0d6ab88b34e49743ab (patch) | |
tree | 85c21d6b5dd00bccda59872a4474eea97f164048 /engines/mortevielle/menu.h | |
parent | 0d6f6119638ae40a6e849a740452c67919eeb559 (diff) | |
download | scummvm-rg350-ddb9f3862dae190b1e141c0d6ab88b34e49743ab.tar.gz scummvm-rg350-ddb9f3862dae190b1e141c0d6ab88b34e49743ab.tar.bz2 scummvm-rg350-ddb9f3862dae190b1e141c0d6ab88b34e49743ab.zip |
MORTEVIELLE: Fix verb highlighting in Action and Self menus. Refactor functions related to MenuItem
Diffstat (limited to 'engines/mortevielle/menu.h')
-rw-r--r-- | engines/mortevielle/menu.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/mortevielle/menu.h b/engines/mortevielle/menu.h index 9afa99cfa8..d1271bca2e 100644 --- a/engines/mortevielle/menu.h +++ b/engines/mortevielle/menu.h @@ -42,7 +42,7 @@ enum { const int OPCODE_NONE = 0; -struct menuItem { +struct MenuItem { int _menuId; int _actionId; }; @@ -71,9 +71,9 @@ public: Common::String _actionStringArray[22]; Common::String _selfStringArray[7]; Common::String _discussStringArray[9]; - menuItem _discussMenu[9]; - menuItem _inventoryMenu[9]; - menuItem _moveMenu[8]; + MenuItem _discussMenu[9]; + MenuItem _inventoryMenu[9]; + MenuItem _moveMenu[8]; int _opcodeAttach; int _opcodeWait; @@ -101,15 +101,15 @@ public: int _opcodeSRead; int _opcodeSPut; int _opcodeSLook; - menuItem _actionMenu[12]; + MenuItem _actionMenu[12]; void setParent(MortevielleEngine *vm); void readVerbNums(Common::File &f, int dataSize); - void setText(int menuId, int actionId, Common::String name); + void setText(MenuItem item, Common::String name); void setDestinationText(int roomId); void setInventoryText(); - void disableMenuItem(int menuId, int actionId); - void enableMenuItem(int menuId, int actionId); + void disableMenuItem(MenuItem item); + void enableMenuItem(MenuItem item); void displayMenu(); void drawMenu(); void menuUp(int msgId); |