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
39class InteractionController;
40class 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;
136MctlCompound *getSc2MctlCompoundBySceneId(int16 sceneId);
137MovGraph *getSc2MovGraphBySceneId(int16 sceneId);
Definition: messages.h:59
Definition: gameloader.h:87
Definition: interaction.h:63
Definition: inventory.h:82
Definition: gameloader.h:73
Definition: gameloader.h:43
MotionController * _motionController
Definition: gameloader.h:49
Definition: gameloader.h:64