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

Function InitializeOldNames

src/saveload/strings_sl.cpp:108–111  ·  view source on GitHub ↗

* Initialize the old names table memory. */

Source from the content-addressed store, hash-verified

106 * Initialize the old names table memory.
107 */
108void InitializeOldNames()
109{
110 _old_name_array = std::make_unique<std::string[]>(NUM_OLD_STRINGS); // 200 would be enough for TTO savegames
111}
112
113struct NAMEChunkHandler : ChunkHandler {
114 NAMEChunkHandler() : ChunkHandler('NAME', CH_READONLY) {}

Callers 1

InitializeGameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected