diff options
author | Marisa-Chan | 2014-09-10 16:20:50 +0700 |
---|---|---|
committer | Marisa-Chan | 2014-09-10 16:20:50 +0700 |
commit | 2a6c2fdf4532e6f5ba3a2a6f8a0e78db4dcdc635 (patch) | |
tree | 5a6e2f93434e84e68dc4d5f2750e2d801a2c9798 /engines/zvision/scripting/scr_file_handling.cpp | |
parent | 39c3a26bfa50aae3b189773a75fe77cbebd17064 (diff) | |
download | scummvm-rg350-2a6c2fdf4532e6f5ba3a2a6f8a0e78db4dcdc635.tar.gz scummvm-rg350-2a6c2fdf4532e6f5ba3a2a6f8a0e78db4dcdc635.tar.bz2 scummvm-rg350-2a6c2fdf4532e6f5ba3a2a6f8a0e78db4dcdc635.zip |
ZVISION: Titler control and DisplayMessage action implemented
Diffstat (limited to 'engines/zvision/scripting/scr_file_handling.cpp')
-rw-r--r-- | engines/zvision/scripting/scr_file_handling.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/zvision/scripting/scr_file_handling.cpp b/engines/zvision/scripting/scr_file_handling.cpp index 0e53eec182..04378f856f 100644 --- a/engines/zvision/scripting/scr_file_handling.cpp +++ b/engines/zvision/scripting/scr_file_handling.cpp @@ -37,6 +37,7 @@ #include "zvision/scripting/controls/hotmov_control.h" #include "zvision/scripting/controls/fist_control.h" #include "zvision/scripting/controls/paint_control.h" +#include "zvision/scripting/controls/titler_control.h" #include "common/textconsole.h" #include "common/file.h" @@ -237,7 +238,7 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis } else if (act.matchString("disable_venus", true)) { // TODO: Implement ActionDisableVenus } else if (act.matchString("display_message", true)) { - // TODO: Implement ActionDisplayMessage + actionList.push_back(new ActionDisplayMessage(_engine, slot, args)); } else if (act.matchString("dissolve", true)) { // TODO: Implement ActionDissolve } else if (act.matchString("distort", true)) { @@ -364,6 +365,8 @@ Control *ScriptManager::parseControl(Common::String &line, Common::SeekableReadS return new FistControl(_engine, key, stream); } else if (controlType.equalsIgnoreCase("paint")) { return new PaintControl(_engine, key, stream); + } else if (controlType.equalsIgnoreCase("titler")) { + return new TitlerControl(_engine, key, stream); } return NULL; } |