OpenEnroth 4aaa0a0
Loading...
Searching...
No Matches
Enumerations
TileEnums.h File Reference
#include "Utility/Flags.h"
#include "Library/Serialization/SerializationFwd.h"

Enumerations

enum class  TileFlag {
  TILE_BURN = 0x1 , TILE_WATER = 0x2 , TILE_BLOCK = 0x4 , TILE_REPULSE = 0x8 ,
  TILE_FLAT = 0x10 , TILE_WAVY = 0x20 , TILE_DONT_DRAW = 0x40 , TILE_SHORE = 0x100 ,
  TILE_TRANSITION = 0x200 , TILE_SCROLL_DOWN = 0x400 , TILE_SCROLL_UP = 0x800 , TILE_SCROLL_LEFT = 0x1000 ,
  TILE_SCROLL_RIGHT = 0x2000 , TILE_GENERATED_TRANSITION = 0x4000
}
 
enum class  TileVariant {
  TILE_VARIANT_INVALID = -1 , TILE_VARIANT_BASE1 = 0 , TILE_VARIANT_BASE2 , TILE_VARIANT_BASE3 ,
  TILE_VARIANT_BASE4 , TILE_VARIANT_SPECIAL1 , TILE_VARIANT_SPECIAL2 , TILE_VARIANT_SPECIAL3 ,
  TILE_VARIANT_SPECIAL4 , TILE_VARIANT_SPECIAL5 , TILE_VARIANT_SPECIAL6 , TILE_VARIANT_SPECIAL7 ,
  TILE_VARIANT_SPECIAL8 , TILE_VARIANT_ROAD_N_S_E_W , TILE_VARIANT_ROAD_N_S , TILE_VARIANT_ROAD_E_W ,
  TILE_VARIANT_ROAD_N_E , TILE_VARIANT_ROAD_N_W , TILE_VARIANT_ROAD_S_E , TILE_VARIANT_ROAD_S_W ,
  TILE_VARIANT_ROAD_N_S_E , TILE_VARIANT_ROAD_N_S_W , TILE_VARIANT_ROAD_N_E_W , TILE_VARIANT_ROAD_S_E_W ,
  TILE_VARIANT_ROAD_N , TILE_VARIANT_ROAD_S , TILE_VARIANT_ROAD_E , TILE_VARIANT_ROAD_W ,
  TILE_VARIANT_ROAD_Y_N_S_E , TILE_VARIANT_ROAD_Y_N_S_W , TILE_VARIANT_ROAD_Y_N_E_W , TILE_VARIANT_ROAD_Y_S_E_W ,
  TILE_VARIANT_ROAD_D_N_E , TILE_VARIANT_ROAD_D_N_W , TILE_VARIANT_ROAD_D_S_E , TILE_VARIANT_ROAD_D_S_W ,
  TILE_VARIANT_TRANSITION_N , TILE_VARIANT_TRANSITION_S , TILE_VARIANT_TRANSITION_E , TILE_VARIANT_TRANSITION_W ,
  TILE_VARIANT_TRANSITION_NE , TILE_VARIANT_TRANSITION_NW , TILE_VARIANT_TRANSITION_SE , TILE_VARIANT_TRANSITION_SW ,
  TILE_VARIANT_TRANSITION_N_E , TILE_VARIANT_TRANSITION_N_W , TILE_VARIANT_TRANSITION_S_E , TILE_VARIANT_TRANSITION_S_W ,
  TILE_VARIANT_TRANSITION_N_S , TILE_VARIANT_TRANSITION_E_W , TILE_VARIANT_TRANSITION_N_S_E , TILE_VARIANT_TRANSITION_N_S_W ,
  TILE_VARIANT_TRANSITION_N_E_W , TILE_VARIANT_TRANSITION_S_E_W , TILE_VARIANT_TRANSITION_N_S_E_W , TILE_VARIANT_TRANSITION_NE_NW ,
  TILE_VARIANT_TRANSITION_NE_SE , TILE_VARIANT_TRANSITION_NW_SW , TILE_VARIANT_TRANSITION_SE_SW , TILE_VARIANT_TRANSITION_NE_SW ,
  TILE_VARIANT_TRANSITION_NW_SE , TILE_VARIANT_TRANSITION_NE_NW_SE , TILE_VARIANT_TRANSITION_NE_NW_SW , TILE_VARIANT_TRANSITION_NE_SE_SW ,
  TILE_VARIANT_TRANSITION_NW_SE_SW , TILE_VARIANT_TRANSITION_NE_NW_SE_SW , TILE_VARIANT_TRANSITION_N_SE_SW , TILE_VARIANT_TRANSITION_S_NE_NW ,
  TILE_VARIANT_TRANSITION_E_NW_SW , TILE_VARIANT_TRANSITION_W_NE_SE , TILE_VARIANT_TRANSITION_N_SE , TILE_VARIANT_TRANSITION_N_SW ,
  TILE_VARIANT_TRANSITION_S_NE , TILE_VARIANT_TRANSITION_S_NW , TILE_VARIANT_TRANSITION_E_NW , TILE_VARIANT_TRANSITION_E_SW ,
  TILE_VARIANT_TRANSITION_W_NE , TILE_VARIANT_TRANSITION_W_SE , TILE_VARIANT_TRANSITION_N_E_SW , TILE_VARIANT_TRANSITION_N_W_SE ,
  TILE_VARIANT_TRANSITION_S_E_NW , TILE_VARIANT_TRANSITION_S_W_NE , TILE_VARIANT_FIRST_SPECIAL = TILE_VARIANT_SPECIAL1 , TILE_VARIANT_LAST_SPECIAL = TILE_VARIANT_SPECIAL8 ,
  TILE_VARIANT_FIRST_TRANSITION = TILE_VARIANT_TRANSITION_N , TILE_VARIANT_LAST_TRANSITION = TILE_VARIANT_TRANSITION_S_W_NE , TILE_VARIANT_FIRST_GENERATED = TILE_VARIANT_TRANSITION_N_S , TILE_VARIANT_LAST_GENERATED = TILE_VARIANT_TRANSITION_S_W_NE
}
 
enum class  Tileset {
  TILESET_INVALID , TILESET_GRASS , TILESET_SNOW , TILESET_DESERT ,
  TILESET_DIRT , TILESET_WATER , TILESET_BADLANDS , TILESET_SWAMP ,
  TILESET_COBBLE_ROAD , TILESET_FIRST_TERRAIN = TILESET_GRASS , TILESET_LAST_TERRAIN = TILESET_SWAMP , TILESET_FIRST_ROAD = TILESET_COBBLE_ROAD ,
  TILESET_LAST_ROAD = TILESET_COBBLE_ROAD
}
 
enum class  Direction {
  DIRECTION_NONE = 0 , DIRECTION_N = 0x1 , DIRECTION_S = 0x2 , DIRECTION_E = 0x4 ,
  DIRECTION_W = 0x8 , DIRECTION_NE = 0x10 , DIRECTION_NW = 0x20 , DIRECTION_SE = 0x40 ,
  DIRECTION_SW = 0x80
}
 

Enumeration Type Documentation

◆ Direction

enum class Direction
strong
Enumerator
DIRECTION_NONE 
DIRECTION_N 
DIRECTION_S 
DIRECTION_E 
DIRECTION_W 
DIRECTION_NE 
DIRECTION_NW 
DIRECTION_SE 
DIRECTION_SW 

◆ TileFlag

enum class TileFlag
strong
Enumerator
TILE_BURN 
TILE_WATER 
TILE_BLOCK 
TILE_REPULSE 
TILE_FLAT 
TILE_WAVY 
TILE_DONT_DRAW 
TILE_SHORE 
TILE_TRANSITION 
TILE_SCROLL_DOWN 
TILE_SCROLL_UP 
TILE_SCROLL_LEFT 
TILE_SCROLL_RIGHT 
TILE_GENERATED_TRANSITION 

◆ Tileset

enum class Tileset
strong

Tile set id.

Most of these tile sets don't exist in mm7 data, see comments.

Enumerator
TILESET_INVALID 
TILESET_GRASS 
TILESET_SNOW 
TILESET_DESERT 
TILESET_DIRT 
TILESET_WATER 
TILESET_BADLANDS 
TILESET_SWAMP 
TILESET_COBBLE_ROAD 
TILESET_FIRST_TERRAIN 
TILESET_LAST_TERRAIN 
TILESET_FIRST_ROAD 
TILESET_LAST_ROAD 

◆ TileVariant

enum class TileVariant
strong

Tile variants inside a single tile set.

Enumerator
TILE_VARIANT_INVALID 
TILE_VARIANT_BASE1 
TILE_VARIANT_BASE2 
TILE_VARIANT_BASE3 
TILE_VARIANT_BASE4 
TILE_VARIANT_SPECIAL1 
TILE_VARIANT_SPECIAL2 
TILE_VARIANT_SPECIAL3 
TILE_VARIANT_SPECIAL4 
TILE_VARIANT_SPECIAL5 
TILE_VARIANT_SPECIAL6 
TILE_VARIANT_SPECIAL7 
TILE_VARIANT_SPECIAL8 
TILE_VARIANT_ROAD_N_S_E_W 
TILE_VARIANT_ROAD_N_S 
TILE_VARIANT_ROAD_E_W 
TILE_VARIANT_ROAD_N_E 
TILE_VARIANT_ROAD_N_W 
TILE_VARIANT_ROAD_S_E 
TILE_VARIANT_ROAD_S_W 
TILE_VARIANT_ROAD_N_S_E 
TILE_VARIANT_ROAD_N_S_W 
TILE_VARIANT_ROAD_N_E_W 
TILE_VARIANT_ROAD_S_E_W 
TILE_VARIANT_ROAD_N 
TILE_VARIANT_ROAD_S 
TILE_VARIANT_ROAD_E 
TILE_VARIANT_ROAD_W 
TILE_VARIANT_ROAD_Y_N_S_E 
TILE_VARIANT_ROAD_Y_N_S_W 
TILE_VARIANT_ROAD_Y_N_E_W 
TILE_VARIANT_ROAD_Y_S_E_W 
TILE_VARIANT_ROAD_D_N_E 
TILE_VARIANT_ROAD_D_N_W 
TILE_VARIANT_ROAD_D_S_E 
TILE_VARIANT_ROAD_D_S_W 
TILE_VARIANT_TRANSITION_N 
TILE_VARIANT_TRANSITION_S 
TILE_VARIANT_TRANSITION_E 
TILE_VARIANT_TRANSITION_W 
TILE_VARIANT_TRANSITION_NE 
TILE_VARIANT_TRANSITION_NW 
TILE_VARIANT_TRANSITION_SE 
TILE_VARIANT_TRANSITION_SW 
TILE_VARIANT_TRANSITION_N_E 
TILE_VARIANT_TRANSITION_N_W 
TILE_VARIANT_TRANSITION_S_E 
TILE_VARIANT_TRANSITION_S_W 
TILE_VARIANT_TRANSITION_N_S 
TILE_VARIANT_TRANSITION_E_W 
TILE_VARIANT_TRANSITION_N_S_E 
TILE_VARIANT_TRANSITION_N_S_W 
TILE_VARIANT_TRANSITION_N_E_W 
TILE_VARIANT_TRANSITION_S_E_W 
TILE_VARIANT_TRANSITION_N_S_E_W 
TILE_VARIANT_TRANSITION_NE_NW 
TILE_VARIANT_TRANSITION_NE_SE 
TILE_VARIANT_TRANSITION_NW_SW 
TILE_VARIANT_TRANSITION_SE_SW 
TILE_VARIANT_TRANSITION_NE_SW 
TILE_VARIANT_TRANSITION_NW_SE 
TILE_VARIANT_TRANSITION_NE_NW_SE 
TILE_VARIANT_TRANSITION_NE_NW_SW 
TILE_VARIANT_TRANSITION_NE_SE_SW 
TILE_VARIANT_TRANSITION_NW_SE_SW 
TILE_VARIANT_TRANSITION_NE_NW_SE_SW 
TILE_VARIANT_TRANSITION_N_SE_SW 
TILE_VARIANT_TRANSITION_S_NE_NW 
TILE_VARIANT_TRANSITION_E_NW_SW 
TILE_VARIANT_TRANSITION_W_NE_SE 
TILE_VARIANT_TRANSITION_N_SE 
TILE_VARIANT_TRANSITION_N_SW 
TILE_VARIANT_TRANSITION_S_NE 
TILE_VARIANT_TRANSITION_S_NW 
TILE_VARIANT_TRANSITION_E_NW 
TILE_VARIANT_TRANSITION_E_SW 
TILE_VARIANT_TRANSITION_W_NE 
TILE_VARIANT_TRANSITION_W_SE 
TILE_VARIANT_TRANSITION_N_E_SW 
TILE_VARIANT_TRANSITION_N_W_SE 
TILE_VARIANT_TRANSITION_S_E_NW 
TILE_VARIANT_TRANSITION_S_W_NE 
TILE_VARIANT_FIRST_SPECIAL 
TILE_VARIANT_LAST_SPECIAL 
TILE_VARIANT_FIRST_TRANSITION 
TILE_VARIANT_LAST_TRANSITION 
TILE_VARIANT_FIRST_GENERATED 
TILE_VARIANT_LAST_GENERATED