Luanti 5.16.0-dev
Loading...
Searching...
No Matches
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 u32 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 , OVERLAY_TOP = 1 << 14 ,
  OVERLAY_BOTTOM = 1 << 15 , OVERLAY_RIGHT = 1 << 16 , OVERLAY_LEFT = 1 << 17 , OVERLAY_FRONT = 1 << 18 ,
  OVERLAY_BACK = 1 << 19 , SIDES = LEFT | RIGHT | FRONT | BACK , ALL_FACES = TOP | BOTTOM | SIDES , ALL_SPECIAL = SPECIAL_1 | SPECIAL_2 | SPECIAL_3 | SPECIAL_4 | SPECIAL_5 | SPECIAL_6 ,
  OVERLAY_SIDES = OVERLAY_LEFT | OVERLAY_RIGHT | OVERLAY_FRONT | OVERLAY_BACK , OVERLAY_ALL = OVERLAY_TOP | OVERLAY_BOTTOM | OVERLAY_SIDES , NODE_TARGETS = ALL_FACES | ALL_SPECIAL | OVERLAY_ALL , ITEM_TARGETS = INVENTORY | WIELD
}
 Bitmask enum specifying what a texture override should apply to. More...

Typedef Documentation

◆ override_t

typedef u32 override_t

Enumeration Type Documentation

◆ OverrideTarget

enum class 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 
OVERLAY_TOP 
OVERLAY_BOTTOM 
OVERLAY_RIGHT 
OVERLAY_LEFT 
OVERLAY_FRONT 
OVERLAY_BACK 
SIDES 
ALL_FACES 
ALL_SPECIAL 
OVERLAY_SIDES 
OVERLAY_ALL 
NODE_TARGETS 
ITEM_TARGETS