OpenTTD Source  20241108-master-g80f628063a
gamelog_sl_compat.h File Reference

Loading for gamelog chunks before table headers were added. More...

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _gamelog_mode_sl_compat []
 Original field order for SlGamelogMode. More...
 
const SaveLoadCompat _gamelog_revision_sl_compat []
 Original field order for SlGamelogRevision. More...
 
const SaveLoadCompat _gamelog_oldver_sl_compat []
 Original field order for SlGamelogOldver. More...
 
const SaveLoadCompat _gamelog_setting_sl_compat []
 Original field order for SlGamelogSetting. More...
 
const SaveLoadCompat _gamelog_grfadd_sl_compat []
 Original field order for SlGamelogGrfadd. More...
 
const SaveLoadCompat _gamelog_grfrem_sl_compat []
 Original field order for SlGamelogGrfrem. More...
 
const SaveLoadCompat _gamelog_grfcompat_sl_compat []
 Original field order for SlGamelogGrfcompat. More...
 
const SaveLoadCompat _gamelog_grfparam_sl_compat []
 Original field order for SlGamelogGrfparam. More...
 
const SaveLoadCompat _gamelog_grfmove_sl_compat []
 Original field order for SlGamelogGrfmove. More...
 
const SaveLoadCompat _gamelog_grfbug_sl_compat []
 Original field order for SlGamelogGrfbug. More...
 
const SaveLoadCompat _gamelog_emergency_sl_compat []
 Original field order for SlGamelogEmergency. More...
 
const SaveLoadCompat _gamelog_action_sl_compat []
 Original field order for SlGamelogAction. More...
 
const SaveLoadCompat _gamelog_sl_compat []
 Original field order for _gamelog_desc. More...
 

Detailed Description

Loading for gamelog chunks before table headers were added.

Definition in file gamelog_sl_compat.h.

Variable Documentation

◆ _gamelog_action_sl_compat

const SaveLoadCompat _gamelog_action_sl_compat[]
Initial value:
= {
SLC_VAR("ct"),
SLC_VAR("mode"),
SLC_VAR("revision"),
SLC_VAR("oldver"),
SLC_VAR("setting"),
SLC_VAR("grfadd"),
SLC_VAR("grfrem"),
SLC_VAR("grfcompat"),
SLC_VAR("grfparam"),
SLC_VAR("grfmove"),
SLC_VAR("grfbug"),
SLC_VAR("emergency"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1211

Original field order for SlGamelogAction.

Definition at line 83 of file gamelog_sl_compat.h.

◆ _gamelog_emergency_sl_compat

const SaveLoadCompat _gamelog_emergency_sl_compat[]
Initial value:
= {
SLC_VAR("is_emergency_save"),
}

Original field order for SlGamelogEmergency.

Definition at line 78 of file gamelog_sl_compat.h.

◆ _gamelog_grfadd_sl_compat

const SaveLoadCompat _gamelog_grfadd_sl_compat[]
Initial value:
= {
SLC_VAR("grfadd.grfid"),
SLC_VAR("grfadd.md5sum"),
}

Original field order for SlGamelogGrfadd.

Definition at line 43 of file gamelog_sl_compat.h.

◆ _gamelog_grfbug_sl_compat

const SaveLoadCompat _gamelog_grfbug_sl_compat[]
Initial value:
= {
SLC_VAR("grfbug.data"),
SLC_VAR("grfbug.grfid"),
SLC_VAR("grfbug.bug"),
}

Original field order for SlGamelogGrfbug.

Definition at line 71 of file gamelog_sl_compat.h.

◆ _gamelog_grfcompat_sl_compat

const SaveLoadCompat _gamelog_grfcompat_sl_compat[]
Initial value:
= {
SLC_VAR("grfcompat.grfid"),
SLC_VAR("grfcompat.md5sum"),
}

Original field order for SlGamelogGrfcompat.

Definition at line 54 of file gamelog_sl_compat.h.

◆ _gamelog_grfmove_sl_compat

const SaveLoadCompat _gamelog_grfmove_sl_compat[]
Initial value:
= {
SLC_VAR("grfmove.grfid"),
SLC_VAR("grfmove.offset"),
}

Original field order for SlGamelogGrfmove.

Definition at line 65 of file gamelog_sl_compat.h.

◆ _gamelog_grfparam_sl_compat

const SaveLoadCompat _gamelog_grfparam_sl_compat[]
Initial value:
= {
SLC_VAR("grfparam.grfid"),
}

Original field order for SlGamelogGrfparam.

Definition at line 60 of file gamelog_sl_compat.h.

◆ _gamelog_grfrem_sl_compat

const SaveLoadCompat _gamelog_grfrem_sl_compat[]
Initial value:
= {
SLC_VAR("grfrem.grfid"),
}

Original field order for SlGamelogGrfrem.

Definition at line 49 of file gamelog_sl_compat.h.

◆ _gamelog_mode_sl_compat

const SaveLoadCompat _gamelog_mode_sl_compat[]
Initial value:
= {
SLC_VAR("mode.mode"),
SLC_VAR("mode.landscape"),
}

Original field order for SlGamelogMode.

Definition at line 16 of file gamelog_sl_compat.h.

◆ _gamelog_oldver_sl_compat

const SaveLoadCompat _gamelog_oldver_sl_compat[]
Initial value:
= {
SLC_VAR("oldver.type"),
SLC_VAR("oldver.version"),
}

Original field order for SlGamelogOldver.

Definition at line 30 of file gamelog_sl_compat.h.

◆ _gamelog_revision_sl_compat

const SaveLoadCompat _gamelog_revision_sl_compat[]
Initial value:
= {
SLC_VAR("revision.text"),
SLC_VAR("revision.newgrf"),
SLC_VAR("revision.slver"),
SLC_VAR("revision.modified"),
}

Original field order for SlGamelogRevision.

Definition at line 22 of file gamelog_sl_compat.h.

◆ _gamelog_setting_sl_compat

const SaveLoadCompat _gamelog_setting_sl_compat[]
Initial value:
= {
SLC_VAR("setting.name"),
SLC_VAR("setting.oldval"),
SLC_VAR("setting.newval"),
}

Original field order for SlGamelogSetting.

Definition at line 36 of file gamelog_sl_compat.h.

◆ _gamelog_sl_compat

const SaveLoadCompat _gamelog_sl_compat[]
Initial value:
= {
SLC_VAR("at"),
SLC_VAR("tick"),
SLC_VAR("action"),
}

Original field order for _gamelog_desc.

Definition at line 99 of file gamelog_sl_compat.h.