|
OpenTTD Source 20261112-master-gbcbec5e63f
|
Handling of primarily NewGRF action 2. More...
#include "stdafx.h"#include "debug.h"#include "newgrf_spritegroup.h"#include "newgrf_profiling.h"#include "core/pool_func.hpp"#include "safeguards.h"Go to the source code of this file.
Data Structures | |
| struct | UnhandledVariableItem |
| Record of unhandled variables. More... | |
Functions | |
| static uint32_t | GetVariable (const ResolverObject &object, ScopeResolver *scope, uint8_t variable, uint32_t parameter, bool &available) |
| void | ResetUnhandledVariableWarnings () |
| Reset unhandled variable warnings. | |
| template<typename U, typename S> | |
| static U | EvalAdjustT (const DeterministicSpriteGroupAdjust &adjust, ResolverObject &object, ScopeResolver *scope, U last_value, uint32_t value) |
| static bool | RangeHighComparator (const DeterministicSpriteGroupRange &range, uint32_t value) |
Variables | |
| SpriteGroupPool | _spritegroup_pool ("SpriteGroup") |
| std::set< UnhandledVariableItem > | _unhandled_variables |
| Set of unhandled variables that have been seen. | |
Handling of primarily NewGRF action 2.
Definition in file newgrf_spritegroup.cpp.
|
static |
Definition at line 182 of file newgrf_spritegroup.cpp.
|
inlinestatic |
Definition at line 54 of file newgrf_spritegroup.cpp.
|
static |
Definition at line 222 of file newgrf_spritegroup.cpp.
| void ResetUnhandledVariableWarnings | ( | ) |
Reset unhandled variable warnings.
Definition at line 162 of file newgrf_spritegroup.cpp.
References _unhandled_variables.
Referenced by ResetNewGRFData().
| std::set<UnhandledVariableItem> _unhandled_variables |
Set of unhandled variables that have been seen.
Definition at line 157 of file newgrf_spritegroup.cpp.
Referenced by ResetUnhandledVariableWarnings(), and ResolverObject::UnhandledVariable().