Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ GetSound
Function
GetSound
src/newgrf_sound.cpp:50–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
49
50
SoundEntry *GetSound(SoundID index)
51
{
52
if (index >= _sounds.size()) return nullptr;
53
return &_sounds[index];
54
}
55
56
57
uint GetNumSounds()
Callers
5
StartSound
Function · 0.85
ChangeSoundSet
Function · 0.85
ImportGRFSound
Function · 0.85
GRFSound
Function · 0.85
SoundEffectChangeInfo
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected