aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld
diff options
context:
space:
mode:
authorPaul Gilbert2011-08-20 19:14:23 +1000
committerPaul Gilbert2011-08-20 19:14:23 +1000
commita21133ed12228e9a818b696bbc148f5b53946a30 (patch)
tree060022b5a1728db495375da269c5b1bc60fecdcc /engines/tsage/ringworld
parent0d887aa2459db04daddfd2a150f1d1ae4499091b (diff)
downloadscummvm-rg350-a21133ed12228e9a818b696bbc148f5b53946a30.tar.gz
scummvm-rg350-a21133ed12228e9a818b696bbc148f5b53946a30.tar.bz2
scummvm-rg350-a21133ed12228e9a818b696bbc148f5b53946a30.zip
TSAGE: Implemented Blue Force Scene #50 - Map Scene
Diffstat (limited to 'engines/tsage/ringworld')
-rw-r--r--engines/tsage/ringworld/ringworld_logic.cpp14
-rw-r--r--engines/tsage/ringworld/ringworld_scenes1.cpp2
2 files changed, 8 insertions, 8 deletions
diff --git a/engines/tsage/ringworld/ringworld_logic.cpp b/engines/tsage/ringworld/ringworld_logic.cpp
index d6e72fe95c..2a34e49b39 100644
--- a/engines/tsage/ringworld/ringworld_logic.cpp
+++ b/engines/tsage/ringworld/ringworld_logic.cpp
@@ -1287,7 +1287,7 @@ void RingworldGame::saveGame() {
MessageDialog::show(SAVING_NOT_ALLOWED_MSG, OK_BTN_STRING);
else {
// Show the save dialog
- handleSaveLoad(true, _globals->_sceneHandler._saveGameSlot, _globals->_sceneHandler._saveName);
+ handleSaveLoad(true, _globals->_sceneHandler->_saveGameSlot, _globals->_sceneHandler->_saveName);
}
}
@@ -1296,7 +1296,7 @@ void RingworldGame::restoreGame() {
MessageDialog::show(RESTORING_NOT_ALLOWED_MSG, OK_BTN_STRING);
else {
// Show the load dialog
- handleSaveLoad(false, _globals->_sceneHandler._loadGameSlot, _globals->_sceneHandler._saveName);
+ handleSaveLoad(false, _globals->_sceneHandler->_loadGameSlot, _globals->_sceneHandler->_saveName);
}
}
@@ -1348,7 +1348,7 @@ void RingworldGame::start() {
}
if (slot >= 0)
- _globals->_sceneHandler._loadGameSlot = slot;
+ _globals->_sceneHandler->_loadGameSlot = slot;
else
// Switch to the title screen
_globals->_sceneManager.setNewScene(1000);
@@ -1365,8 +1365,8 @@ void RingworldGame::restart() {
_globals->setFlag(34);
// Clear save/load slots
- _globals->_sceneHandler._saveGameSlot = -1;
- _globals->_sceneHandler._loadGameSlot = -1;
+ _globals->_sceneHandler->_saveGameSlot = -1;
+ _globals->_sceneHandler->_loadGameSlot = -1;
_globals->_stripNum = 0;
_globals->_events.setCursor(CURSOR_WALK);
@@ -1431,8 +1431,8 @@ void RingworldGame::endGame(int resNum, int lineNum) {
restart();
breakFlag = true;
} else {
- handleSaveLoad(false, _globals->_sceneHandler._loadGameSlot, _globals->_sceneHandler._saveName);
- breakFlag = _globals->_sceneHandler._loadGameSlot >= 0;
+ handleSaveLoad(false, _globals->_sceneHandler->_loadGameSlot, _globals->_sceneHandler->_saveName);
+ breakFlag = _globals->_sceneHandler->_loadGameSlot >= 0;
}
} while (!breakFlag);
}
diff --git a/engines/tsage/ringworld/ringworld_scenes1.cpp b/engines/tsage/ringworld/ringworld_scenes1.cpp
index 332aef6d8d..20af25561c 100644
--- a/engines/tsage/ringworld/ringworld_scenes1.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes1.cpp
@@ -3168,7 +3168,7 @@ Scene6100::Scene6100(): Scene() {
_angle = 0;
_msgActive = false;
- _globals->_sceneHandler._delayTicks = 8;
+ _globals->_sceneHandler->_delayTicks = 8;
_globals->_player.disableControl();
_globals->_events.setCursor(CURSOR_WALK);