Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
245
void 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
ShowNewspaper
Function · 0.85
ShowTicker
Function · 0.85
SndClickBeep
Function · 0.85
SndConfirmBeep
Function · 0.85
company_cmd.cpp
File · 0.85
Calls
1
StartSound
Function · 0.85
Tested by
no test coverage detected