VarAction2: Add support for more varaction2 types
Add CB failure and deterministic relative types
This commit is contained in:
@@ -57,12 +57,12 @@ struct VehicleResolverObject : public ResolverObject {
|
||||
VehicleScopeResolver parent_scope; ///< Scope resolver for its parent vehicle.
|
||||
|
||||
VehicleScopeResolver relative_scope; ///< Scope resolver for an other vehicle in the chain.
|
||||
byte cached_relative_count; ///< Relative position of the other vehicle.
|
||||
VarSpriteGroupScopeOffset cached_relative_count; ///< Relative position of the other vehicle.
|
||||
|
||||
VehicleResolverObject(EngineID engine_type, const Vehicle *v, WagonOverride wagon_override, bool rotor_in_gui = false,
|
||||
CallbackID callback = CBID_NO_CALLBACK, uint32 callback_param1 = 0, uint32 callback_param2 = 0);
|
||||
|
||||
ScopeResolver *GetScope(VarSpriteGroupScope scope = VSG_SCOPE_SELF, byte relative = 0) override;
|
||||
ScopeResolver *GetScope(VarSpriteGroupScope scope = VSG_SCOPE_SELF, VarSpriteGroupScopeOffset relative = 0) override;
|
||||
|
||||
const SpriteGroup *ResolveReal(const RealSpriteGroup *group) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user