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;
93 bool loadScene(
int sceneId);
94 bool gotoScene(
int sceneId,
int entranceId);
95 bool preloadScene(
int sceneId,
int entranceId);
96 bool unloadScene(
int sceneId);
100 void updateSystems(
int counterdiff);
102 int getSceneTagBySceneId(
int sceneId,
SceneTag **st);
104 void saveScenePicAniInfos(
int sceneId);
107 bool readSavegame(
const char *fname);
112 void restoreDefPicAniInfos();
119 void *_sceneSwitcher;
120 bool (*_preloadCallback)(
PreloadItem &pre,
int flag);
121 void (*_savegameCallback)(
MfcArchive *archive,
bool mode);
130 int _preloadEntranceId;
136 MctlCompound *getSc2MctlCompoundBySceneId(int16 sceneId);
137 MovGraph *getSc2MovGraphBySceneId(int16 sceneId);
Definition: gameloader.h:64
Definition: gameloader.h:43
Definition: inventory.h:82
MotionController * _motionController
Definition: gameloader.h:49
Definition: gameloader.h:87
Definition: gameloader.h:73
Definition: interaction.h:63
Definition: messages.h:59
Definition: anihandler.h:25