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

Function GetConfig

src/script/script_gui.cpp:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48static ScriptConfig *GetConfig(CompanyID slot)
49{
50 if (slot == OWNER_DEITY) return GameConfig::GetConfig();
51 return AIConfig::GetConfig(slot);
52}
53
54/**
55 * Window that let you choose an available Script.

Callers 15

AILoadConfigFunction · 0.85
GameLoadConfigFunction · 0.85
AISaveConfigFunction · 0.85
GameSaveConfigFunction · 0.85
ConStartAIFunction · 0.85
StartNewMethod · 0.85
GetSettingMethod · 0.85
GSConfigWindowMethod · 0.85
GetTextMethod · 0.85
OnClickMethod · 0.85
OnInvalidateDataMethod · 0.85
ScriptListWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected