25 #include "common/scummsys.h" 26 #include "common/savefile.h" 27 #include "common/str-array.h" 28 #include "common/serializer.h" 29 #include "mads/audio.h" 30 #include "mads/scene.h" 31 #include "mads/game_data.h" 32 #include "mads/globals.h" 33 #include "mads/inventory.h" 34 #include "mads/player.h" 35 #include "mads/screen.h" 36 #include "mads/camera.h" 43 KERNEL_GAME_LOAD = 0, KERNEL_SECTION_PRELOAD = 1, KERNEL_SECTION_INIT = 2,
44 KERNEL_ROOM_PRELOAD = 3, KERNEL_ROOM_INIT = 4, KERNEL_ACTIVE_CODE = 5
48 SYNC_SEQ = 1, SYNC_PLAYER = 2, SYNC_ANIM = 3, SYNC_CLOCK = 4
52 #define MADS_SAVEGAME_VERSION 1 58 int _year, _month, _day;
100 void initSection(
int sectionNumber);
108 virtual void startGame() = 0;
113 virtual void initializeGlobals() = 0;
118 virtual void setSectionHandler() = 0;
123 virtual void checkShowDialog() = 0;
134 int _priorSectionNumber;
135 int _currentSectionNumber;
140 KernelMode _kernelMode;
142 ScreenTransition _fx;
143 TriggerMode _triggerMode;
144 TriggerMode _triggerSetupMode;
145 uint32 _priorFrameTimer;
181 virtual Globals &globals() = 0;
186 virtual void doObjectAction() = 0;
191 virtual void unhandledAction() = 0;
196 virtual void step() = 0;
205 virtual void setNaughtyMode(
bool naughtyMode) {}
206 virtual bool getNaughtyMode()
const {
return true; }
209 void clearQuotes() {}
210 void loadQuoteRange(
int startNum,
int endNum) {}
211 void loadQuoteSet(...) {}
212 void loadQuote(
int quoteNum) {}
229 void loadGame(
int slotNumber);
251 void syncTimers(SyncType slaveType,
int slaveId, SyncType masterType,
int masterId);
253 void camInitDefault();
Definition: savefile.h:54
uint32 getQuotesSize()
Definition: game.h:164
Definition: game_data.h:57
uint32 CustomEventType
Definition: events.h:193
const Common::String & getQuote(uint32 index)
Definition: game.h:169
Definition: inventory.h:79
Definition: serializer.h:79
Definition: game_data.h:34
bool createThumbnail(Graphics::Surface &thumb)
bool skipThumbnail(Common::SeekableReadStream &in)
size_type size() const
Definition: array.h:315
Definition: keyboard.h:294
Definition: msurface.h:172