aboutsummaryrefslogtreecommitdiff
path: root/textures/advtrains_wagon_tank_inv.png
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-01-18 23:22:06 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-01-18 23:22:06 +0100
commitfc67d4531a6cd53f29b14ce9f44da984149d9175 (patch)
tree5675c23d81f92d327b197d7c4474852f19ba3e52 /textures/advtrains_wagon_tank_inv.png
parent0030409dd34f611b90861a528d6735a44dd663f2 (diff)
parent4bc5163787c6c4c42fd14016c1c5103529d0e239 (diff)
downloadadvtrains-fc67d4531a6cd53f29b14ce9f44da984149d9175.tar.gz
advtrains-fc67d4531a6cd53f29b14ce9f44da984149d9175.tar.bz2
advtrains-fc67d4531a6cd53f29b14ce9f44da984149d9175.zip
Merged priv
Diffstat (limited to 'textures/advtrains_wagon_tank_inv.png')
-rw-r--r--textures/advtrains_wagon_tank_inv.pngbin408 -> 0 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/textures/advtrains_wagon_tank_inv.png b/textures/advtrains_wagon_tank_inv.png
deleted file mode 100644
index 03401be..0000000
--- a/textures/advtrains_wagon_tank_inv.png
+++ /dev/null
Binary files differ
an class="hl opt"><< 6, WIELD = 1 << 7, SPECIAL_1 = 1 << 8, SPECIAL_2 = 1 << 9, SPECIAL_3 = 1 << 10, SPECIAL_4 = 1 << 11, SPECIAL_5 = 1 << 12, SPECIAL_6 = 1 << 13, // clang-format off SIDES = LEFT | RIGHT | FRONT | BACK, ALL_FACES = TOP | BOTTOM | SIDES, ALL_SPECIAL = SPECIAL_1 | SPECIAL_2 | SPECIAL_3 | SPECIAL_4 | SPECIAL_5 | SPECIAL_6, NODE_TARGETS = ALL_FACES | ALL_SPECIAL, ITEM_TARGETS = INVENTORY | WIELD, // clang-format on }; struct TextureOverride { std::string id; std::string texture; override_t target; // Helper function for checking if an OverrideTarget is found in // a TextureOverride without casting inline bool hasTarget(OverrideTarget overrideTarget) const { return (target & static_cast<override_t>(overrideTarget)) != 0; } }; //! Class that provides texture override information from a texture pack class TextureOverrideSource { public: TextureOverrideSource(std::string filepath); //! Get all overrides that apply to item definitions std::vector<TextureOverride> getItemTextureOverrides(); //! Get all overrides that apply to node definitions std::vector<TextureOverride> getNodeTileOverrides(); private: std::vector<TextureOverride> m_overrides; };