OpenTTD Source 20241224-master-gee860a5c8e
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.
 
const SaveLoadCompat _gamelog_revision_sl_compat []
 Original field order for SlGamelogRevision.
 
const SaveLoadCompat _gamelog_oldver_sl_compat []
 Original field order for SlGamelogOldver.
 
const SaveLoadCompat _gamelog_setting_sl_compat []
 Original field order for SlGamelogSetting.
 
const SaveLoadCompat _gamelog_grfadd_sl_compat []
 Original field order for SlGamelogGrfadd.
 
const SaveLoadCompat _gamelog_grfrem_sl_compat []
 Original field order for SlGamelogGrfrem.
 
const SaveLoadCompat _gamelog_grfcompat_sl_compat []
 Original field order for SlGamelogGrfcompat.
 
const SaveLoadCompat _gamelog_grfparam_sl_compat []
 Original field order for SlGamelogGrfparam.
 
const SaveLoadCompat _gamelog_grfmove_sl_compat []
 Original field order for SlGamelogGrfmove.
 
const SaveLoadCompat _gamelog_grfbug_sl_compat []
 Original field order for SlGamelogGrfbug.
 
const SaveLoadCompat _gamelog_emergency_sl_compat []
 Original field order for SlGamelogEmergency.
 
const SaveLoadCompat _gamelog_action_sl_compat []
 Original field order for SlGamelogAction.
 
const SaveLoadCompat _gamelog_sl_compat []
 Original field order for _gamelog_desc.
 

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:1247

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.