aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xeen.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-02 15:25:14 -1000
committerPaul Gilbert2015-01-02 15:25:14 -1000
commit9b40bd5c6aa8110e7b3a13eec2550a4c6f201668 (patch)
treed01b3b167be8c90ef338fdb2eabfb8f682ce83f6 /engines/xeen/xeen.h
parente1404f127d376225d0c15c43b12f59749689c731 (diff)
downloadscummvm-rg350-9b40bd5c6aa8110e7b3a13eec2550a4c6f201668.tar.gz
scummvm-rg350-9b40bd5c6aa8110e7b3a13eec2550a4c6f201668.tar.bz2
scummvm-rg350-9b40bd5c6aa8110e7b3a13eec2550a4c6f201668.zip
XEEN: More UI loading code, refactored Dialog base to ButtonContainer
Diffstat (limited to 'engines/xeen/xeen.h')
-rw-r--r--engines/xeen/xeen.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/xeen/xeen.h b/engines/xeen/xeen.h
index 7155e39483..7261efc879 100644
--- a/engines/xeen/xeen.h
+++ b/engines/xeen/xeen.h
@@ -32,6 +32,7 @@
#include "common/util.h"
#include "engines/engine.h"
#include "xeen/debugger.h"
+#include "xeen/dialogs.h"
#include "xeen/events.h"
#include "xeen/party.h"
#include "xeen/saves.h"
@@ -67,6 +68,7 @@ enum XeenDebugChannels {
enum Mode {
MODE_0 = 0,
+ MODE_1 = 1,
MODE_9 = 9
};
@@ -75,23 +77,27 @@ struct XeenGameDescription;
#define XEEN_SAVEGAME_VERSION 1
#define GAME_FRAME_TIME 50
-class XeenEngine : public Engine {
+class XeenEngine : public Engine, public ButtonContainer {
private:
const XeenGameDescription *_gameDescription;
Common::RandomSource _randomSource;
int _loadSaveSlot;
bool _isEarlyGame;
+ int _loadDarkSide;
SpriteResource _charFaces[TOTAL_CHARACTERS];
SpriteResource *_partyFaces[MAX_ACTIVE_PARTY];
SpriteResource _dseFace;
+ bool _buttonsLoaded;
void showIntro();
void showMainMenu();
- void drawUI(bool soundPlayed);
+ void setupUI(bool soundPlayed);
void loadCharIcons(int numChars);
+
+ void setupGameBackground();
protected:
/**
* Play the game