diff options
| author | Max Horn | 2010-11-18 16:38:03 +0000 |
|---|---|---|
| committer | Max Horn | 2010-11-18 16:38:03 +0000 |
| commit | a008d1405582e1a25e5dea57b19d03899f44542d (patch) | |
| tree | bbe73d970029d3acd94a5f47f266b00e4490c520 /engines/draci | |
| parent | 4707b610fca45c0762e25994594fc58557945a02 (diff) | |
| download | scummvm-rg350-a008d1405582e1a25e5dea57b19d03899f44542d.tar.gz scummvm-rg350-a008d1405582e1a25e5dea57b19d03899f44542d.tar.bz2 scummvm-rg350-a008d1405582e1a25e5dea57b19d03899f44542d.zip | |
ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; avoid using 'using'
svn-id: r54323
Diffstat (limited to 'engines/draci')
| -rw-r--r-- | engines/draci/script.cpp | 2 | ||||
| -rw-r--r-- | engines/draci/script.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp index f657dfe33c..583afa736f 100644 --- a/engines/draci/script.cpp +++ b/engines/draci/script.cpp @@ -900,7 +900,7 @@ void Script::popNewRoom(const Common::Array<int> ¶ms) { * @brief Evaluates mathematical expressions * @param reader Stream reader set to the beginning of the expression */ -int Script::handleMathExpression(Common::MemoryReadStream *reader) const { +int Script::handleMathExpression(Common::ReadStream *reader) const { Common::Stack<int> stk; mathExpressionObject obj; GPL2Operator oper; diff --git a/engines/draci/script.h b/engines/draci/script.h index 1551d3573c..e81691204e 100644 --- a/engines/draci/script.h +++ b/engines/draci/script.h @@ -30,7 +30,7 @@ #include "common/stream.h" namespace Common { - class MemoryReadStream; + class ReadStream; } namespace Draci { @@ -193,7 +193,7 @@ private: void setupCommandList(); const GPL2Command *findCommand(byte num, byte subnum) const; - int handleMathExpression(Common::MemoryReadStream *reader) const; + int handleMathExpression(Common::ReadStream *reader) const; DraciEngine *_vm; }; |
