22 #ifndef BLADERUNNER_ACTOR_WALK_H 23 #define BLADERUNNER_ACTOR_WALK_H 25 #include "bladerunner/vector.h" 26 #include "common/hashmap.h" 30 class BladeRunnerEngine;
31 class SaveFileReadStream;
32 class SaveFileWriteStream;
53 bool setup(
int actorId,
bool runFlag,
const Vector3 &from,
const Vector3 &to,
bool mustReach,
bool *arrived);
54 void getCurrentPosition(
int actorId,
Vector3 *pos,
int *facing)
const;
55 bool tick(
int actorId,
float stepDistance,
bool flag);
57 bool isWalking()
const {
return _walking; }
58 bool isRunning()
const {
return _running; }
60 bool isXYZOccupied(
float x,
float y,
float z,
int actorId)
const;
61 bool findEmptyPositionAround(
int actorId,
const Vector3 &from,
int distance,
Vector3 &out)
const;
63 void stop(
int actorId,
bool immediately,
int combatAnimationMode,
int animationMode);
64 void run(
int actorId);
72 bool findEmptyPositionAroundToOriginalDestination(
int actorId,
Vector3 &out)
const;
74 bool addNearActors(
int skipActorId);
76 void obstaclesAddNearActors(
int actorId)
const;
77 void obstaclesRestore()
const;
Definition: savefile.h:88
Definition: savefile.h:113
Definition: actor_walk.h:34
Definition: bladerunner.h:113