diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/script.cpp | 11 | ||||
-rw-r--r-- | engines/gob/script.h | 4 |
2 files changed, 0 insertions, 15 deletions
diff --git a/engines/gob/script.cpp b/engines/gob/script.cpp index f4dca835b2..7ed27771f3 100644 --- a/engines/gob/script.cpp +++ b/engines/gob/script.cpp @@ -366,19 +366,10 @@ bool Script::isFinished() const { return _finished; } -void Script::cuckoo(byte *totData, uint32 totSize) { - _finished = false; - _totData = totData; - _totPtr = _totData; - _totSize = totSize; -} - void Script::push() { CallEntry currentCall; - currentCall.totData = _totData; currentCall.totPtr = _totPtr; - currentCall.totSize = _totSize; currentCall.finished = _finished; _callStack.push(currentCall); @@ -390,9 +381,7 @@ void Script::pop(bool ret) { CallEntry lastCall = _callStack.pop(); if (ret) { - _totData = lastCall.totData; _totPtr = lastCall.totPtr; - _totSize = lastCall.totSize; _finished = lastCall.finished; } } diff --git a/engines/gob/script.h b/engines/gob/script.h index 5c689bd991..d9826a6e83 100644 --- a/engines/gob/script.h +++ b/engines/gob/script.h @@ -88,8 +88,6 @@ public: void setFinished(bool finished); bool isFinished() const; - void cuckoo(byte *totData, uint32 totSize); - void push(); void pop(bool ret = true); void call(uint32 offset); @@ -106,9 +104,7 @@ public: private: struct CallEntry { - byte *totData; byte *totPtr; - uint32 totSize; bool finished; }; |