From 2e39b2f0ce099aa167c8a188d88e30af4bfc19f3 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sat, 25 May 2013 00:03:33 -0500 Subject: A large number of fixes - ramboo, samurai, shy guy, topman, MrSun, classic controller --- include/game.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/game.h') diff --git a/include/game.h b/include/game.h index d72e349..9e9d860 100755 --- a/include/game.h +++ b/include/game.h @@ -3789,7 +3789,6 @@ struct IceActorSpawnInfo { extern "C" u8 dSprite_c__getXDirectionOfFurthestPlayerRelativeToVEC3(dEn_c *, Vec pos); extern "C" void *ShakeScreen(void *, unsigned int, unsigned int, unsigned int, unsigned int); -extern "C" void *PlaySound(dStageActor_c *, int soundID); extern "C" void *PlaySoundAsync(dStageActor_c *, int soundID); extern "C" u32 GetActivePlayerCount(); @@ -3833,7 +3832,7 @@ namespace nw4r { void SetPitch(float value) { SetPitch__Q44nw4r3snd6detail10BasicSoundFf(data, value); } void Pause(bool pause, int count) { Pause__Q44nw4r3snd6detail10BasicSoundFbi(data, pause, count); } - void SetVolume(float value, int count) { SetVolume__Q44nw4r3snd6detail10BasicSoundFfi(data, pause, count); } + void SetVolume(float value, int count) { SetVolume__Q44nw4r3snd6detail10BasicSoundFfi(data, value, count); } void *GetSound() const { return data; } @@ -3847,6 +3846,7 @@ namespace nw4r { } } +extern "C" nw4r::snd::SoundHandle *PlaySound(dStageActor_c *, int soundID); extern float EnemyBounceValue; -- cgit v1.2.3