OpenTTD Source  14.0-beta3
SaveLoadFormat Struct Reference

The format for a reader/writer type of a savegame. More...

Data Fields

const char * name
 name of the compressor/decompressor (debug-only)
 
uint32_t tag
 the 4-letter tag by which it is identified in the savegame
 
std::shared_ptr< LoadFilter >(* init_load )(std::shared_ptr< LoadFilter > chain)
 Constructor for the load filter.
 
std::shared_ptr< SaveFilter >(* init_write )(std::shared_ptr< SaveFilter > chain, byte compression)
 Constructor for the save filter.
 
byte min_compression
 the minimum compression level of this format
 
byte default_compression
 the default compression level of this format
 
byte max_compression
 the maximum compression level of this format
 

Detailed Description

The format for a reader/writer type of a savegame.

Definition at line 2604 of file saveload.cpp.


The documentation for this struct was generated from the following file: