aboutsummaryrefslogtreecommitdiff
path: root/saga/actor.h
diff options
context:
space:
mode:
authorAndrew Kurushin2005-04-18 20:03:14 +0000
committerAndrew Kurushin2005-04-18 20:03:14 +0000
commitd52032c75c4c3964219874d68ec9a84dc8e6f3fa (patch)
treec66544dde7b5bf7bbbaf991b369c048411a2492e /saga/actor.h
parent3ea96a13a053e803435e93b20cf07d01d0c3d821 (diff)
downloadscummvm-rg350-d52032c75c4c3964219874d68ec9a84dc8e6f3fa.tar.gz
scummvm-rg350-d52032c75c4c3964219874d68ec9a84dc8e6f3fa.tar.bz2
scummvm-rg350-d52032c75c4c3964219874d68ec9a84dc8e6f3fa.zip
converse support improved (still has some bugs)
fixed: now protagonist can't be target object fixed: statusbar color added: *mouseButtonPressed in SagaEngine svn-id: r17672
Diffstat (limited to 'saga/actor.h')
-rw-r--r--saga/actor.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/saga/actor.h b/saga/actor.h
index f9051cfad8..d75f5a7271 100644
--- a/saga/actor.h
+++ b/saga/actor.h
@@ -194,6 +194,8 @@ public:
int sceneNumber; // scene
int scriptEntrypointNumber; // script entrypoint number
+ int32 spriteListResourceId; // sprite list resource id
+
Location location; // logical coordinates
Point screenPosition; // screen coordinates
int screenDepth; //
@@ -205,6 +207,7 @@ public:
screenDepth = screenScale = 0;
flags = 0;
frameNumber = 0;
+ spriteListResourceId = 0;
}
};
@@ -216,7 +219,6 @@ typedef SortedList<CommonObjectDataPointer> CommonObjectOrderList;
class ObjectData: public CommonObjectData {
public:
uint16 interactBits;
- int32 spritelistRn;
};
class ActorData: public CommonObjectData {
@@ -238,7 +240,6 @@ public:
uint8 cycleFlags;
SpriteList spriteList; // sprite list data
- int spriteListResourceId; // sprite list resource id
ActorFrameSequence *frames; // Actor's frames
int framesCount; // Actor's frames count
@@ -354,7 +355,7 @@ public:
void drawPathTest();
- uint16 hitTest(const Point &testPoint);
+ uint16 hitTest(const Point &testPoint, bool skipProtagonist);
void takeExit(uint16 actorId, const HitZone *hitZone);
bool actorEndWalk(uint16 actorId, bool recurse);
bool actorWalkTo(uint16 actorId, const Location &toLocation);