From 9c24e2bb8fdc29620ea8d73ecec9c93e8e3b3e53 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 17 May 2009 17:17:48 +0000 Subject: (svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant. --- src/sound_func.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sound_func.h') diff --git a/src/sound_func.h b/src/sound_func.h index 8de679cd1..10858c463 100644 --- a/src/sound_func.h +++ b/src/sound_func.h @@ -13,9 +13,9 @@ extern MusicFileSettings msf; bool SoundInitialize(const char *filename); -void SndPlayTileFx(SoundFx sound, TileIndex tile); -void SndPlayVehicleFx(SoundFx sound, const Vehicle *v); -void SndPlayFx(SoundFx sound); +void SndPlayTileFx(SoundID sound, TileIndex tile); +void SndPlayVehicleFx(SoundID sound, const Vehicle *v); +void SndPlayFx(SoundID sound); void SndCopyToPool(); #endif /* SOUND_FUNC_H */ -- cgit v1.2.3-54-g00ecf