OpenTTD Source
20241108-master-g80f628063a
|
Types related to sprite sorting. More...
Go to the source code of this file.
Data Structures | |
struct | ParentSpriteToDraw |
Parent sprite that should be drawn. More... | |
Typedefs | |
typedef std::vector< ParentSpriteToDraw * > | ParentSpriteToSortVector |
typedef bool(* | VpSorterChecker) () |
Type for method for checking whether a viewport sprite sorter exists. | |
typedef void(* | VpSpriteSorter) (ParentSpriteToSortVector *psd) |
Type for the actual viewport sprite sorter. | |
Functions | |
void | InitializeSpriteSorter () |
Choose the "best" sprite sorter and set _vp_sprite_sorter. | |
Types related to sprite sorting.
Definition in file viewport_sprite_sorter.h.