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

Method Save

src/saveload/ai_sl.cpp:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 void Save() const override
160 {
161 SlTableHeader(_ai_company_desc);
162
163 for (CompanyID i = CompanyID::Begin(); i < MAX_COMPANIES; ++i) {
164 SlSetArrayIndex(i);
165 SlAutolength(SaveReal_AIPL, i.base());
166 }
167 }
168};
169
170static const AIPLChunkHandler AIPL;

Callers

nothing calls this directly

Calls 5

SlTableHeaderFunction · 0.85
BeginFunction · 0.85
SlAutolengthFunction · 0.85
SlSetArrayIndexFunction · 0.70
baseMethod · 0.45

Tested by

no test coverage detected