diff options
author | michi_cc <michi_cc@openttd.org> | 2012-02-04 13:28:44 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2012-02-04 13:28:44 +0000 |
commit | 12f0e80dad7c798ed28990d14f3395ac4478b9c3 (patch) | |
tree | 2a4ebb24c40ba89d3d5ab7d357b5ab1da5876996 /src/newgrf_sound.h | |
parent | 5af68295b0c71edc62db53c87c89ffc38f5331bf (diff) | |
download | openttd-12f0e80dad7c798ed28990d14f3395ac4478b9c3.tar.xz |
(svn r23882) -Codechange: Delay parsing of NewGRF sound effects until first usage.
Diffstat (limited to 'src/newgrf_sound.h')
-rw-r--r-- | src/newgrf_sound.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_sound.h b/src/newgrf_sound.h index 2f2c034db..a6375cee4 100644 --- a/src/newgrf_sound.h +++ b/src/newgrf_sound.h @@ -32,6 +32,7 @@ enum VehicleSoundEvent { SoundEntry *AllocateSound(); void InitializeSoundPool(); +bool LoadNewGRFSound(SoundEntry *sound); SoundEntry *GetSound(SoundID sound_id); uint GetNumSounds(); bool PlayVehicleSound(const Vehicle *v, VehicleSoundEvent event); |