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

Loading of town chunks before table headers were added. More...

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _town_supplied_sl_compat []
 Original field order for SlTownSupplied. More...
 
const SaveLoadCompat _town_received_sl_compat []
 Original field order for SlTownReceived. More...
 
const SaveLoadCompat _town_acceptance_matrix_sl_compat []
 Original field order for SlTownAcceptanceMatrix. More...
 
const SaveLoadCompat _town_sl_compat []
 Original field order for town_desc.
 

Detailed Description

Loading of town chunks before table headers were added.

Definition in file town_sl_compat.h.

Variable Documentation

◆ _town_acceptance_matrix_sl_compat

const SaveLoadCompat _town_acceptance_matrix_sl_compat[]
Initial value:
= {
SLC_VAR("area.tile"),
SLC_VAR("area.w"),
SLC_VAR("area.h"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1211

Original field order for SlTownAcceptanceMatrix.

Definition at line 32 of file town_sl_compat.h.

◆ _town_received_sl_compat

const SaveLoadCompat _town_received_sl_compat[]
Initial value:
= {
SLC_VAR("old_max"),
SLC_VAR("new_max"),
SLC_VAR("old_act"),
SLC_VAR("new_act"),
}

Original field order for SlTownReceived.

Definition at line 24 of file town_sl_compat.h.

◆ _town_supplied_sl_compat

const SaveLoadCompat _town_supplied_sl_compat[]
Initial value:
= {
SLC_VAR("old_max"),
SLC_VAR("new_max"),
SLC_VAR("old_act"),
SLC_VAR("new_act"),
}

Original field order for SlTownSupplied.

Definition at line 16 of file town_sl_compat.h.