src/newgrf_sound.h
changeset 6247 7d81e3a5d803
parent 5475 2e6990a8c7c4
child 6248 e4a2ed7e5613
equal deleted inserted replaced
6246:75451000349d 6247:7d81e3a5d803
    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 */