12 #ifndef GAMELOG_INTERNAL_H 13 #define GAMELOG_INTERNAL_H
byte modified
_openttd_revision_modified
Loaded from savegame without logged data.
GamelogChangeType ct
Type of change logged in this struct.
Functions to be called to log possibly unsafe game events.
In savegames, end of list.
uint32 changes
Number of changes in this action.
uint32 grfid
ID of removed GRF.
So we know how many GLCTs are there.
Configuration options of the network stuff.
Non-networksafe setting value changed.
GRFIdentifier grfcompat
ID and new md5sum of changed GRF.
Basic data to distinguish a GRF.
GamelogActionType
The actions we log.
GRFIdentifier grfadd
ID and md5sum of added GRF.
uint32 newgrf
_openttd_newgrf_version
uint32 type
type of savegame,
Contains information about one logged action that caused at least one logged change.
LoggedAction * _gamelog_action
first logged action
char text[NETWORK_REVISION_LENGTH]
revision string, _openttd_revision
byte mode
new game mode - Editor x Game
uint32 version
major and minor version OR ttdp version
uint16 tick
Tick when it happened.
Scenario editor x Game, different landscape.
Changed game revision string.
char * name
name of the setting
GamelogActionType at
Type of action.
GamelogChangeType
Type of logged change.
LoggedChange * change
First logged change in this action.
uint _gamelog_actions
number of actions
Contains information about one logged change.
byte landscape
landscape (temperate, arctic, ...)
int32 offset
offset, positive = move down
uint64 data
additional data
static const uint NETWORK_REVISION_LENGTH
The maximum length of the revision, in bytes including '\0'.