aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/objects.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-22 00:52:02 -0400
committerPaul Gilbert2015-03-22 00:52:02 -0400
commitff02c29e9c2f96ed7e36878163b4b22dc8822255 (patch)
tree27be9dbd3462943eb16e3558d1a4b087dc701346 /engines/sherlock/objects.h
parent7f04ea4425bae0ebac7e51d71dc315b965bf94c9 (diff)
downloadscummvm-rg350-ff02c29e9c2f96ed7e36878163b4b22dc8822255.tar.gz
scummvm-rg350-ff02c29e9c2f96ed7e36878163b4b22dc8822255.tar.bz2
scummvm-rg350-ff02c29e9c2f96ed7e36878163b4b22dc8822255.zip
SHERLOCK: Implemented doBgAnim
Diffstat (limited to 'engines/sherlock/objects.h')
-rw-r--r--engines/sherlock/objects.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sherlock/objects.h b/engines/sherlock/objects.h
index d099718d5b..ee82faf99c 100644
--- a/engines/sherlock/objects.h
+++ b/engines/sherlock/objects.h
@@ -143,7 +143,7 @@ class Object {
private:
static SherlockEngine *_vm;
- bool checkEndOfSequence() const;
+ bool checkEndOfSequence();
void setObjSequence(int seq, bool wait);
public:
@@ -190,7 +190,7 @@ public:
int _seqStack; // Allows gosubs to return to calling frame
int _seqTo; // Allows 1-5, 8-3 type sequences encoded in 2 bytes
uint _descOffset; // Tells where description starts in DescText
- int _seqcounter2; // Counter of calling frame sequence
+ int _seqCounter2; // Counter of calling frame sequence
uint _seqSize; // Tells where description starts
ActionType _aMove;
UseType _use[4];
@@ -204,6 +204,8 @@ public:
int checkNameForCodes(const Common::String &name, Common::StringArray *messages);
void setFlagsAndToggles();
+
+ void adjustObject();
};
struct CAnim {