diff options
Diffstat (limited to 'engines/agi/preagi.h')
-rw-r--r-- | engines/agi/preagi.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/engines/agi/preagi.h b/engines/agi/preagi.h index c2962b09b3..6950aa30cd 100644 --- a/engines/agi/preagi.h +++ b/engines/agi/preagi.h @@ -25,20 +25,23 @@ #include "agi/agi.h" -#include "audio/softsynth/pcspk.h" +namespace Audio { +class SoundHandle; +class PCSpeaker; +} namespace Agi { // default attributes -#define IDA_DEFAULT 0x0F -#define IDA_DEFAULT_REV 0xF0 +#define IDA_DEFAULT 0x0F +#define IDA_DEFAULT_REV 0xF0 -#define IDI_SND_OSCILLATOR_FREQUENCY 1193180 -#define IDI_SND_TIMER_RESOLUTION 0.0182 +#define IDI_SND_OSCILLATOR_FREQUENCY 1193180 +#define IDI_SND_TIMER_RESOLUTION 0.0182 #define kColorDefault 0x1337 -#define IDI_MAX_ROW_PIC 20 +#define IDI_MAX_ROW_PIC 20 enum SelectionTypes { kSelYesNo, @@ -69,9 +72,9 @@ protected: void clearImageStack() {} void recordImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3, - int16 p4, int16 p5, int16 p6, int16 p7) {} + int16 p4, int16 p5, int16 p6, int16 p7) {} void replayImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3, - int16 p4, int16 p5, int16 p6, int16 p7) {} + int16 p4, int16 p5, int16 p6, int16 p7) {} void releaseImageStack() {} int saveGame(const Common::String &fileName, const Common::String &saveName) { return -1; } int loadGame(const Common::String &fileName, bool checkId = true) { return -1; } @@ -99,7 +102,7 @@ protected: void printStrXOR(char *szMsg); // Saved Games - Common::SaveFileManager* getSaveFileMan() { return _saveFileMan; } + Common::SaveFileManager *getSaveFileMan() { return _saveFileMan; } void playNote(int16 frequency, int32 length); void waitForTimer(int msec_delay); @@ -108,7 +111,7 @@ private: int _defaultColor; Audio::PCSpeaker *_speakerStream; - Audio::SoundHandle _speakerHandle; + Audio::SoundHandle *_speakerHandle; }; } // End of namespace Agi |