| OpenTTD
    | 
Parent sprite that should be drawn. More...
#include <viewport_sprite_sorter.h>
| Data Fields | |
| int32 | xmin | 
| minimal world X coordinate of bounding box | |
| int32 | ymin | 
| minimal world Y coordinate of bounding box | |
| int32 | zmin | 
| minimal world Z coordinate of bounding box | |
| int32 | x | 
| screen X coordinate of sprite | |
| int32 | xmax | 
| maximal world X coordinate of bounding box | |
| int32 | ymax | 
| maximal world Y coordinate of bounding box | |
| int32 | zmax | 
| maximal world Z coordinate of bounding box | |
| int32 | y | 
| screen Y coordinate of sprite | |
| SpriteID | image | 
| sprite to draw | |
| PaletteID | pal | 
| palette to use | |
| const SubSprite * | sub | 
| only draw a rectangular part of the sprite | |
| int32 | left | 
| minimal screen X coordinate of sprite (= x + sprite->x_offs), reference point for child sprites | |
| int32 | top | 
| minimal screen Y coordinate of sprite (= y + sprite->y_offs), reference point for child sprites | |
| int | first_child | 
| the first child to draw. | |
| bool | comparison_done | 
| Used during sprite sorting: true if sprite has been compared with all other sprites. | |
Parent sprite that should be drawn.
Definition at line 20 of file viewport_sprite_sorter.h.
 1.8.1.2
 1.8.1.2