OpenTTD Source  20241111-master-gce64d5f5d9
story_sl_compat.h File Reference

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

#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"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1211

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.