diff options
Diffstat (limited to 'engines/parallaction/parser.cpp')
-rw-r--r-- | engines/parallaction/parser.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/parallaction/parser.cpp b/engines/parallaction/parser.cpp index f9de6eb4af..c166c8fe3a 100644 --- a/engines/parallaction/parser.cpp +++ b/engines/parallaction/parser.cpp @@ -31,6 +31,8 @@ namespace Parallaction { char _tokens[20][MAX_TOKEN_LEN]; Script::Script(Common::ReadStream *input, bool disposeSource) : _input(input), _disposeSource(disposeSource), _line(0) { + +// clearAllTokens(); } Script::~Script() { @@ -73,6 +75,17 @@ void Script::clearTokens() { } +/* +void Script::clearAllTokens() { + + for (uint16 i = 0; i < 20; i++) + for (uint16 j = 0; j < 50; j++) + _tokens[i][j] = '\0'; + + return; +} +*/ + void Script::skip(const char* endToken) { while (scumm_stricmp(_tokens[0], endToken)) { |