|
OpenTTD Source 20251104-master-g3befbdd52f
|
Public Member Functions | |
| constexpr | SpriteBounds (const Coord3D< int8_t > &origin, const Coord3D< uint8_t > &extent, const Coord3D< int8_t > &offset) |
Data Fields | |
| 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. | |
| Coord3D<uint8_t> SpriteBounds::extent |
Size of bounding box.
Definition at line 20 of file sprite.h.
Referenced by AddSortableSpriteToDraw(), DrawFoundation(), ReadSpriteLayout(), StationChangeInfo(), Aircraft::UpdateDeltaXY(), RoadVehicle::UpdateDeltaXY(), and Train::UpdateDeltaXY().
| Coord3D<int8_t> SpriteBounds::offset |
Relative position of sprite from bounding box.
Definition at line 21 of file sprite.h.
Referenced by AddSortableSpriteToDraw(), RoadVehicle::UpdateDeltaXY(), and Train::UpdateDeltaXY().
| Coord3D<int8_t> SpriteBounds::origin |
Position of northern corner within tile.
Definition at line 19 of file sprite.h.
Referenced by AddSortableSpriteToDraw(), DrawHouseInGUI(), DrawRailCatenaryRailway(), DrawTileSeqStruct::IsParentSprite(), ReadSpriteLayout(), SpriteLayoutProcessor::SpriteLayoutProcessor(), StationChangeInfo(), Aircraft::UpdateDeltaXY(), RoadVehicle::UpdateDeltaXY(), Ship::UpdateDeltaXY(), and Train::UpdateDeltaXY().