diff options
author | Jaromir Wysoglad | 2019-06-21 22:30:43 +0200 |
---|---|---|
committer | Thierry Crozat | 2019-07-28 15:09:14 +0100 |
commit | 3cf9cfbf78433e81ac5dcc39b31f5fa76983bde4 (patch) | |
tree | 883aacdbb2473884e15fc81c8f20fda6316a2850 /engines/supernova/resman.h | |
parent | eb2a017a68e965b46881a2b41d9178d5e20b05b2 (diff) | |
download | scummvm-rg350-3cf9cfbf78433e81ac5dcc39b31f5fa76983bde4.tar.gz scummvm-rg350-3cf9cfbf78433e81ac5dcc39b31f5fa76983bde4.tar.bz2 scummvm-rg350-3cf9cfbf78433e81ac5dcc39b31f5fa76983bde4.zip |
SUPERNOVA: Merge in the supernova2 engine.
Diffstat (limited to 'engines/supernova/resman.h')
-rw-r--r-- | engines/supernova/resman.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/supernova/resman.h b/engines/supernova/resman.h index 194b79875b..9cbf83ab01 100644 --- a/engines/supernova/resman.h +++ b/engines/supernova/resman.h @@ -45,7 +45,7 @@ public: }; public: - static const int kNumImageFiles = 45; + static const int kNumImageFiles = 47; public: ResourceManager(int MSPart); @@ -60,15 +60,17 @@ public: int getAudioRate(); private: - void initSoundFiles(); + void initSoundFiles1(); + void initSoundFiles2(); void initGraphics(); void initCursorGraphics(); - void initImages(); + void initImages1(); + void initImages2(); void initSiren(); byte *generateTone(byte *buffer, int frequency, int length, int audioRate, Common::SineTable &table); private: - Common::ScopedPtr<Audio::SeekableAudioStream> _soundSamples[kAudioNumSamples]; + Common::ScopedPtr<Audio::SeekableAudioStream> _soundSamples[kAudioNumSamples1]; Common::ScopedPtr<Common::MemoryReadStream> _musicIntroBuffer; Common::ScopedPtr<Common::MemoryReadStream> _musicOutroBuffer; Common::ScopedPtr<Common::MemoryReadStream> _musicMadMonkeysBuffer; |