CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
th_sprite_properties Struct Reference

Sprite structure in the table file. More...

Public Member Functions

 th_sprite_properties (const uint8_t *pData)
 

Public Attributes

uint32_t position
 Position of the sprite in the chunk data file.
 
uint8_t width
 Width of the sprite.
 
uint8_t height
 Height of the sprite.
 

Static Public Attributes

static constexpr size_t size = 6
 

Detailed Description

Sprite structure in the table file.

https://github.com/CorsixTH/theme-hospital-spec/blob/master/format-specification.md#spritetable

Constructor & Destructor Documentation

◆ th_sprite_properties()

th_sprite_properties::th_sprite_properties ( const uint8_t *  pData)
inlineexplicit

Member Data Documentation

◆ height

uint8_t th_sprite_properties::height

Height of the sprite.

◆ position

uint32_t th_sprite_properties::position

Position of the sprite in the chunk data file.

◆ size

constexpr size_t th_sprite_properties::size = 6
staticconstexpr

◆ width

uint8_t th_sprite_properties::width

Width of the sprite.


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