mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
add sound effects
svn-id: r8134
This commit is contained in:
parent
4458704250
commit
ab3e5f8d40
@ -1991,9 +1991,8 @@ bool SkyLogic::fnSetFont(uint32 font, uint32 b, uint32 c) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SkyLogic::fnStartFx(uint32 a, uint32 b, uint32 c) {
|
||||
warning("Stub: fnStartFx");
|
||||
return true;
|
||||
bool SkyLogic::fnStartFx(uint32 sound, uint32 b, uint32 c) {
|
||||
return _skySound->fnStartFx(sound);
|
||||
}
|
||||
|
||||
bool SkyLogic::fnStopFx(uint32 a, uint32 b, uint32 c) {
|
||||
|
1011
sky/sound.cpp
1011
sky/sound.cpp
File diff suppressed because it is too large
Load Diff
@ -19,6 +19,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef SKYSOUND_H
|
||||
#define SKYSOUND_H
|
||||
|
||||
#include "sound/mixer.h"
|
||||
#include "sky/disk.h"
|
||||
#include "common/engine.h"
|
||||
@ -46,12 +49,14 @@ public:
|
||||
|
||||
void loadSection(uint8 pSection);
|
||||
void playSound(uint16 sound, uint16 volume);
|
||||
bool fnStartFx(uint32 sound);
|
||||
|
||||
private:
|
||||
SkyDisk *_skyDisk;
|
||||
uint8 _soundsTotal;
|
||||
uint16 _sfxBaseOfs;
|
||||
uint8 *_soundData;
|
||||
uint8 *_soundData;
|
||||
uint8 *_sampleRates, *_sfxInfo;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user