(svn r23882) -Codechange: Delay parsing of NewGRF sound effects until first usage.

This commit is contained in:
michi_cc
2012-02-04 13:28:44 +00:00
parent 949d2d3b55
commit ee5e3a0482
4 changed files with 176 additions and 160 deletions

View File

@@ -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);