diff --git a/src/newgrf_sound.h b/src/newgrf_sound.h --- a/src/newgrf_sound.h +++ b/src/newgrf_sound.h @@ -23,9 +23,9 @@ enum VehicleSoundEvent { FileEntry *AllocateFileEntry(); void InitializeSoundPool(); -FileEntry *GetSound(uint index); +FileEntry *GetSound(SoundID sound_id); uint GetNumSounds(); bool PlayVehicleSound(const Vehicle *v, VehicleSoundEvent event); -bool PlayTileSound(const struct GRFFile *file, uint16 sound_id, TileIndex tile); +bool PlayTileSound(const struct GRFFile *file, SoundID sound_id, TileIndex tile); #endif /* NEWGRF_SOUND_H */