aboutsummaryrefslogtreecommitdiff
path: root/saga/actor.h
diff options
context:
space:
mode:
authorAndrew Kurushin2005-03-18 17:11:37 +0000
committerAndrew Kurushin2005-03-18 17:11:37 +0000
commit3025db0d07c9bfa9f8cda8ff49847287230f166d (patch)
treebc9d21940950460dce0f3bfaf35c311fd3c30430 /saga/actor.h
parentb4ed62e1ad7ed6f3d4d68b8e34a9263229d14dad (diff)
downloadscummvm-rg350-3025db0d07c9bfa9f8cda8ff49847287230f166d.tar.gz
scummvm-rg350-3025db0d07c9bfa9f8cda8ff49847287230f166d.tar.bz2
scummvm-rg350-3025db0d07c9bfa9f8cda8ff49847287230f166d.zip
- changescene on fair for tents
- some memory deallocation fixup todo: fix follower stuckiness in tents svn-id: r17180
Diffstat (limited to 'saga/actor.h')
-rw-r--r--saga/actor.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/saga/actor.h b/saga/actor.h
index 0d87b6a4cd..7696bdaf2a 100644
--- a/saga/actor.h
+++ b/saga/actor.h
@@ -186,6 +186,7 @@ struct Location {
class CommonObjectData {
public:
+ bool disabled; // disabled in init section
int index; // index in local array
uint16 id; // object id
uint16 flags; // initial flags
@@ -198,9 +199,6 @@ public:
int screenDepth; //
int screenScale; //
- SpriteList spriteList; // sprite list data
- int spriteListResourceId; // sprite list resource id
-
int frameNumber; // current frame number
CommonObjectData() {
@@ -208,6 +206,7 @@ public:
flags = 0;
frameNumber = 0;
}
+
};
typedef CommonObjectData *CommonObjectDataPointer;
@@ -221,7 +220,7 @@ public:
class ActorData: public CommonObjectData {
public:
- bool disabled; // Actor disabled in init section
+
byte speechColor; // Actor dialogue color
uint16 actorFlags; // dynamic flags
@@ -237,12 +236,13 @@ public:
uint8 cycleTimeCount;
uint8 cycleFlags;
+ SpriteList spriteList; // sprite list data
+ int spriteListResourceId; // sprite list resource id
+
ActorFrameSequence *frames; // Actor's frames
int framesCount; // Actor's frames count
int frameListResourceId; // Actor's frame list resource id
- //int walkPath[ACTOR_STEPS_MAX]; //todo: will gone
-
int tileDirectionsAlloced;
byte *tileDirections;