summaryrefslogtreecommitdiff
path: root/src/newgrf_sound.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-02-08 21:05:57 +0000
committerfrosch <frosch@openttd.org>2016-02-08 21:05:57 +0000
commitf6577b6ad7eaeda4ad303d02bb1d54496829b475 (patch)
tree63f9bd5f28dc664b446c6c8b2c7d1eea98f15bbf /src/newgrf_sound.h
parent8f621dc5069eab6d44cf4b44e734b2c2c04d07ea (diff)
downloadopenttd-f6577b6ad7eaeda4ad303d02bb1d54496829b475.tar.xz
(svn r27507) -Add: [NewGRF] Allow custom sound IDs in RV property 0x12, ship property 0x10 and aircraft property 0x12.
Diffstat (limited to 'src/newgrf_sound.h')
-rw-r--r--src/newgrf_sound.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_sound.h b/src/newgrf_sound.h
index 0d3295327..efded063c 100644
--- a/src/newgrf_sound.h
+++ b/src/newgrf_sound.h
@@ -33,6 +33,7 @@ enum VehicleSoundEvent {
SoundEntry *AllocateSound(uint num);
void InitializeSoundPool();
bool LoadNewGRFSound(SoundEntry *sound);
+SoundID GetNewGRFSoundID(const struct GRFFile *file, SoundID sound_id);
SoundEntry *GetSound(SoundID sound_id);
uint GetNumSounds();
bool PlayVehicleSound(const Vehicle *v, VehicleSoundEvent event);