OpenTTD Source 20241224-master-gee860a5c8e
|
Data structure storing rendering information. More...
Data Fields | |
DrawPixelInfo | dpi |
StringSpriteToDrawVector | string_sprites_to_draw |
TileSpriteToDrawVector | tile_sprites_to_draw |
ParentSpriteToDrawVector | parent_sprites_to_draw |
ParentSpriteToSortVector | parent_sprites_to_sort |
Parent sprite pointer array used for sorting. | |
ChildScreenSpriteToDrawVector | child_screen_sprites_to_draw |
int | last_child |
SpriteCombineMode | combine_sprites |
Current mode of "sprite combining". | |
int | foundation [FOUNDATION_PART_END] |
Foundation sprites (index into parent_sprites_to_draw). | |
FoundationPart | foundation_part |
Currently active foundation for ground sprite drawing. | |
int | last_foundation_child [FOUNDATION_PART_END] |
Tail of ChildSprite list of the foundations. (index into child_screen_sprites_to_draw) | |
Point | foundation_offset [FOUNDATION_PART_END] |
Pixel offset for ground sprites on the foundations. | |
Data structure storing rendering information.
Definition at line 168 of file viewport.cpp.
ChildScreenSpriteToDrawVector ViewportDrawer::child_screen_sprites_to_draw |
Definition at line 175 of file viewport.cpp.
SpriteCombineMode ViewportDrawer::combine_sprites |
Current mode of "sprite combining".
Definition at line 179 of file viewport.cpp.
Referenced by AddSortableSpriteToDraw(), EndSpriteCombine(), and StartSpriteCombine().
DrawPixelInfo ViewportDrawer::dpi |
Definition at line 169 of file viewport.cpp.
int ViewportDrawer::foundation[FOUNDATION_PART_END] |
Foundation sprites (index into parent_sprites_to_draw).
Definition at line 181 of file viewport.cpp.
Referenced by AddChildSpriteToFoundation(), DrawGroundSpriteAt(), DrawSelectionSprite(), OffsetGroundSprite(), and ViewportAddLandscape().
Point ViewportDrawer::foundation_offset[FOUNDATION_PART_END] |
Pixel offset for ground sprites on the foundations.
Definition at line 184 of file viewport.cpp.
Referenced by AddChildSpriteToFoundation(), and OffsetGroundSprite().
FoundationPart ViewportDrawer::foundation_part |
Currently active foundation for ground sprite drawing.
Definition at line 182 of file viewport.cpp.
Referenced by DrawGroundSpriteAt(), OffsetGroundSprite(), and ViewportAddLandscape().
int ViewportDrawer::last_child |
Definition at line 177 of file viewport.cpp.
int ViewportDrawer::last_foundation_child[FOUNDATION_PART_END] |
Tail of ChildSprite list of the foundations. (index into child_screen_sprites_to_draw)
Definition at line 183 of file viewport.cpp.
Referenced by AddChildSpriteScreen(), AddChildSpriteToFoundation(), OffsetGroundSprite(), and ViewportAddLandscape().
ParentSpriteToDrawVector ViewportDrawer::parent_sprites_to_draw |
Definition at line 173 of file viewport.cpp.
ParentSpriteToSortVector ViewportDrawer::parent_sprites_to_sort |
Parent sprite pointer array used for sorting.
Definition at line 174 of file viewport.cpp.
StringSpriteToDrawVector ViewportDrawer::string_sprites_to_draw |
Definition at line 171 of file viewport.cpp.
TileSpriteToDrawVector ViewportDrawer::tile_sprites_to_draw |
Definition at line 172 of file viewport.cpp.