diff options
author | Paul Gilbert | 2015-01-01 19:15:08 -1000 |
---|---|---|
committer | Paul Gilbert | 2015-01-01 19:15:08 -1000 |
commit | 971a70a2b3cea2ab6d0d77b130c8300ad5f05ca7 (patch) | |
tree | c558bbc09d1061779b8821b2446be9a27013a9d3 /engines/xeen/xeen.cpp | |
parent | 5135439bbd64289e4c6c780f4b4da03ce40e75be (diff) | |
download | scummvm-rg350-971a70a2b3cea2ab6d0d77b130c8300ad5f05ca7.tar.gz scummvm-rg350-971a70a2b3cea2ab6d0d77b130c8300ad5f05ca7.tar.bz2 scummvm-rg350-971a70a2b3cea2ab6d0d77b130c8300ad5f05ca7.zip |
XEEN: Implemented party and condition classes
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r-- | engines/xeen/xeen.cpp | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index b61d6a6cc2..35b4188c06 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -82,6 +82,14 @@ void XeenEngine::initialize() { Common::Error XeenEngine::run() { initialize(); + showIntro(); + if (shouldQuit()) + return Common::kNoError; + + showMainMenu(); + if (shouldQuit()) + return Common::kNoError; + playGame(); return Common::kNoError; @@ -220,8 +228,21 @@ void XeenEngine::writeSavegameHeader(Common::OutSaveFile *out, XeenSavegameHeade // out->writeUint32LE(_events->getFrameCounter()); } +void XeenEngine::showIntro() { + +} + +void XeenEngine::showMainMenu() { + //OptionsMenu::show(this); +} + void XeenEngine::playGame() { - OptionsMenu::show(this); + +} + +void XeenEngine::drawUI() { + SpriteResource sprites1("global.icn"), borderSprites("border.icn"); + } } // End of namespace Xeen |