OpenTTD Source: src/saveload/compat/story_sl_compat.h File Reference

OpenTTD Source 13.1

Variables
story_sl_compat.h File Reference
`#include "../saveload.h"`

Go to the source code of this file.

## Variables
const SaveLoadCompat | _story_page_elements_sl_compat []
| Original field order for _story_page_elements_desc. More...
const SaveLoadCompat | _story_pages_sl_compat []
| Original field order for _story_pages_desc. More...

## Detailed Description

Loading for story chunks before table headers were added.

Definition in file story_sl_compat.h.

## Variable Documentation

## ◆ _story_page_elements_sl_compat

const SaveLoadCompat _story_page_elements_sl_compat[]

Initial value:
= {
SLC_VAR("sort_value"),
SLC_VAR("page"),
SLC_VAR("type"),
SLC_VAR("referenced_id"),
SLC_VAR("text"),
}

Original field order for _story_page_elements_desc.

Definition at line 16 of file story_sl_compat.h.

## ◆ _story_pages_sl_compat

const SaveLoadCompat _story_pages_sl_compat[]

Initial value:
= {
SLC_VAR("sort_value"),
SLC_VAR("date"),
SLC_VAR("company"),
SLC_VAR("title"),
}

Original field order for _story_pages_desc.

Definition at line 25 of file story_sl_compat.h.

SLC_VAR
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1011