|
OpenTTD Source 20260711-master-g3fb3006dff
|
SaveLoad information for backwards compatibility. More...
#include <saveload.h>
Data Fields | |
| std::string_view | name |
| Name of the field. | |
| uint16_t | null_length |
| Length of the NULL field. | |
| SaveLoadVersion | version_from |
| Save/load the variable starting from this savegame version. | |
| SaveLoadVersion | version_to |
| Save/load the variable before this savegame version. | |
SaveLoad information for backwards compatibility.
At SaveLoadVersion::TableChunks a new method of keeping track of fields in a savegame was added, where the order of fields is no longer important. For older savegames we still need to know the correct order. This struct is the glue to make that happen.
Definition at line 807 of file saveload.h.
| std::string_view SaveLoadCompat::name |
Name of the field.
Definition at line 808 of file saveload.h.
| uint16_t SaveLoadCompat::null_length |
Length of the NULL field.
Definition at line 809 of file saveload.h.
| SaveLoadVersion SaveLoadCompat::version_from |
Save/load the variable starting from this savegame version.
Definition at line 810 of file saveload.h.
| SaveLoadVersion SaveLoadCompat::version_to |
Save/load the variable before this savegame version.
Definition at line 811 of file saveload.h.