src/newgrf_sound.h
changeset 6573 7624f942237f
parent 5726 8f399788f6c9
child 6574 e1d1a12faaf7
equal deleted inserted replaced
6572:e35266003390 6573:7624f942237f
    14 	VSE_STOPPED_16   = 8,
    14 	VSE_STOPPED_16   = 8,
    15 	VSE_LOAD_UNLOAD  = 9,
    15 	VSE_LOAD_UNLOAD  = 9,
    16 } VehicleSoundEvent;
    16 } VehicleSoundEvent;
    17 
    17 
    18 
    18 
    19 FileEntry *AllocateFileEntry(void);
    19 FileEntry *AllocateFileEntry();
    20 void InitializeSoundPool(void);
    20 void InitializeSoundPool();
    21 FileEntry *GetSound(uint index);
    21 FileEntry *GetSound(uint index);
    22 uint GetNumSounds(void);
    22 uint GetNumSounds();
    23 bool PlayVehicleSound(const Vehicle *v, VehicleSoundEvent event);
    23 bool PlayVehicleSound(const Vehicle *v, VehicleSoundEvent event);
    24 
    24 
    25 #endif /* NEWGRF_SOUND_H */
    25 #endif /* NEWGRF_SOUND_H */