22 #ifndef NGI_GAMELOADER_H 23 #define NGI_GAMELOADER_H 25 #include "common/ptr.h" 26 #include "engines/savestate.h" 28 #include "ngi/objects.h" 29 #include "ngi/inventory.h" 30 #include "ngi/messages.h" 34 #define NGI_SAVEGAME_VERSION 2 38 class InputController;
39 class InteractionController;
40 class MotionController;
103 bool loadScene(
int sceneId);
104 bool gotoScene(
int sceneId,
int entranceId);
105 bool preloadScene(
int sceneId,
int entranceId);
106 bool unloadScene(
int sceneId);
110 void updateSystems(
int counterdiff);
112 int getSceneTagBySceneId(
int sceneId,
SceneTag **st);
114 void saveScenePicAniInfos(
int sceneId);
117 bool readSavegame(
const char *fname);
122 void restoreDefPicAniInfos();
129 void *_sceneSwitcher;
130 bool (*_preloadCallback)(
PreloadItem &pre,
int flag);
131 void (*_savegameCallback)(
MfcArchive *archive,
bool mode);
140 int _preloadEntranceId;
143 const char *getSavegameFile(
int saveGameIdx);
149 MctlCompound *getSc2MctlCompoundBySceneId(int16 sceneId);
150 MovGraph *getSc2MovGraphBySceneId(int16 sceneId);
Definition: gameloader.h:64
Definition: gameloader.h:43
Definition: inventory.h:82
MotionController * _motionController
Definition: gameloader.h:49
Definition: savestate.h:56
Definition: gameloader.h:97
Definition: gameloader.h:73
Definition: interaction.h:63
bool skipThumbnail(Common::SeekableReadStream &in)
Definition: messages.h:59
Definition: anihandler.h:25