OpenTTD Source 20260206-master-g4d4e37dbf1
OldChunks Struct Reference

Data Fields

OldChunkType type
 Type of field.
uint32_t amount
 Amount of fields.
void * ptr
 Pointer where to save the data (takes precedence over offset).
OffsetProc * offset
 Pointer to function that returns the actual memory address of a member (ignored if ptr is not nullptr).
OldChunkProc * proc
 Pointer to function that is called with OC_CHUNK.

Detailed Description

Definition at line 84 of file oldloader.h.

Field Documentation

◆ amount

uint32_t OldChunks::amount

Amount of fields.

Definition at line 86 of file oldloader.h.

◆ offset

OffsetProc* OldChunks::offset

Pointer to function that returns the actual memory address of a member (ignored if ptr is not nullptr).

Definition at line 89 of file oldloader.h.

◆ proc

OldChunkProc* OldChunks::proc

Pointer to function that is called with OC_CHUNK.

Definition at line 90 of file oldloader.h.

◆ ptr

void* OldChunks::ptr

Pointer where to save the data (takes precedence over offset).

Definition at line 88 of file oldloader.h.

◆ type

OldChunkType OldChunks::type

Type of field.

Definition at line 85 of file oldloader.h.

Referenced by LoadChunk().


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