diff options
author | Filippos Karapetis | 2014-12-25 15:14:59 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-12-25 15:14:59 +0200 |
commit | 5535cb02fc8dfaf2c77911c223c912f5b07bdb63 (patch) | |
tree | 05ac3960337dc5df271b4227dfe81f8f667127e7 /engines/zvision/scripting | |
parent | 319323c668003b284d51b84ec95a64ba7c072450 (diff) | |
download | scummvm-rg350-5535cb02fc8dfaf2c77911c223c912f5b07bdb63.tar.gz scummvm-rg350-5535cb02fc8dfaf2c77911c223c912f5b07bdb63.tar.bz2 scummvm-rg350-5535cb02fc8dfaf2c77911c223c912f5b07bdb63.zip |
ZVISION: Resolve some TODOs
Diffstat (limited to 'engines/zvision/scripting')
-rw-r--r-- | engines/zvision/scripting/actions.h | 2 | ||||
-rw-r--r-- | engines/zvision/scripting/scr_file_handling.cpp | 1 | ||||
-rw-r--r-- | engines/zvision/scripting/script_manager.h | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/scripting/actions.h b/engines/zvision/scripting/actions.h index 292e25e19c..3501372c7f 100644 --- a/engines/zvision/scripting/actions.h +++ b/engines/zvision/scripting/actions.h @@ -338,7 +338,7 @@ private: uint16 _unk2; }; -// TODO: See if this exists in ZGI. It doesn't in ZNem +// Only used by ZGI (locations cd6e, cd6k, dg2f, dg4e, dv1j) class ActionUnloadAnimation : public ResultAction { public: ActionUnloadAnimation(ZVision *engine, int32 slotkey, const Common::String &line); diff --git a/engines/zvision/scripting/scr_file_handling.cpp b/engines/zvision/scripting/scr_file_handling.cpp index cca492d649..83be3b5ad4 100644 --- a/engines/zvision/scripting/scr_file_handling.cpp +++ b/engines/zvision/scripting/scr_file_handling.cpp @@ -216,6 +216,7 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis } else if (act.matchString("animpreload", true)) { actionList.push_back(new ActionPreloadAnimation(_engine, slot, args)); } else if (act.matchString("animunload", true)) { + // Only used by ZGI (locations cd6e, cd6k, dg2f, dg4e, dv1j) actionList.push_back(new ActionUnloadAnimation(_engine, slot, args)); } else if (act.matchString("attenuate", true)) { actionList.push_back(new ActionAttenuate(_engine, slot, args)); diff --git a/engines/zvision/scripting/script_manager.h b/engines/zvision/scripting/script_manager.h index 1e308faf0d..c5ade08e14 100644 --- a/engines/zvision/scripting/script_manager.h +++ b/engines/zvision/scripting/script_manager.h @@ -282,7 +282,7 @@ public: void inventoryDrop(int16 item); void inventoryCycle(); - // TODO: Make this private. It was only made public so Console::cmdParseAllScrFiles() could use it +private: /** * Parses a script file into triggers and events * @@ -291,7 +291,6 @@ public: */ void parseScrFile(const Common::String &fileName, ScriptScope &scope); -private: /** * Parses the stream into a Puzzle object * Helper method for parseScrFile. |