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

Function SlSaveChunks

src/saveload/saveload.cpp:2288–2296  ·  view source on GitHub ↗

Save all chunks */

Source from the content-addressed store, hash-verified

2286
2287/** Save all chunks */
2288static void SlSaveChunks()
2289{
2290 for (auto &ch : ChunkHandlers()) {
2291 SlSaveChunk(ch);
2292 }
2293
2294 /* Terminator */
2295 SlWriteUint32(0);
2296}
2297
2298/**
2299 * Find the ChunkHandler that will be used for processing the found

Callers 1

DoSaveFunction · 0.85

Calls 2

SlSaveChunkFunction · 0.85
SlWriteUint32Function · 0.85

Tested by

no test coverage detected