OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Enumerations
TileEnums.h File Reference
#include "Utility/Flags.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
}
 
enum class  TileVariant {
  TILE_VARIANT_INVALID = 255 , TILE_VARIANT_BASE1 = 0 , TILE_VARIANT_BASE2_NS = 1 , TILE_VARIANT_BASE3_EW = 2 ,
  TILE_VARIANT_BASE4_NE = 3 , TILE_VARIANT_SPECIAL1_NW = 4 , TILE_VARIANT_SPECIAL2_SE = 5 , TILE_VARIANT_SPECIAL3_SW = 6 ,
  TILE_VARIANT_SPECIAL4_NS_E = 7 , TILE_VARIANT_SPECIAL5_NS_W = 8 , TILE_VARIANT_SPECIAL6_EW_N = 9 , TILE_VARIANT_SPECIAL7_EW_S = 0xA ,
  TILE_VARIANT_SPECIAL8_NCAP = 0xB , TILE_VARIANT_NE1_SE1_ECAP = 0xC , TILE_VARIANT_SCAP = 0xD , TILE_VARIANT_NW1_SW1_WCAP = 0xE ,
  TILE_VARIANT_DN = 0xF , TILE_VARIANT_E1_DS = 0x10 , TILE_VARIANT_W1_DW = 0x11 , TILE_VARIANT_N1_DE = 0x12 ,
  TILE_VARIANT_S1_DSW = 0x13 , TILE_VARIANT_XNE1_XSE1_DNE = 0x14 , TILE_VARIANT_DSE = 0x15 , TILE_VARIANT_XNW1_XSW1_DNW = 0x16 ,
  TILE_VARIANT_FIRST_SPECIAL = TILE_VARIANT_SPECIAL1_NW , TILE_VARIANT_LAST_SPECIAL = TILE_VARIANT_SPECIAL8_NCAP
}
 
enum class  Tileset {
  TILESET_INVALID = 255 , TILESET_GRASS = 0 , TILESET_SNOW = 1 , TILESET_DESERT = 2 ,
  TILESET_COOLED_LAVA = 3 , TILESET_DIRT = 4 , TILESET_WATER = 5 , TILESET_BADLANDS = 6 ,
  TILESET_SWAMP = 7 , TILESET_TROPICAL = 8 , TILESET_CITY = 9 , TILESET_ROAD_GRASS_COBBLE = 10 ,
  TILESET_ROAD_GRASS_DIRT = 11 , TILESET_ROAD_SNOW_COBBLE = 12 , TILESET_ROAD_SNOW_DIRT = 13 , TILESET_ROAD_SAND_COBBLE = 14 ,
  TILESET_ROAD_SAND_DIRT = 15 , TILESET_ROAD_VOLCANO_COBBLE = 16 , TILESET_ROAD_VOLCANO_DIRT = 17 , TILESET_ROAD_CRACKED_COBBLE = 22 ,
  TILESET_ROAD_CRACKED_DIRT = 23 , TILESET_ROAD_SWAMP_COBBLE = 24 , TILESET_ROAD_SWAMP_DIRT = 25 , TILESET_ROAD_TROPICAL_COBBLE = 26 ,
  TILESET_ROAD_TROPICAL_DIRT = 27 , TILESET_ROAD_CITY_STONE = 28
}
 

Enumeration Type Documentation

◆ 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 

◆ 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_COOLED_LAVA 
TILESET_DIRT 
TILESET_WATER 
TILESET_BADLANDS 
TILESET_SWAMP 
TILESET_TROPICAL 
TILESET_CITY 
TILESET_ROAD_GRASS_COBBLE 
TILESET_ROAD_GRASS_DIRT 
TILESET_ROAD_SNOW_COBBLE 
TILESET_ROAD_SNOW_DIRT 
TILESET_ROAD_SAND_COBBLE 
TILESET_ROAD_SAND_DIRT 
TILESET_ROAD_VOLCANO_COBBLE 
TILESET_ROAD_VOLCANO_DIRT 
TILESET_ROAD_CRACKED_COBBLE 
TILESET_ROAD_CRACKED_DIRT 
TILESET_ROAD_SWAMP_COBBLE 
TILESET_ROAD_SWAMP_DIRT 
TILESET_ROAD_TROPICAL_COBBLE 
TILESET_ROAD_TROPICAL_DIRT 
TILESET_ROAD_CITY_STONE 

◆ TileVariant

enum class TileVariant
strong

Tile variants inside a single tile set.

There are two different tile set types in mm7:

  1. Normal tile sets.
  2. Road tile sets.

The only road tile set we have in mm7 is cobble road over dirt.

Enumerator
TILE_VARIANT_INVALID 
TILE_VARIANT_BASE1 
TILE_VARIANT_BASE2_NS 
TILE_VARIANT_BASE3_EW 
TILE_VARIANT_BASE4_NE 
TILE_VARIANT_SPECIAL1_NW 
TILE_VARIANT_SPECIAL2_SE 
TILE_VARIANT_SPECIAL3_SW 
TILE_VARIANT_SPECIAL4_NS_E 
TILE_VARIANT_SPECIAL5_NS_W 
TILE_VARIANT_SPECIAL6_EW_N 
TILE_VARIANT_SPECIAL7_EW_S 
TILE_VARIANT_SPECIAL8_NCAP 
TILE_VARIANT_NE1_SE1_ECAP 
TILE_VARIANT_SCAP 
TILE_VARIANT_NW1_SW1_WCAP 
TILE_VARIANT_DN 
TILE_VARIANT_E1_DS 
TILE_VARIANT_W1_DW 
TILE_VARIANT_N1_DE 
TILE_VARIANT_S1_DSW 
TILE_VARIANT_XNE1_XSE1_DNE 
TILE_VARIANT_DSE 
TILE_VARIANT_XNW1_XSW1_DNW 
TILE_VARIANT_FIRST_SPECIAL 
TILE_VARIANT_LAST_SPECIAL