MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SndPlayVehicleFx

Function SndPlayVehicleFx

src/sound.cpp:237–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void SndPlayVehicleFx(SoundID sound, const Vehicle *v)
238{
239 SndPlayScreenCoordFx(sound,
240 v->coord.left, v->coord.right,
241 v->coord.top, v->coord.bottom
242 );
243}
244
245void SndPlayFx(SoundID sound)
246{

Callers 15

FloodVehicleFunction · 0.85
PlayLeaveStationSoundMethod · 0.85
PlayVehicleSoundFunction · 0.85
BubbleTickFunction · 0.85
PlayLeaveStationSoundMethod · 0.85
CheckTrainCollisionFunction · 0.85
HandleBreakdownMethod · 0.85
RoadVehCrashFunction · 0.85
StartRoadVehSoundFunction · 0.85
PlayAircraftSoundFunction · 0.85
AircraftControllerFunction · 0.85

Calls 1

SndPlayScreenCoordFxFunction · 0.85

Tested by

no test coverage detected