25 #include "common/file.h" 26 #include "common/str.h" 27 #include "common/ptr.h" 29 #include "engines/engine.h" 31 #include "nancy/detection.h" 32 #include "nancy/time.h" 33 #include "nancy/commontypes.h" 34 #include "nancy/enginedata.h" 57 static const int kSavegameVersion = 3;
59 struct NancyGameDescription;
61 class ResourceManager;
83 void errorString(
const char *buf_input,
char *buf_output,
int buf_output_size)
override;
93 const char *getCopyrightString()
const;
94 uint32 getGameFlags()
const;
95 const char *getGameId()
const;
96 GameType getGameType()
const;
103 void setState(NancyState::NancyState state, NancyState::NancyState overridePrevious = NancyState::kNone);
104 NancyState::NancyState getState() {
return _gameFlow.curState; }
105 void setToPreviousState();
107 void setMouseEnabled(
bool enabled);
130 void pauseEngineIntern(
bool pause)
override;
134 NancyState::NancyState curState = NancyState::kNone;
135 NancyState::NancyState prevState = NancyState::kNone;
136 NancyState::NancyState nextState = NancyState::kNone;
137 bool changingState =
true;
140 void bootGameEngine();
142 State::State *getStateObject(NancyState::NancyState state)
const;
143 void destroyState(NancyState::NancyState state)
const;
155 const byte _datFileMajorVersion;
156 const byte _datFileMinorVersion;
167 #define GetEngineData(s) (const s*)g_nancy->getEngineData(#s); Definition: commontypes.h:321
EngineFeature
Definition: engine.h:253
Definition: graphics.h:37
Definition: serializer.h:79
Definition: detection.h:49
Definition: algorithm.h:29
Definition: graphics.h:37
Definition: resource.h:36
Definition: enginedata.h:34
Definition: actionmanager.h:32
Language
Definition: language.h:45