diff options
author | Peter Kohaut | 2015-09-13 01:48:13 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-29 22:33:40 +0200 |
commit | 6672e443a870963354ee43298c75164d382a5636 (patch) | |
tree | 0cee43adb6ac77aa467700f3756668c456bb9af6 /engines/bladerunner/actor.h | |
parent | a4ba6091316f8f50ea40d4dfd42bd26d419b1206 (diff) | |
download | scummvm-rg350-6672e443a870963354ee43298c75164d382a5636.tar.gz scummvm-rg350-6672e443a870963354ee43298c75164d382a5636.tar.bz2 scummvm-rg350-6672e443a870963354ee43298c75164d382a5636.zip |
BLADERUNNER: just basic objects description scene stuff - lightning and effects movement track actor clues db actor walking info moved view from vqa decoder, because its needed elsewhere
does not compile, because new files are not in makefile...
Diffstat (limited to 'engines/bladerunner/actor.h')
-rw-r--r-- | engines/bladerunner/actor.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/engines/bladerunner/actor.h b/engines/bladerunner/actor.h index b51bc3fefb..d621d5316a 100644 --- a/engines/bladerunner/actor.h +++ b/engines/bladerunner/actor.h @@ -26,6 +26,11 @@ #include "bladerunner/bladerunner.h" #include "bladerunner/vector.h" +#include "bladerunner/movement_track.h" +#include "bladerunner/actor_clues.h" +#include "bladerunner/actor_walk.h" + +#include "common/rect.h" namespace BladeRunner { @@ -37,7 +42,8 @@ class Actor { private: BoundingBox *_bbox; - // MovementTrack *_movementTrack; + Common::Rect _screenRectangle; + MovementTrack *_movementTrack; int _honesty; int _intelligence; @@ -49,7 +55,7 @@ private: int _currentHP; int _maxHP; - // Clues _clues; + ActorClues* _clues; int _id; int _set; @@ -62,6 +68,8 @@ private: bool _isInvisible; bool _isImmuneToObstacles; + bool _isRetired; + // Animation int _width; int _height; @@ -71,7 +79,7 @@ private: int _animationId; int _animationFrame; - // WalkInfo _walkInfo; + ActorWalk* _walkInfo; int _timersRemain[7]; int _timersBegan[7]; @@ -87,6 +95,12 @@ public: void set_at_xyz(Vector3 pos, int facing); void draw(); + + int getSet() { return _set; } + BoundingBox* getBoundingBox() { return _bbox; } + Common::Rect* getScreenRectangle() { return &_screenRectangle; } + bool isRetired() { return _isRetired; } + bool isTargetable() { return _isTargetable; } }; } // End of namespace BladeRunner |