|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
Public Member Functions | |
| LoggedChangeOldVersion (uint32_t type, uint32_t version) | |
| void | FormatTo (std::back_insert_iterator< std::string > &output_iterator, GrfIDMapping &grf_names, GamelogActionType action_type) override |
| Format the content of this change into the given output. | |
| Public Member Functions inherited from LoggedChange | |
| LoggedChange (GamelogChangeType type=GLCT_NONE) | |
Data Fields | |
| uint32_t | type = 0 |
| type of savegame, | |
| uint32_t | version = 0 |
| major and minor version OR ttdp version | |
| Data Fields inherited from LoggedChange | |
| GamelogChangeType | ct {} |
Definition at line 69 of file gamelog_internal.h.
|
inline |
Definition at line 70 of file gamelog_internal.h.
|
inline |
Definition at line 71 of file gamelog_internal.h.
|
overridevirtual |
Format the content of this change into the given output.
| output_iterator | Destination of the formatted content. |
| grf_names | Cache/mapping of names of NewGRFs seen in the logs. |
| action_type | The context in which this method was called. |
Implements LoggedChange.
Definition at line 191 of file gamelog.cpp.
References GB(), SGT_OTTD, SGT_TTD, SGT_TTDP1, SGT_TTDP2, SGT_TTO, type, and version.
| uint32_t LoggedChangeOldVersion::type = 0 |
type of savegame,
Definition at line 75 of file gamelog_internal.h.
Referenced by FormatTo().
| uint32_t LoggedChangeOldVersion::version = 0 |
major and minor version OR ttdp version
Definition at line 76 of file gamelog_internal.h.
Referenced by FormatTo().