diff options
author | Robert Špalek | 2009-10-04 05:44:23 +0000 |
---|---|---|
committer | Robert Špalek | 2009-10-04 05:44:23 +0000 |
commit | df14027c411af320ab6a696f37cbc47e35675393 (patch) | |
tree | 765fc040fe153912ec87a78c65fbde52b65e0f5d /engines/draci/game.h | |
parent | bf408b0dbe1b9bcc57c590ec8b2a3ab08644752f (diff) | |
download | scummvm-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.h | 4 |
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(); |