22 #ifndef BLADERUNNER_SCENE_H 23 #define BLADERUNNER_SCENE_H 25 #include "bladerunner/vector.h" 27 #include "common/str.h" 31 class BladeRunnerEngine;
34 class SaveFileReadStream;
35 class SaveFileWriteStream;
50 bool _defaultLoopPreloadedSet;
59 int _actorStartFacing;
71 bool open(
int setId,
int sceneId,
bool isLoadingGame);
72 bool close(
bool isLoadingGame);
73 int advanceFrame(
bool useTime =
true);
74 void resume(
bool isLoadingGame =
false);
75 void startDefaultLoop();
76 void setActorStart(
Vector3 position,
int facing);
78 void loopSetDefault(
int loopId);
79 void loopStartSpecial(
int specialLoopMode,
int loopId,
bool immediately);
81 int getSetId()
const {
return _setId; }
82 int getSceneId()
const {
return _sceneId; }
84 bool didPlayerWalkIn() {
bool r = _playerWalkedIn; _playerWalkedIn =
false;
return r; }
87 bool objectSetHotMouse(
int objectId);
88 bool objectGetBoundingBox(
int objectId,
BoundingBox *boundingBox);
89 void objectSetIsClickable(
int objectId,
bool isClickable,
bool sceneLoaded);
90 void objectSetIsObstacle(
int objectId,
bool isObstacle,
bool sceneLoaded,
bool updateWalkpath);
91 void objectSetIsObstacleAll(
bool isObstacle,
bool sceneLoaded);
92 void objectSetIsTarget(
int objectId,
bool isTarget,
bool sceneLoaded);
99 void loopEnded(
int frame,
int loopId);
100 static void loopEndedStatic(
void *data,
int frame,
int loopId);
Definition: savefile.h:88
Definition: savefile.h:113
Definition: boundingbox.h:31
Definition: vqa_player.h:45
Definition: debugger.h:56
Definition: bladerunner.h:113