aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/chewy.h
diff options
context:
space:
mode:
authorFilippos Karapetis2016-09-20 10:56:07 +0300
committerFilippos Karapetis2016-10-03 00:33:21 +0300
commit078cbf0b089588836784513a558cb7dc99b4758b (patch)
treec8a681d2d6d90a0d83693e36793babd95c7289b6 /engines/chewy/chewy.h
parent8ab1846f59504dc7edd8d26b7702d520e3bab631 (diff)
downloadscummvm-rg350-078cbf0b089588836784513a558cb7dc99b4758b.tar.gz
scummvm-rg350-078cbf0b089588836784513a558cb7dc99b4758b.tar.bz2
scummvm-rg350-078cbf0b089588836784513a558cb7dc99b4758b.zip
CHEWY: Add a sound player class and use the proper game resolution
Currently, speech and sound effects are supported, but the current music playing implementation is wrong, as the game's music is encoded in custom MOD-like files. With the current music implementation, the PCM parts of these files are played
Diffstat (limited to 'engines/chewy/chewy.h')
-rw-r--r--engines/chewy/chewy.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/chewy/chewy.h b/engines/chewy/chewy.h
index b832144efa..2235d5f1cf 100644
--- a/engines/chewy/chewy.h
+++ b/engines/chewy/chewy.h
@@ -33,11 +33,13 @@
#include "common/random.h"
#include "engines/engine.h"
-#include "chewy/console.h"
namespace Chewy {
struct ChewyGameDescription;
+class Console;
+class Graphics;
+class Sound;
class ChewyEngine : public Engine {
@@ -63,6 +65,9 @@ public:
const ChewyGameDescription *_gameDescription;
Common::RandomSource _rnd;
+
+ Graphics *_graphics;
+ Sound *_sound;
};
} // End of namespace Chewy