|
OpenTTD Source 20260711-master-g3fb3006dff
|
Information about NewGRF Action 5. More...
#include "gfx_type.h"Go to the source code of this file.
Data Structures | |
| struct | Action5Type |
| Information about a single action 5 type. More... | |
Enumerations | |
| enum class | Action5BlockType : uint8_t { Fixed , AllowOffset , Invalid } |
| The type of action 5 type. More... | |
Functions | |
| std::span< const Action5Type > | GetAction5Types () |
| Get list of all action 5 types. | |
Information about NewGRF Action 5.
Definition in file newgrf_act5.h.
|
strong |
The type of action 5 type.
| Enumerator | |
|---|---|
| Fixed | Only allow replacing a whole block of sprites. (TTDP compatible). |
| AllowOffset | Allow replacing any subset by specifying an offset. |
| Invalid | unknown/not-implemented type |
Definition at line 16 of file newgrf_act5.h.
| std::span< const Action5Type > GetAction5Types | ( | ) |
Get list of all action 5 types.
Definition at line 88 of file newgrf_act5.cpp.
References _action5_types.
Referenced by SpriteAlignerWindow::GetWidgetString().