diff options
author | Filippos Karapetis | 2014-12-16 01:58:05 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-12-16 01:58:57 +0200 |
commit | 77705752efa00ab7f6c65ff8d99e4d9c3fdc4929 (patch) | |
tree | f2c320a1eb8028a0ec6586510421418eb8462380 /engines/zvision/scripting/controls/hotmov_control.cpp | |
parent | 7630e3204e3b932d9b43bda7dc4b658405fabf33 (diff) | |
download | scummvm-rg350-77705752efa00ab7f6c65ff8d99e4d9c3fdc4929.tar.gz scummvm-rg350-77705752efa00ab7f6c65ff8d99e4d9c3fdc4929.tar.bz2 scummvm-rg350-77705752efa00ab7f6c65ff8d99e4d9c3fdc4929.zip |
ZVISION: Move trimCommentsAndWhiteSpace() into the script manager
This allows us to remove the last remnants of utility.*
Diffstat (limited to 'engines/zvision/scripting/controls/hotmov_control.cpp')
-rw-r--r-- | engines/zvision/scripting/controls/hotmov_control.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/zvision/scripting/controls/hotmov_control.cpp b/engines/zvision/scripting/controls/hotmov_control.cpp index 4a6d2705b4..e77272ec73 100644 --- a/engines/zvision/scripting/controls/hotmov_control.cpp +++ b/engines/zvision/scripting/controls/hotmov_control.cpp @@ -28,7 +28,6 @@ #include "zvision/scripting/script_manager.h" #include "zvision/graphics/render_manager.h" #include "zvision/graphics/cursors/cursor_manager.h" -#include "zvision/core/utility.h" #include "common/stream.h" #include "common/file.h" @@ -53,7 +52,7 @@ HotMovControl::HotMovControl(ZVision *engine, uint32 key, Common::SeekableReadSt // Loop until we find the closing brace Common::String line = stream.readLine(); - trimCommentsAndWhiteSpace(&line); + _engine->getScriptManager()->trimCommentsAndWhiteSpace(&line); Common::String param; Common::String values; getParams(line, param, values); @@ -84,7 +83,7 @@ HotMovControl::HotMovControl(ZVision *engine, uint32 key, Common::SeekableReadSt } line = stream.readLine(); - trimCommentsAndWhiteSpace(&line); + _engine->getScriptManager()->trimCommentsAndWhiteSpace(&line); getParams(line, param, values); } } |