[Scummvm-cvs-logs] SF.net SVN: scummvm:[55108] scummvm/trunk/engines/hugo
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Mon Jan 3 20:44:30 CET 2011
Revision: 55108
http://scummvm.svn.sourceforge.net/scummvm/?rev=55108&view=rev
Author: thebluegr
Date: 2011-01-03 19:44:30 +0000 (Mon, 03 Jan 2011)
Log Message:
-----------
HUGO: Renamed the "cmd" parameter to "command", as "cmd" is a struct in game.h
Modified Paths:
--------------
scummvm/trunk/engines/hugo/menu.cpp
scummvm/trunk/engines/hugo/menu.h
Modified: scummvm/trunk/engines/hugo/menu.cpp
===================================================================
--- scummvm/trunk/engines/hugo/menu.cpp 2011-01-03 19:08:10 UTC (rev 55107)
+++ scummvm/trunk/engines/hugo/menu.cpp 2011-01-03 19:44:30 UTC (rev 55108)
@@ -166,8 +166,8 @@
}
}
-void TopMenu::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) {
- switch (cmd) {
+void TopMenu::handleCommand(GUI::CommandSender *sender, uint32 command, uint32 data) {
+ switch (command) {
case kCmdWhat:
close();
break;
@@ -196,7 +196,7 @@
close();
break;
default:
- Dialog::handleCommand(sender, cmd, data);
+ Dialog::handleCommand(sender, command, data);
}
}
Modified: scummvm/trunk/engines/hugo/menu.h
===================================================================
--- scummvm/trunk/engines/hugo/menu.h 2011-01-03 19:08:10 UTC (rev 55107)
+++ scummvm/trunk/engines/hugo/menu.h 2011-01-03 19:44:30 UTC (rev 55108)
@@ -47,7 +47,7 @@
TopMenu(HugoEngine *vm);
void reflowLayout();
- void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data);
+ void handleCommand(GUI::CommandSender *sender, uint32 command, uint32 data);
void handleMouseUp(int x, int y, int button, int clickCount);
void loadBmpArr(Common::File &in);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list