diff options
Diffstat (limited to 'engines/bladerunner/actor_clues.h')
-rw-r--r-- | engines/bladerunner/actor_clues.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/engines/bladerunner/actor_clues.h b/engines/bladerunner/actor_clues.h index aa8693f71b..76690329d3 100644 --- a/engines/bladerunner/actor_clues.h +++ b/engines/bladerunner/actor_clues.h @@ -32,6 +32,8 @@ class SaveFileReadStream; class SaveFileWriteStream; class ActorClues { + static const int kClueCount = 288; + struct Clue { int clueId; int weight; @@ -45,11 +47,6 @@ class ActorClues { byte flags; }; - struct CluesUS { - int clueId; - int modifier; - }; - BladeRunnerEngine *_vm; int _count; @@ -57,6 +54,12 @@ class ActorClues { Common::Array<Clue> _clues; public: + struct CluesUS { + int clueId; + int modifier; + }; + +public: ActorClues(BladeRunnerEngine *_vm, int cluesType); void add(int actorId, int clueId, int unknown, bool acquired, bool unknownFlag, int fromActorId); @@ -66,6 +69,8 @@ public: bool isAcquired(int clueId) const; int getWeight(int clueId) const; + int getModifier(int actorId, int otherActorId, int clueId); + void acquireCluesByRelations(int actorId, int otherActorId); int findAcquirableCluesFromActor(int actorId, int targetActorId, CluesUS *list, int size); |