OpenTTD Source: LoadgameState Struct Reference

OpenTTD Source 15.3

Data Fields
LoadgameState Struct Reference

## Data Fields
std::optional< FileHandle > | file
uint | chunk_size = 0
bool | decoding = false
uint8_t | decode_char = 0
uint | buffer_count = 0
uint | buffer_cur = 0
std::array< uint8_t, BUFFER_SIZE > | buffer {}
uint | total_read = 0
uint8_t | vehicle_multiplier = 1
| TTDPatch vehicle multiplier.
std::vector< StringID > | vehicle_names

## Detailed Description

Definition at line 19 of file oldloader.h.

## Field Documentation

## ◆ buffer

std::array<uint8_t, BUFFER_SIZE> LoadgameState::buffer {}

Definition at line 29 of file oldloader.h.

## ◆ buffer_count

uint LoadgameState::buffer_count = 0

Definition at line 27 of file oldloader.h.

## ◆ buffer_cur

uint LoadgameState::buffer_cur = 0

Definition at line 28 of file oldloader.h.

## ◆ chunk_size

uint LoadgameState::chunk_size = 0

Definition at line 22 of file oldloader.h.

## ◆ decode_char

uint8_t LoadgameState::decode_char = 0

Definition at line 25 of file oldloader.h.

## ◆ decoding

bool LoadgameState::decoding = false

Definition at line 24 of file oldloader.h.

## ◆ file

std::optional<FileHandle> LoadgameState::file

Definition at line 20 of file oldloader.h.

## ◆ total_read

uint LoadgameState::total_read = 0

Definition at line 31 of file oldloader.h.

## ◆ vehicle_multiplier

uint8_t LoadgameState::vehicle_multiplier = 1

TTDPatch vehicle multiplier.

Definition at line 33 of file oldloader.h.

## ◆ vehicle_names

std::vector<StringID> LoadgameState::vehicle_names

Definition at line 34 of file oldloader.h.

The documentation for this struct was generated from the following file:

- src/saveload/oldloader.h