aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/eventman.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-02 12:57:31 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit63ff1666d693b0078e5b6fd603240e9453c11918 (patch)
tree921956be72a9fd9865f7aa113935c0eb89b3ee7f /engines/dm/eventman.cpp
parentce45a71ba0d294f5282c05859ac4097d26482b44 (diff)
downloadscummvm-rg350-63ff1666d693b0078e5b6fd603240e9453c11918.tar.gz
scummvm-rg350-63ff1666d693b0078e5b6fd603240e9453c11918.tar.bz2
scummvm-rg350-63ff1666d693b0078e5b6fd603240e9453c11918.zip
DM: More constant and global variable renaming
Diffstat (limited to 'engines/dm/eventman.cpp')
-rw-r--r--engines/dm/eventman.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp
index 69886e54c6..6d59727e2b 100644
--- a/engines/dm/eventman.cpp
+++ b/engines/dm/eventman.cpp
@@ -616,7 +616,7 @@ void EventManager::commandProcessCommands160To162ClickInResurrectReincarnatePane
Box box;
box._y1 = 0;
box._y2 = 28 + 1;
- box._x1 = championIndex * kChampionStatusBoxSpacing;
+ box._x1 = championIndex * k69_ChampionStatusBoxSpacing;
box._x2 = box._x1 + 66 + 1;
dispMan._g578_useByteBoxCoordinates = false;
dispMan.clearScreenBox(k0_ColorBlack, box);
@@ -679,15 +679,15 @@ void EventManager::commandProcess81ClickInPanel(int16 x, int16 y) {
InventoryMan &invMan = *_vm->_inventoryMan;
CommandType commandType;
- switch (invMan._panelContent) {
- case kPanelContentChest:
+ switch (invMan._g424_panelContent) {
+ case k4_PanelContentChest:
if (champMan._g411_leaderIndex == kM1_ChampionNone) // if no leader
return;
commandType = getCommandTypeFromMouseInput(g456_MouseInput_PanelChest, Common::Point(x, y), k1_LeftMouseButton);
if (commandType != k0_CommandNone)
warning("MISSING CODE: F0302_CHAMPION_ProcessCommands28To65_ClickOnSlotBox");
break;
- case kPanelContentResurrectReincarnate:
+ case k5_PanelContentResurrectReincarnate:
if (!champMan._g415_leaderEmptyHanded)
break;
commandType = getCommandTypeFromMouseInput(g457_MouseInput_PanelResurrectReincarnateCancel, Common::Point(x, y), k1_LeftMouseButton);