ZVISION: Move trimCommentsAndWhiteSpace() into the script manager
This allows us to remove the last remnants of utility.*
This commit is contained in:
parent
7630e3204e
commit
77705752ef
19 changed files with 43 additions and 132 deletions
|
@ -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 @@ LeverControl::LeverControl(ZVision *engine, uint32 key, Common::SeekableReadStre
|
|||
|
||||
// Loop until we find the closing brace
|
||||
Common::String line = stream.readLine();
|
||||
trimCommentsAndWhiteSpace(&line);
|
||||
_engine->getScriptManager()->trimCommentsAndWhiteSpace(&line);
|
||||
|
||||
Common::String param;
|
||||
Common::String values;
|
||||
|
@ -73,7 +72,7 @@ LeverControl::LeverControl(ZVision *engine, uint32 key, Common::SeekableReadStre
|
|||
}
|
||||
|
||||
line = stream.readLine();
|
||||
trimCommentsAndWhiteSpace(&line);
|
||||
_engine->getScriptManager()->trimCommentsAndWhiteSpace(&line);
|
||||
getParams(line, param, values);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue