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

Function SndPlayFx

src/sound.cpp:245–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void SndPlayFx(SoundID sound)
246{
247 StartSound(sound, 0.5, UINT8_MAX);
248}
249
250/**
251 * Play a beep sound for a click event if enabled in settings.

Callers 5

ShowNewspaperFunction · 0.85
ShowTickerFunction · 0.85
SndClickBeepFunction · 0.85
SndConfirmBeepFunction · 0.85
company_cmd.cppFile · 0.85

Calls 1

StartSoundFunction · 0.85

Tested by

no test coverage detected