Skip to content
Permalink
Browse files

ZVISION: Resolve some TODOs

  • Loading branch information
bluegr committed Dec 25, 2014
1 parent 319323c commit 5535cb02fc8dfaf2c77911c223c912f5b07bdb63
@@ -338,7 +338,7 @@ class ActionRegion : public ResultAction {
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);
@@ -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));
@@ -282,7 +282,7 @@ class ScriptManager {
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 @@ class ScriptManager {
*/
void parseScrFile(const Common::String &fileName, ScriptScope &scope);

private:
/**
* Parses the stream into a Puzzle object
* Helper method for parseScrFile.

0 comments on commit 5535cb0

Please sign in to comment.
You can’t perform that action at this time.