OpenTTD: src/saveload/group_sl.cpp File Reference

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

Functions | Variables
group_sl.cpp File Reference

Code handling saving and loading of economy data. More...

`#include "../stdafx.h"`
`#include "../group.h"`
`#include "saveload.h"`
`#include "../safeguards.h"`

Go to the source code of this file.

## Functions
static void | Save_GRPS ()
static void | Load_GRPS ()

## Variables
static const SaveLoad | _group_desc []
const ChunkHandler | _group_chunk_handlers []

## Detailed Description

Code handling saving and loading of economy data.

Definition in file group_sl.cpp.

## Variable Documentation

const ChunkHandler _group_chunk_handlers[]

Initial value:
{
{ 'GRPS', Save_GRPS, Load_GRPS, NULL, NULL, CH_ARRAY | CH_LAST},
}

const SaveLoad _group_desc[]
| static

Initial value:
{
SLE_CONDVAR(Group, name, SLE_NAME, 0, 83),
SLE_CONDSTR(Group, name, SLE_STR | SLF_ALLOW_CONTROL, 0, 84, SL_MAX_VERSION),
SLE_CONDNULL(2, 0, 163),
SLE_VAR(Group, owner, SLE_UINT8),
SLE_VAR(Group, vehicle_type, SLE_UINT8),
SLE_VAR(Group, replace_protection, SLE_BOOL),
SLE_CONDVAR(Group, parent, SLE_UINT16, 189, SL_MAX_VERSION),
}

Definition at line 19 of file group_sl.cpp.