Go to the documentation of this file.
10 #ifndef GAMELOG_INTERNAL_H
11 #define GAMELOG_INTERNAL_H
33 static const uint GAMELOG_REVISION_LENGTH = 15;
44 char text[GAMELOG_REVISION_LENGTH];
@ GLCT_GRFBUG
GRF bug triggered.
uint32 newgrf
_openttd_newgrf_version
char * name
name of the setting
@ GLCT_END
So we know how many GLCTs are there.
@ GLCT_EMERGENCY
Emergency savegame.
byte mode
new game mode - Editor x Game
int32 offset
offset, positive = move down
uint32 type
type of savegame,
@ GLCT_REVISION
Changed game revision string.
uint16 tick
Tick when it happened.
GamelogActionType at
Type of action.
@ GLCT_GRFPARAM
GRF parameter changed.
@ GLCT_GRFADD
Removed GRF.
byte landscape
landscape (temperate, arctic, ...)
GamelogActionType
The actions we log.
@ GLCT_NONE
In savegames, end of list.
Basic data to distinguish a GRF.
uint32 changes
Number of changes in this action.
byte modified
_openttd_revision_modified
@ GLCT_OLDVER
Loaded from savegame without logged data.
LoggedAction * _gamelog_action
first logged action
uint64 data
additional data
@ GLCT_MODE
Scenario editor x Game, different landscape.
@ GLCT_GRFMOVE
GRF order changed.
GamelogChangeType
Type of logged change.
LoggedChange * change
First logged change in this action.
uint32 grfid
ID of removed GRF.
GamelogChangeType ct
Type of change logged in this struct.
@ GLCT_GRFCOMPAT
Loading compatible GRF.
GRFIdentifier grfadd
ID and md5sum of added GRF.
GRFIdentifier grfcompat
ID and new md5sum of changed GRF.
uint _gamelog_actions
number of actions
char text[GAMELOG_REVISION_LENGTH]
revision string, _openttd_revision
@ GLCT_SETTING
Non-networksafe setting value changed.
Contains information about one logged change.
Contains information about one logged action that caused at least one logged change.
uint32 version
major and minor version OR ttdp version