|
OpenTTD Source
14.0-beta1
|
Go to the documentation of this file.
37 uint32_t
GetVariable(
byte variable, [[maybe_unused]] uint32_t parameter,
bool *available)
const override;
38 void StorePSA(uint reg, int32_t value)
override;
Town * t
Town of the scope.
TownScopeResolver town_scope
Scope resolver specific for towns.
Interface for SpriteGroup-s to access the gamestate.
const GRFFile * grffile
GRFFile the resolved SpriteGroup belongs to.
Interface to query and set values specific to a single VarSpriteGroupScope (action 2 scope).
@ VSG_SCOPE_SELF
Resolved object itself.
bool readonly
When set, persistent storage of the town is read-only,.
ScopeResolver * GetScope(VarSpriteGroupScope scope=VSG_SCOPE_SELF, byte relative=0) override
Get a resolver for the scope.
Resolver of town properties.
virtual ScopeResolver * GetScope(VarSpriteGroupScope scope=VSG_SCOPE_SELF, byte relative=0)
Get a resolver for the scope.
Scope resolver for a town.
TownResolverObject(const struct GRFFile *grffile, Town *t, bool readonly)
Resolver for a town.
TownScopeResolver(ResolverObject &ro, Town *t, bool readonly)
Resolver of a town scope.
void StorePSA(uint reg, int32_t value) override
Store a value into the persistent storage area (PSA).
uint32_t GetVariable(byte variable, [[maybe_unused]] uint32_t parameter, bool *available) const override
Get a variable value.
ResolverObject & ro
Surrounding resolver object.
Dynamic data of a loaded NewGRF.