22 #ifndef NANCY_STATE_SCENESTREAM_H 23 #define NANCY_STATE_SCENESTREAM_H 25 #include "common/array.h" 26 #include "common/str.h" 28 #include "engines/nancy/commontypes.h" 29 #include "engines/nancy/puzzledata.h" 31 #include "engines/nancy/action/actionmanager.h" 34 class SeekableReadStream;
56 kEndsWithParentScene = 1,
62 byte lifetime = kIndependent;
63 bool capturesInput =
false;
64 bool runsFirst =
false;
94 void end() { _isEnded =
true; }
95 bool isEnded()
const {
return _isEnded; }
102 bool loadNextScene();
104 void setEventFlag(int16 index, byte flag);
105 byte getEventFlag(int16 index)
const;
108 const StreamFlags &getFlags()
const {
return _flags; }
109 int32 getZOffset()
const {
return _zOffset; }
118 #ifdef ENABLE_NANCY_V4 119 bool loadScriptedScene();
124 void processRecords();
135 #ifdef ENABLE_NANCY_V4 143 bool _hasNextScene =
false;
145 uint16 _nextFrameID = 0;
147 bool _isEnded =
false;
167 SceneStream *getRunning()
const {
return _running; }
170 bool handleInput(
NancyInput &input,
bool beforeMainStream);
173 bool isEmpty()
const {
return _streams.empty(); }
175 void onMainSceneChange();
201 #endif // NANCY_STATE_SCENESTREAM_H
Definition: viewport.h:42
Definition: commontypes.h:186
Definition: scenestream.h:74
In find(In first, In last, const T &v)
Definition: algorithm.h:225
Definition: puzzledata.h:631
Definition: scenecontext.h:52
Definition: scenestream.h:53
Definition: actionmanager.h:48
Definition: soundequalizerpuzzle.h:27
Definition: algorithm.h:29
Definition: scenestream.h:152
Definition: actionmanager.h:32