[Scummvm-cvs-logs] scummvm master -> 319323c668003b284d51b84ec95a64ba7c072450
bluegr
bluegr at gmail.com
Thu Dec 25 14:11:41 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
319323c668 ZVISION: Document some of the ActionRegion effects
Commit: 319323c668003b284d51b84ec95a64ba7c072450
https://github.com/scummvm/scummvm/commit/319323c668003b284d51b84ec95a64ba7c072450
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-12-25T15:09:46+02:00
Commit Message:
ZVISION: Document some of the ActionRegion effects
Changed paths:
engines/zvision/graphics/effects/fog.h
engines/zvision/scripting/actions.cpp
engines/zvision/scripting/scr_file_handling.cpp
diff --git a/engines/zvision/graphics/effects/fog.h b/engines/zvision/graphics/effects/fog.h
index 45d6f95..fe88707 100644
--- a/engines/zvision/graphics/effects/fog.h
+++ b/engines/zvision/graphics/effects/fog.h
@@ -29,6 +29,7 @@ namespace ZVision {
class ZVision;
+// Used by Zork: Nemesis for the mixing chamber gas effect in the gas puzzle (location tt5e, when the blinds are down)
class FogFx : public Effect {
public:
diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp
index 1b6e1e2..89b311e 100644
--- a/engines/zvision/scripting/actions.cpp
+++ b/engines/zvision/scripting/actions.cpp
@@ -704,7 +704,7 @@ bool ActionQuit::execute() {
}
//////////////////////////////////////////////////////////////////////////////
-// ActionRegion
+// ActionRegion - only used by Zork: Nemesis
//////////////////////////////////////////////////////////////////////////////
ActionRegion::ActionRegion(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 47b8b0a..cca492d 100644
--- a/engines/zvision/scripting/scr_file_handling.cpp
+++ b/engines/zvision/scripting/scr_file_handling.cpp
@@ -264,6 +264,7 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis
} else if (act.matchString("random", true)) {
actionList.push_back(new ActionRandom(_engine, slot, args));
} else if (act.matchString("region", true)) {
+ // Only used by Zork: Nemesis
actionList.push_back(new ActionRegion(_engine, slot, args));
} else if (act.matchString("restore_game", true)) {
actionList.push_back(new ActionRestoreGame(_engine, slot, args));
More information about the Scummvm-git-logs
mailing list