OpenTTD Source
12.0-beta2
|
Public Member Functions | |
void | Load () const override |
Load the chunk. More... | |
void | Save () const override |
Save the chunk. More... | |
![]() | |
ChunkHandler (uint32 id, ChunkType type) | |
virtual void | FixPointers () const |
Fix the pointers. More... | |
virtual void | LoadCheck (size_t len=0) const |
Load the chunk for game preview. More... | |
Additional Inherited Members | |
![]() | |
uint32 | id |
Unique ID (4 letters). | |
ChunkType | type |
Type of the chunk. More... | |
Definition at line 329 of file map_sl.cpp.
|
inlineoverridevirtual |
Load the chunk.
Must be overridden.
Implements ChunkHandler.
Definition at line 332 of file map_sl.cpp.
|
inlineoverridevirtual |
Save the chunk.
Must be overridden, unless Chunk type is CH_READONLY.
Reimplemented from ChunkHandler.
Definition at line 343 of file map_sl.cpp.
References MapSize(), and SlSetLength().