aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/game.h
diff options
context:
space:
mode:
authorRobert Špalek2009-10-04 05:44:23 +0000
committerRobert Špalek2009-10-04 05:44:23 +0000
commitdf14027c411af320ab6a696f37cbc47e35675393 (patch)
tree765fc040fe153912ec87a78c65fbde52b65e0f5d /engines/draci/game.h
parentbf408b0dbe1b9bcc57c590ec8b2a3ab08644752f (diff)
downloadscummvm-rg350-df14027c411af320ab6a696f37cbc47e35675393.tar.gz
scummvm-rg350-df14027c411af320ab6a696f37cbc47e35675393.tar.bz2
scummvm-rg350-df14027c411af320ab6a696f37cbc47e35675393.zip
Implemented rudimentary game loading/saving.
Fixed many bugs in the boilerplate. Saving (only) things that really need to be saved. Loading seems to work modulo dialogs and (possibly) inventory. svn-id: r44586
Diffstat (limited to 'engines/draci/game.h')
-rw-r--r--engines/draci/game.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/draci/game.h b/engines/draci/game.h
index 9766e9a863..3687c3d2de 100644
--- a/engines/draci/game.h
+++ b/engines/draci/game.h
@@ -27,6 +27,7 @@
#define DRACI_GAME_H
#include "common/str.h"
+#include "common/serializer.h"
#include "draci/barchive.h"
#include "draci/script.h"
#include "draci/animation.h"
@@ -275,6 +276,7 @@ public:
const Person *getPerson(int personID) const;
int getRoomNum() const;
+ void setRoomNum(int num);
int getPreviousRoomNum() const;
void scheduleEnteringRoomUsingGate(int room, int gate);
@@ -336,6 +338,8 @@ public:
void schedulePalette(int paletteID);
int getScheduledPalette() const;
+ void DoSync(Common::Serializer &s);
+
private:
void deleteAnimationsAfterIndex(int lastAnimIndex);
void enterNewRoom();