OpenTTD Source 20241224-master-gee860a5c8e
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.
 
const SaveLoadCompat _story_pages_sl_compat []
 Original field order for _story_pages_desc.
 

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

Original field order for _story_page_elements_desc.

Definition at line 16 of file story_sl_compat.h.

Referenced by STPEChunkHandler::Load().

◆ _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.

Referenced by STPAChunkHandler::Load().