aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-14 13:17:38 +0100
committerEugene Sandulenko2017-01-14 13:17:38 +0100
commit0ecaa79f08d7cf4caed3f274a728906de5e2115a (patch)
tree33b8d4055468fc05c5aed033a623f1ae93742451 /engines/wage
parent8690fe444e6959bc2aa17ba7517303dbceda86c8 (diff)
downloadscummvm-rg350-0ecaa79f08d7cf4caed3f274a728906de5e2115a.tar.gz
scummvm-rg350-0ecaa79f08d7cf4caed3f274a728906de5e2115a.tar.bz2
scummvm-rg350-0ecaa79f08d7cf4caed3f274a728906de5e2115a.zip
GRAPHICS: Renamed Menu to MacMenu to avoid potential name collision
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/gui.cpp2
-rw-r--r--engines/wage/gui.h2
-rw-r--r--engines/wage/world.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index e43406085d..130747c389 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -61,7 +61,7 @@
namespace Wage {
-static const Graphics::MenuData menuSubItems[] = {
+static const Graphics::MacMenuData menuSubItems[] = {
{ kMenuHighLevel, "File", 0, 0, false },
{ kMenuHighLevel, "Edit", 0, 0, false },
{ kMenuFile, "New", kMenuActionNew, 0, false },
diff --git a/engines/wage/gui.h b/engines/wage/gui.h
index cf76c64fe9..10eb782f01 100644
--- a/engines/wage/gui.h
+++ b/engines/wage/gui.h
@@ -179,7 +179,7 @@ public:
private:
Graphics::ManagedSurface _console;
- Graphics::Menu *_menu;
+ Graphics::MacMenu *_menu;
bool _sceneDirty;
bool _consoleDirty;
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp
index 9118c8b5bc..465240a23c 100644
--- a/engines/wage/world.cpp
+++ b/engines/wage/world.cpp
@@ -296,7 +296,7 @@ bool World::loadWorld(Common::MacResManager *resMan) {
res = resMan->getResource(MKTAG('M','E','N','U'), 2001);
if (res != NULL) {
- Common::StringArray *menu = Graphics::Menu::readMenuFromResource(res);
+ Common::StringArray *menu = Graphics::MacMenu::readMenuFromResource(res);
_aboutMenuItemName.clear();
Common::String string = menu->operator[](1);
@@ -308,7 +308,7 @@ bool World::loadWorld(Common::MacResManager *resMan) {
}
res = resMan->getResource(MKTAG('M','E','N','U'), 2004);
if (res != NULL) {
- Common::StringArray *menu = Graphics::Menu::readMenuFromResource(res);
+ Common::StringArray *menu = Graphics::MacMenu::readMenuFromResource(res);
_commandsMenuName = menu->operator[](0);
_commandsMenu = menu->operator[](1);
delete menu;
@@ -316,7 +316,7 @@ bool World::loadWorld(Common::MacResManager *resMan) {
}
res = resMan->getResource(MKTAG('M','E','N','U'), 2005);
if (res != NULL) {
- Common::StringArray *menu = Graphics::Menu::readMenuFromResource(res);
+ Common::StringArray *menu = Graphics::MacMenu::readMenuFromResource(res);
_weaponsMenuName = menu->operator[](0);
delete menu;
delete res;