aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-06-15 14:59:05 +0200
committerStrangerke2013-06-15 14:59:05 +0200
commit869999f3c6193505a1c3ac0090c436213a63e850 (patch)
tree43ab139d9569a0c4583eb21dd19e8df676db230c
parent2ca36ab53aa9e8a6c0e3a51779087bb0e8d00cb1 (diff)
downloadscummvm-rg350-869999f3c6193505a1c3ac0090c436213a63e850.tar.gz
scummvm-rg350-869999f3c6193505a1c3ac0090c436213a63e850.tar.bz2
scummvm-rg350-869999f3c6193505a1c3ac0090c436213a63e850.zip
Hopkins: Add some comments
-rw-r--r--engines/hopkins/hopkins.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index 173c4d5f11..5fdcb82243 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -201,12 +201,15 @@ bool HopkinsEngine::runWin95Demo() {
switch (_globals->_exitId) {
case 1:
+ // Handles room: Apartment
_linesMan->setMaxLineIdx(40);
_globals->_characterMaxPosY = 435;
_objectsMan->sceneControl2("IM01", "IM01", "ANIM01", "IM01", 2, true);
break;
case 3:
+ // - Displays bank attack when leaving the apartment
+ // - Handles room: bottom of the apartment
if (!_globals->_saveData->_data[svBankAttackAnimPlayedFl]) {
_soundMan->playSound(3);
if (getPlatform() == Common::kPlatformOS2 || getPlatform() == Common::kPlatformBeOS)
@@ -244,12 +247,14 @@ bool HopkinsEngine::runWin95Demo() {
break;
case 4:
+ // Handle room: City map
_globals->_disableInventFl = true;
_objectsMan->handleCityMap();
_globals->_disableInventFl = false;
break;
case 5:
+ // Handle room: Outside the bank
_linesMan->setMaxLineIdx(5);
_globals->_characterMaxPosY = 455;