diff options
author | Strangerke | 2016-03-14 07:40:03 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-10 09:54:21 +0200 |
commit | 83bc85713bacd3a50daaace0411a3382c855797a (patch) | |
tree | b825953bb68b22f6fef096da65c2165dc6d3fb69 /engines/gnap/scenes/scene19.cpp | |
parent | da2cb981d2d5a71fc9db04404569bfcc92fbfcf3 (diff) | |
download | scummvm-rg350-83bc85713bacd3a50daaace0411a3382c855797a.tar.gz scummvm-rg350-83bc85713bacd3a50daaace0411a3382c855797a.tar.bz2 scummvm-rg350-83bc85713bacd3a50daaace0411a3382c855797a.zip |
GNAP: More renaming. Remove unused variable in MouseButtonState and Hotspot
Diffstat (limited to 'engines/gnap/scenes/scene19.cpp')
-rw-r--r-- | engines/gnap/scenes/scene19.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/engines/gnap/scenes/scene19.cpp b/engines/gnap/scenes/scene19.cpp index ebfdd728a1..60208bc381 100644 --- a/engines/gnap/scenes/scene19.cpp +++ b/engines/gnap/scenes/scene19.cpp @@ -81,17 +81,17 @@ void GnapEngine::scene19_updateHotspots() { setHotspot(kHSWalkArea3, 0, 0, 800, 437); setDeviceHotspot(kHSDevice, -1, -1, -1, -1); if (isFlag(26)) { - _hotspots[kHSToy1].flags = SF_DISABLED; - _hotspots[kHSToy2].flags = SF_DISABLED; - _hotspots[kHSToy3].flags = SF_DISABLED; - _hotspots[kHSToy4].flags = SF_DISABLED; - _hotspots[kHSToy5].flags = SF_DISABLED; - _hotspots[kHSToy6].flags = SF_DISABLED; - _hotspots[kHSToy7].flags = SF_DISABLED; - _hotspots[kHSShopAssistant].flags = SF_DISABLED; - _hotspots[kHSPhone].flags = SF_DISABLED; - _hotspots[kHSPlatypus].flags = SF_DISABLED; - _hotspots[kHSPicture].flags = SF_PLAT_CURSOR | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR; + _hotspots[kHSToy1]._flags = SF_DISABLED; + _hotspots[kHSToy2]._flags = SF_DISABLED; + _hotspots[kHSToy3]._flags = SF_DISABLED; + _hotspots[kHSToy4]._flags = SF_DISABLED; + _hotspots[kHSToy5]._flags = SF_DISABLED; + _hotspots[kHSToy6]._flags = SF_DISABLED; + _hotspots[kHSToy7]._flags = SF_DISABLED; + _hotspots[kHSShopAssistant]._flags = SF_DISABLED; + _hotspots[kHSPhone]._flags = SF_DISABLED; + _hotspots[kHSPlatypus]._flags = SF_DISABLED; + _hotspots[kHSPicture]._flags = SF_PLAT_CURSOR | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR; } _hotspotsCount = 16; } @@ -182,14 +182,14 @@ void GnapEngine::scene19_run() { if (_gnapActionStatus < 0) { _isLeavingScene = true; _newSceneNum = 18; - _hotspots[kHSWalkArea1].flags |= SF_WALKABLE; + _hotspots[kHSWalkArea1]._flags |= SF_WALKABLE; gnapWalkTo(_hotspotsWalkPos[1].x, _hotspotsWalkPos[1].y, 0, 0x107B2, 1); _gnapActionStatus = kASLeaveScene; if (isFlag(26)) setFlag(27); else platypusWalkTo(_hotspotsWalkPos[1].x + 1, _hotspotsWalkPos[1].y, -1, 0x107C5, 1); - _hotspots[kHSWalkArea1].flags &= ~SF_WALKABLE; + _hotspots[kHSWalkArea1]._flags &= ~SF_WALKABLE; } break; @@ -300,9 +300,9 @@ void GnapEngine::scene19_run() { break; default: - if (_mouseClickState.left) { + if (_mouseClickState._left) { gnapWalkTo(-1, -1, -1, -1, 1); - _mouseClickState.left = 0; + _mouseClickState._left = 0; } } |