aboutsummaryrefslogtreecommitdiff
path: root/kyra/kyra.h
diff options
context:
space:
mode:
authorJames Brown2004-11-11 13:37:35 +0000
committerJames Brown2004-11-11 13:37:35 +0000
commit1f7ccd02938a1e418bf83ed44014631187df7fcb (patch)
tree4520666f4533c081d991932bdb6cb81ae9f0fe7c /kyra/kyra.h
parente67ffaaff0c95a25580db000e4fc1cc9ae81940c (diff)
downloadscummvm-rg350-1f7ccd02938a1e418bf83ed44014631187df7fcb.tar.gz
scummvm-rg350-1f7ccd02938a1e418bf83ed44014631187df7fcb.tar.bz2
scummvm-rg350-1f7ccd02938a1e418bf83ed44014631187df7fcb.zip
Bring kyra up-to-date with patch 1051358
svn-id: r15786
Diffstat (limited to 'kyra/kyra.h')
-rw-r--r--kyra/kyra.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/kyra/kyra.h b/kyra/kyra.h
index 2a6b5b1556..b0dfc34501 100644
--- a/kyra/kyra.h
+++ b/kyra/kyra.h
@@ -8,7 +8,7 @@
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
@@ -31,7 +31,17 @@ enum {
GF_FLOPPY = 1 << 0,
GF_TALKIE = 1 << 1,
GF_KYRA1 = 1 << 2,
- GF_KYRA2 = 1 << 3
+ GF_KYRA2 = 1 << 3,
+ GF_KYRA3 = 1 << 4,
+ GF_AUDIOCD = 1 << 5 // FM-Towns versions seems to use audio CD
+};
+
+enum {
+ KYRA1 = 0,
+ KYRA1CD = 1,
+ KYRA2 = 2,
+ KYRA2CD = 3,
+ KYRA3 = 4
};
namespace Kyra {
@@ -40,6 +50,7 @@ namespace Kyra {
class Font;
class Palette;
class VMContext;
+ class MusicPlayer;
class KyraEngine : public Engine {
public:
@@ -51,13 +62,17 @@ public:
void setCurrentPalette(Palette* pal, bool delNextTime = true);
Resourcemanager* resManager(void) { return _resMgr; }
-// MidiDriver* midiDriver(void) { return _midiDriver; }
+ MusicPlayer* midiDriver(void) { return _midiDriver; }
+
+ uint8 game(void) { return _game; }
protected:
void go();
void shutdown();
Resourcemanager* _resMgr;
+ MusicPlayer* _midiDriver;
uint8 *_screen;
+ uint8 _game;
Font* _font;
CPSImage* _mouse;