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

Function SlSkipArray

src/saveload/saveload.cpp:719–724  ·  view source on GitHub ↗

* Skip an array or sparse array */

Source from the content-addressed store, hash-verified

717 * Skip an array or sparse array
718 */
719void SlSkipArray()
720{
721 while (SlIterateArray() != -1) {
722 SlSkipBytes(_next_offs - _sl.reader->GetSize());
723 }
724}
725
726/**
727 * Sets the length of either a RIFF object or the number of items in an array.

Callers 2

LoadCheckMethod · 0.85
LoadMethod · 0.85

Calls 3

SlIterateArrayFunction · 0.85
SlSkipBytesFunction · 0.85
GetSizeMethod · 0.45

Tested by

no test coverage detected