OpenTTD Source 20241224-master-gf74b0cf984
Action5Type Struct Reference

Information about a single action 5 type. More...

#include <newgrf_act5.h>

Data Fields

Action5BlockType block_type
 How is this Action5 type processed?
 
SpriteID sprite_base
 Load the sprites starting from this sprite.
 
uint16_t min_sprites
 If the Action5 contains less sprites, the whole block will be ignored.
 
uint16_t max_sprites
 If the Action5 contains more sprites, only the first max_sprites sprites will be used.
 
const std::string_view name
 Name for error messages.
 

Detailed Description

Information about a single action 5 type.

Definition at line 21 of file newgrf_act5.h.

Field Documentation

◆ block_type

Action5BlockType Action5Type::block_type

How is this Action5 type processed?

Definition at line 22 of file newgrf_act5.h.

◆ max_sprites

uint16_t Action5Type::max_sprites

If the Action5 contains more sprites, only the first max_sprites sprites will be used.

Definition at line 25 of file newgrf_act5.h.

◆ min_sprites

uint16_t Action5Type::min_sprites

If the Action5 contains less sprites, the whole block will be ignored.

Definition at line 24 of file newgrf_act5.h.

◆ name

const std::string_view Action5Type::name

Name for error messages.

Definition at line 26 of file newgrf_act5.h.

◆ sprite_base

SpriteID Action5Type::sprite_base

Load the sprites starting from this sprite.

Definition at line 23 of file newgrf_act5.h.

Referenced by SpriteAlignerWindow::SetStringParameters().


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