|
OpenTTD Source 20260311-master-g511d3794ce
|
This structure is the same for both Industries and Houses. More...
#include <sprite.h>
Data Fields | |
| PalSpriteID | ground |
| PalSpriteID | building |
| uint8_t | draw_proc |
| This allows to specify a special drawing procedure. | |
| Data Fields inherited from SpriteBounds | |
| Coord3D< int8_t > | origin |
| Position of northern corner within tile. | |
| Coord3D< uint8_t > | extent |
| Size of bounding box. | |
| Coord3D< int8_t > | offset |
| Relative position of sprite from bounding box. | |
Additional Inherited Members | |
| Public Member Functions inherited from SpriteBounds | |
| constexpr | SpriteBounds (const Coord3D< int8_t > &origin, const Coord3D< uint8_t > &extent, const Coord3D< int8_t > &offset) |
This structure is the same for both Industries and Houses.
Buildings here reference a general type of construction
| PalSpriteID DrawBuildingsTileStruct::building |
| uint8_t DrawBuildingsTileStruct::draw_proc |
This allows to specify a special drawing procedure.
Definition at line 93 of file sprite.h.
Referenced by DrawTile_Industry(), and DrawTile_Town().
| PalSpriteID DrawBuildingsTileStruct::ground |