diff options
author | D G Turner | 2011-06-01 02:16:39 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-27 15:39:52 +0100 |
commit | 624c4018736f93b499597f78b6dabed7e08d1016 (patch) | |
tree | dcbe67a554f3ff464a46b726ea4143a9856f2366 /engines/wage/script.h | |
parent | 57b464b2e9c8d5e8aff0d5c35e1f8fcb1ef2ae90 (diff) | |
download | scummvm-rg350-624c4018736f93b499597f78b6dabed7e08d1016.tar.gz scummvm-rg350-624c4018736f93b499597f78b6dabed7e08d1016.tar.bz2 scummvm-rg350-624c4018736f93b499597f78b6dabed7e08d1016.zip |
WAGE: Change Script Object to use Common::SeekableReadStream.
This replaces the use of (byte* data, int dataSize) type buffer.
Also, some replacements of code in world object to incorporate.
Still not compilable.
Signed-off-by: Eugene Sandulenko <sev@scummvm.org>
Diffstat (limited to 'engines/wage/script.h')
-rw-r--r-- | engines/wage/script.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/wage/script.h b/engines/wage/script.h index a5288d66da..7f7ea0df07 100644 --- a/engines/wage/script.h +++ b/engines/wage/script.h @@ -55,19 +55,17 @@ namespace Wage { class Script { public: - Script(byte *data, int dataSize) : _data(data), _dataSize(dataSize) {} + Script(Common::SeekableReadStream *data) : _data(data) {} ~Script(); private: - byte *_data; - int _dataSize; + Common::SeekableReadStream *_data; WageEngine *_callbacks; World *_world; int _loopCount; String *_inputText; Designed *_inputClick; - int _index; bool _evalResult; bool _handled; |