OpenTTD Source
12.0-beta2
|
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_GRFADD
Removed GRF.
@ GLCT_GRFBUG
GRF bug triggered.
uint32 newgrf
_openttd_newgrf_version
char * name
name of the setting
byte mode
new game mode - Editor x Game
int32 offset
offset, positive = move down
@ GLCT_GRFMOVE
GRF order changed.
uint32 type
type of savegame,
uint16 tick
Tick when it happened.
@ GLCT_EMERGENCY
Emergency savegame.
@ GLCT_REVISION
Changed game revision string.
GamelogActionType at
Type of action.
byte landscape
landscape (temperate, arctic, ...)
Basic data to distinguish a GRF.
uint32 changes
Number of changes in this action.
byte modified
_openttd_revision_modified
LoggedAction * _gamelog_action
first logged action
uint64 data
additional data
GamelogChangeType
Type of logged change.
@ GLCT_NONE
In savegames, end of list.
LoggedChange * change
First logged change in this action.
@ GLCT_GRFCOMPAT
Loading compatible GRF.
uint32 grfid
ID of removed GRF.
GamelogChangeType ct
Type of change logged in this struct.
@ GLCT_GRFPARAM
GRF parameter changed.
@ GLCT_END
So we know how many GLCTs are there.
GRFIdentifier grfadd
ID and md5sum of added GRF.
@ GLCT_OLDVER
Loaded from savegame without logged data.
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.
@ GLCT_MODE
Scenario editor x Game, different landscape.
GamelogActionType
The actions we log.
Contains information about one logged action that caused at least one logged change.
uint32 version
major and minor version OR ttdp version