OpenTTD Source 20241224-master-gf74b0cf984
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 87 of file oldloader.h.

Field Documentation

◆ amount

uint32_t OldChunks::amount

Amount of fields.

Definition at line 89 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 92 of file oldloader.h.

◆ proc

OldChunkProc* OldChunks::proc

Pointer to function that is called with OC_CHUNK.

Definition at line 93 of file oldloader.h.

◆ ptr

void* OldChunks::ptr

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

Definition at line 91 of file oldloader.h.

◆ type

OldChunkType OldChunks::type

Type of field.

Definition at line 88 of file oldloader.h.

Referenced by LoadChunk().


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