Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
tile.h File Reference
#include "irrlichttypes.h"
#include <ITexture.h>
#include <vector>
#include <SMaterial.h>
+ Include dependency graph for tile.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FrameSpec
 
struct  TileLayer
 Defines a layer of a tile. More...
 
struct  TileSpec
 

Macros

#define MATERIAL_FLAG_BACKFACE_CULLING   0x01
 
#define MATERIAL_FLAG_CRACK   0x02
 
#define MATERIAL_FLAG_CRACK_OVERLAY   0x04
 
#define MATERIAL_FLAG_ANIMATION   0x08
 
#define MATERIAL_FLAG_TILEABLE_HORIZONTAL   0x20
 
#define MATERIAL_FLAG_TILEABLE_VERTICAL   0x40
 
#define MAX_TILE_LAYERS   2
 

Enumerations

enum  MaterialType {
  TILE_MATERIAL_BASIC , TILE_MATERIAL_ALPHA , TILE_MATERIAL_LIQUID_TRANSPARENT , TILE_MATERIAL_LIQUID_OPAQUE ,
  TILE_MATERIAL_WAVING_LEAVES , TILE_MATERIAL_WAVING_PLANTS , TILE_MATERIAL_OPAQUE , TILE_MATERIAL_WAVING_LIQUID_BASIC ,
  TILE_MATERIAL_WAVING_LIQUID_TRANSPARENT , TILE_MATERIAL_WAVING_LIQUID_OPAQUE , TILE_MATERIAL_PLAIN , TILE_MATERIAL_PLAIN_ALPHA
}
 
enum class  TileRotation : u8 { None , R90 , R180 , R270 }
 

Macro Definition Documentation

◆ MATERIAL_FLAG_ANIMATION

#define MATERIAL_FLAG_ANIMATION   0x08

◆ MATERIAL_FLAG_BACKFACE_CULLING

◆ MATERIAL_FLAG_CRACK

◆ MATERIAL_FLAG_CRACK_OVERLAY

◆ MATERIAL_FLAG_TILEABLE_HORIZONTAL

#define MATERIAL_FLAG_TILEABLE_HORIZONTAL   0x20

◆ MATERIAL_FLAG_TILEABLE_VERTICAL

◆ MAX_TILE_LAYERS

Enumeration Type Documentation

◆ MaterialType

Enumerator
TILE_MATERIAL_BASIC 
TILE_MATERIAL_ALPHA 
TILE_MATERIAL_LIQUID_TRANSPARENT 
TILE_MATERIAL_LIQUID_OPAQUE 
TILE_MATERIAL_WAVING_LEAVES 
TILE_MATERIAL_WAVING_PLANTS 
TILE_MATERIAL_OPAQUE 
TILE_MATERIAL_WAVING_LIQUID_BASIC 
TILE_MATERIAL_WAVING_LIQUID_TRANSPARENT 
TILE_MATERIAL_WAVING_LIQUID_OPAQUE 
TILE_MATERIAL_PLAIN 
TILE_MATERIAL_PLAIN_ALPHA 

◆ TileRotation

enum class TileRotation : u8
strong
Enumerator
None 
R90 
R180 
R270