Class that provides texture override information from a texture pack.
Definition texture_override.h:56
std::vector< TextureOverride > getItemTextureOverrides() const
Get all overrides that apply to item definitions.
Definition texture_override.cpp:105
TextureOverrideSource(const std::string &filepath)
Definition texture_override.cpp:36
std::vector< TextureOverride > getNodeTileOverrides() const
Get all overrides that apply to node definitions.
Definition texture_override.cpp:118
std::vector< TextureOverride > m_overrides
Definition texture_override.h:67
Definition texture_override.h:40
u8 world_scale
Definition texture_override.h:44
bool hasTarget(OverrideTarget overrideTarget) const
Definition texture_override.h:48
std::string texture
Definition texture_override.h:42
std::string id
Definition texture_override.h:41
override_t target
Definition texture_override.h:43
OverrideTarget
Bitmask enum specifying what a texture override should apply to.
Definition texture_override.h:15
u16 override_t
Definition texture_override.h:11