OpenTTD Source  20241121-master-g67a0fccfad
TextRefStack Struct Reference

Public Member Functions

uint8_t PopUnsignedByte ()
 
int8_t PopSignedByte ()
 
uint16_t PopUnsignedWord ()
 
int16_t PopSignedWord ()
 
uint32_t PopUnsignedDWord ()
 
int32_t PopSignedDWord ()
 
uint64_t PopUnsignedQWord ()
 
int64_t PopSignedQWord ()
 
void RotateTop4Words ()
 Rotate the top four words down: W1, W2, W3, W4 -> W4, W1, W2, W3.
 
void PushWord (uint16_t word)
 
void ResetStack (const GRFFile *grffile)
 

Data Fields

std::array< uint8_t, 0x30 > stack
 
uint8_t position
 
const GRFFilegrffile
 
bool used
 

Detailed Description

Definition at line 687 of file newgrf_text.cpp.


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