|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
Class defining some overloaded accessors so we don't have to cast SpriteGroups that often. More...
#include <newgrf_spritegroup.h>
Public Member Functions | |
| SpecializedSpriteGroup (SpriteGroupID index) | |
Static Public Member Functions | |
| template<typename... Targs> | |
| static T * | Create (Targs &&... args) |
| Creates a new T-object in the SpriteGroup pool. | |
| Static Public Member Functions inherited from SpriteGroup | |
| static ResolverResult | Resolve (const SpriteGroup *group, ResolverObject &object, bool top_level=true) |
| ResolverObject (re)entry point. | |
Additional Inherited Members | |
| Data Fields inherited from SpriteGroup | |
| uint32_t | nfo_line = 0 |
| Protected Member Functions inherited from SpriteGroup | |
| SpriteGroup (SpriteGroupID index) | |
| virtual ResolverResult | Resolve (ResolverObject &object) const =0 |
| Resolves a callback or rerandomisation callback to a NewGRF. | |
Class defining some overloaded accessors so we don't have to cast SpriteGroups that often.
Definition at line 70 of file newgrf_spritegroup.h.
|
inline |
Definition at line 71 of file newgrf_spritegroup.h.
|
inlinestatic |
Creates a new T-object in the SpriteGroup pool.
| args | The arguments to the constructor. |
Definition at line 79 of file newgrf_spritegroup.h.