summaryrefslogtreecommitdiff
path: root/src/newgrf_sound.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-05-17 17:17:48 +0000
committerrubidium <rubidium@openttd.org>2009-05-17 17:17:48 +0000
commit9c24e2bb8fdc29620ea8d73ecec9c93e8e3b3e53 (patch)
tree1b503e6d6551d4e0b93ceeaa187e88e3797ea7af /src/newgrf_sound.h
parente3bd95e7b6694a68a73bbb2649d6f96092e2e313 (diff)
downloadopenttd-9c24e2bb8fdc29620ea8d73ecec9c93e8e3b3e53.tar.xz
(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.
Diffstat (limited to 'src/newgrf_sound.h')
-rw-r--r--src/newgrf_sound.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_sound.h b/src/newgrf_sound.h
index 43d5f9691..7def7b280 100644
--- a/src/newgrf_sound.h
+++ b/src/newgrf_sound.h
@@ -23,9 +23,9 @@ enum VehicleSoundEvent {
FileEntry *AllocateFileEntry();
void InitializeSoundPool();
-FileEntry *GetSound(uint index);
+FileEntry *GetSound(SoundID sound_id);
uint GetNumSounds();
bool PlayVehicleSound(const Vehicle *v, VehicleSoundEvent event);
-bool PlayTileSound(const struct GRFFile *file, uint16 sound_id, TileIndex tile);
+bool PlayTileSound(const struct GRFFile *file, SoundID sound_id, TileIndex tile);
#endif /* NEWGRF_SOUND_H */