OpenTTD Source: LoadgameState Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
LoadgameState Struct Reference

## Data Fields
std::optional< FileHandle > | file
uint | chunk_size
bool | decoding
uint8_t | decode_char
uint | buffer_count
uint | buffer_cur
uint8_t | buffer [BUFFER_SIZE]
uint | total_read

## Detailed Description

Definition at line 19 of file oldloader.h.

## Field Documentation

## ◆ buffer

uint8_t LoadgameState::buffer[BUFFER_SIZE]

Definition at line 29 of file oldloader.h.

## ◆ buffer_count

uint LoadgameState::buffer_count

Definition at line 27 of file oldloader.h.

## ◆ buffer_cur

uint LoadgameState::buffer_cur

Definition at line 28 of file oldloader.h.

## ◆ chunk_size

uint LoadgameState::chunk_size

Definition at line 22 of file oldloader.h.

## ◆ decode_char

uint8_t LoadgameState::decode_char

Definition at line 25 of file oldloader.h.

## ◆ decoding

bool LoadgameState::decoding

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

Definition at line 31 of file oldloader.h.

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

- src/saveload/oldloader.h