OpenTTD Source 20250909-master-g033114da8c
|
This file defines all the the animated cursors. More...
Go to the source code of this file.
Variables | |
static constexpr AnimCursor | _demolish_animcursor [] |
Animated cursor elements for demolition. | |
static constexpr AnimCursor | _lower_land_animcursor [] |
Animated cursor elements for lower land. | |
static constexpr AnimCursor | _raise_land_animcursor [] |
Animated cursor elements for raise land. | |
static constexpr AnimCursor | _order_goto_animcursor [] |
Animated cursor elements for the goto icon. | |
static constexpr AnimCursor | _build_signals_animcursor [] |
Animated cursor elements for the build signal icon. | |
static constexpr std::span< const AnimCursor > | _animcursors [] |
This is an array of pointers to all the animated cursor definitions we have above. | |
This file defines all the the animated cursors.
Animated cursors consist of the number of sprites that are displayed in a round-robin manner. Each sprite also has a time associated that indicates how many ticks the corresponding sprite is to be displayed.
Definition in file animcursors.h.
|
staticconstexpr |
This is an array of pointers to all the animated cursor definitions we have above.
This is the only thing that is accessed directly from other files
Definition at line 67 of file animcursors.h.
Referenced by SetObjectToPlace().
|
staticconstexpr |
Animated cursor elements for the build signal icon.
Definition at line 57 of file animcursors.h.
|
staticconstexpr |
Animated cursor elements for demolition.
Definition at line 20 of file animcursors.h.
|
staticconstexpr |
Animated cursor elements for lower land.
Definition at line 30 of file animcursors.h.
|
staticconstexpr |
Animated cursor elements for the goto icon.
Definition at line 48 of file animcursors.h.
|
staticconstexpr |
Animated cursor elements for raise land.
Definition at line 39 of file animcursors.h.