aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichieSams2013-09-15 14:42:55 -0500
committerRichieSams2013-09-15 15:00:55 -0500
commit259d11762dbf32ec1db6869510657331bb8c88e9 (patch)
treef34bc53b89ce304e4cf36e860e762bd01415cb78
parent36a0b666b3096da5a7ef169c598897be1cb06078 (diff)
downloadscummvm-rg350-259d11762dbf32ec1db6869510657331bb8c88e9.tar.gz
scummvm-rg350-259d11762dbf32ec1db6869510657331bb8c88e9.tar.bz2
scummvm-rg350-259d11762dbf32ec1db6869510657331bb8c88e9.zip
ZVISION: Add support for ActionRandom and ActionTimer
They were already implemented, they just weren't being used
-rw-r--r--engines/zvision/scr_file_handling.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/scr_file_handling.cpp b/engines/zvision/scr_file_handling.cpp
index 3d4718557f..fa89f756e4 100644
--- a/engines/zvision/scr_file_handling.cpp
+++ b/engines/zvision/scr_file_handling.cpp
@@ -208,7 +208,7 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis
} else if (line.matchString("*:quit*", true)) {
actionList.push_back(new ActionQuit());
} else if (line.matchString("*:random*", true)) {
- // TODO: Implement ActionRandom
+ actionList.push_back(new ActionRandom(line));
} else if (line.matchString("*:region*", true)) {
// TODO: Implement ActionRegion
} else if (line.matchString("*:restore_game*", true)) {
@@ -230,7 +230,7 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis
} else if (line.matchString("*:syncsound*", true)) {
// TODO: Implement ActionSyncSound
} else if (line.matchString("*:timer*", true)) {
- // TODO: Implement ActionTimer
+ actionList.push_back(new ActionTimer(line));
} else if (line.matchString("*:ttytext*", true)) {
// TODO: Implement ActionTTYText
} else if (line.matchString("*:universe_music*", true)) {