mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Textures: introduce world-align overrides (#12540)
Many games do not care about world align textures, however texture packs should have the capabilities to change that if they have suitable textures. This commmit now introduces a node property override for world-align in particular to force a certain scale on the selected override tiles.
This commit is contained in:
@@ -57,7 +57,8 @@ struct TextureOverride
|
||||
{
|
||||
std::string id;
|
||||
std::string texture;
|
||||
override_t target;
|
||||
override_t target = 0;
|
||||
u8 world_scale = 0;
|
||||
|
||||
// Helper function for checking if an OverrideTarget is found in
|
||||
// a TextureOverride without casting
|
||||
|
Reference in New Issue
Block a user