OpenTTD Source: DrawBuildingsTileStruct Struct Reference

OpenTTD Source 15.3

Data Fields
DrawBuildingsTileStruct Struct Reference

This structure is the same for both Industries and Houses. More...

`#include <sprite.h>`

Inheritance diagram for DrawBuildingsTileStruct:

## Data Fields
PalSpriteID | ground
PalSpriteID | building
uint8_t | draw_proc
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)

## Detailed Description

This structure is the same for both Industries and Houses.

Buildings here reference a general type of construction

Definition at line 81 of file sprite.h.

## Field Documentation

## ◆ building

PalSpriteID DrawBuildingsTileStruct::building

Definition at line 83 of file sprite.h.

## ◆ draw_proc

uint8_t DrawBuildingsTileStruct::draw_proc

Definition at line 84 of file sprite.h.

## ◆ ground

PalSpriteID DrawBuildingsTileStruct::ground

Definition at line 82 of file sprite.h.

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

- src/sprite.h