aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xeen.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-02 12:27:59 -1000
committerPaul Gilbert2015-01-02 12:27:59 -1000
commit9a8cb48a9edcc67b17c192ff13b3d9d1e40f73a9 (patch)
treedab7a4d383ded547629fb28a9b9a46e2f861362d /engines/xeen/xeen.h
parent27e020cbf98d88373111bff0f1d6ed0e846b2311 (diff)
downloadscummvm-rg350-9a8cb48a9edcc67b17c192ff13b3d9d1e40f73a9.tar.gz
scummvm-rg350-9a8cb48a9edcc67b17c192ff13b3d9d1e40f73a9.tar.bz2
scummvm-rg350-9a8cb48a9edcc67b17c192ff13b3d9d1e40f73a9.zip
XEEN: Cleanup of party code split, moved roster and party to engine
Diffstat (limited to 'engines/xeen/xeen.h')
-rw-r--r--engines/xeen/xeen.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/engines/xeen/xeen.h b/engines/xeen/xeen.h
index 159ce7446b..787cc3d435 100644
--- a/engines/xeen/xeen.h
+++ b/engines/xeen/xeen.h
@@ -31,7 +31,6 @@
#include "common/serializer.h"
#include "common/util.h"
#include "engines/engine.h"
-#include "graphics/surface.h"
#include "xeen/debugger.h"
#include "xeen/events.h"
#include "xeen/party.h"
@@ -76,20 +75,12 @@ struct XeenGameDescription;
#define XEEN_SAVEGAME_VERSION 1
#define GAME_FRAME_TIME 50
-struct XeenSavegameHeader {
- uint8 _version;
- Common::String _saveName;
- Graphics::Surface *_thumbnail;
- int _year, _month, _day;
- int _hour, _minute;
- int _totalFrames;
-};
-
class XeenEngine : public Engine {
private:
const XeenGameDescription *_gameDescription;
Common::RandomSource _randomSource;
int _loadSaveSlot;
+ bool _isEarlyGame;
void showIntro();
@@ -127,6 +118,8 @@ public:
Mode _mode;
GameEvent _gameEvent;
Common::SeekableReadStream *_eventData;
+ Roster _roster;
+ Party _party;
PlayerStruct *_activeRoster[MAX_ACTIVE_PARTY];
public:
XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc);