Minetest  5.4.0
texture_override.h File Reference
#include "irrlichttypes.h"
#include <string>
#include <vector>
+ Include dependency graph for texture_override.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TextureOverride
 
class  TextureOverrideSource
 Class that provides texture override information from a texture pack. More...
 

Typedefs

typedef u16 override_t
 

Enumerations

enum class  OverrideTarget : override_t {
  INVALID = 0 , TOP = 1 << 0 , BOTTOM = 1 << 1 , LEFT = 1 << 2 ,
  RIGHT = 1 << 3 , FRONT = 1 << 4 , BACK = 1 << 5 , INVENTORY = 1 << 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 , 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
}
 Bitmask enum specifying what a texture override should apply to. More...
 

Typedef Documentation

◆ override_t

typedef u16 override_t

Enumeration Type Documentation

◆ OverrideTarget

enum OverrideTarget : override_t
strong

Bitmask enum specifying what a texture override should apply to.

Enumerator
INVALID 
TOP 
BOTTOM 
LEFT 
RIGHT 
FRONT 
BACK 
INVENTORY 
WIELD 
SPECIAL_1 
SPECIAL_2 
SPECIAL_3 
SPECIAL_4 
SPECIAL_5 
SPECIAL_6 
SIDES 
ALL_FACES 
ALL_SPECIAL 
NODE_TARGETS 
ITEM_TARGETS