Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ GetSetting
Method
GetSetting
src/game/game_instance.cpp:58–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
}
57
58
int GameInstance::GetSetting(const std::string &name)
59
{
60
return GameConfig::GetConfig()->GetSetting(name);
61
}
62
63
ScriptInfo *GameInstance::FindLibrary(const std::string &library, int version)
64
{
Callers
2
DrawWidget
Method · 0.45
OnClick
Method · 0.45
Calls
1
GetConfig
Function · 0.85
Tested by
no test coverage detected