OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Enumerations
MapEnums.h File Reference
#include <cstdint>
#include "Library/Serialization/SerializationFwd.h"
#include "Utility/Flags.h"

Enumerations

enum class  MapWeatherFlag { MAP_WEATHER_FOGGY = 1 }
 
enum class  LevelType { LEVEL_NULL = 0 , LEVEL_INDOOR = 0x1 , LEVEL_OUTDOOR = 0x2 }
 
enum  { MODEL_INDOOR = -1 }
 
enum class  MapId : uint32_t {
  MAP_INVALID = 0 , MAP_EMERALD_ISLAND = 1 , MAP_HARMONDALE = 2 , MAP_ERATHIA = 3 ,
  MAP_TULAREAN_FOREST = 4 , MAP_DEYJA = 5 , MAP_BRACADA_DESERT = 6 , MAP_CELESTE = 7 ,
  MAP_PIT = 8 , MAP_EVENMORN_ISLAND = 9 , MAP_MOUNT_NIGHON = 10 , MAP_BARROW_DOWNS = 11 ,
  MAP_LAND_OF_THE_GIANTS = 12 , MAP_TATALIA = 13 , MAP_AVLEE = 14 , MAP_SHOALS = 15 ,
  MAP_DRAGON_CAVES = 16 , MAP_LORD_MARKHAMS_MANOR = 17 , MAP_BANDIT_CAVES = 18 , MAP_HAUNTED_MANSION = 19 ,
  MAP_TEMPLE_OF_THE_MOON = 20 , MAP_CASTLE_HARMONDALE = 21 , MAP_WHITE_CLIFF_CAVE = 22 , MAP_ERATHIAN_SEWERS = 23 ,
  MAP_FORT_RIVERSTRIDE = 24 , MAP_TULAREAN_CAVES = 25 , MAP_CLANKERS_LABORATORY = 26 , MAP_HALL_OF_THE_PIT = 27 ,
  MAP_WATCHTOWER_6 = 28 , MAP_SCHOOL_OF_SORCERY = 29 , MAP_RED_DWARF_MINES = 30 , MAP_WALLS_OF_MIST = 31 ,
  MAP_TEMPLE_OF_THE_LIGHT = 32 , MAP_BREEDING_ZONE = 33 , MAP_TEMPLE_OF_THE_DARK = 34 , MAP_GRAND_TEMPLE_OF_THE_MOON = 35 ,
  MAP_GRAND_TEMPLE_OF_THE_SUN = 36 , MAP_THUNDERFIST_MOUNTAIN = 37 , MAP_MAZE = 38 , MAP_STONE_CITY = 39 ,
  MAP_COLONY_ZOD = 40 , MAP_MERCENARY_GUILD = 41 , MAP_TIDEWATER_CAVERNS = 42 , MAP_WINE_CELLAR = 43 ,
  MAP_TITANS_STRONGHOLD = 44 , MAP_TEMPLE_OF_BAA = 45 , MAP_HALL_UNDER_THE_HILL = 46 , MAP_LINCOLN = 47 ,
  MAP_CASTLE_GRYPHONHEART = 48 , MAP_CASTLE_NAVAN = 49 , MAP_CASTLE_LAMBENT = 50 , MAP_CASTLE_GLOAMING = 51 ,
  MAP_DRAGONS_LAIR = 52 , MAP_BARROW_VII = 53 , MAP_BARROW_IV = 54 , MAP_BARROW_II = 55 ,
  MAP_BARROW_XIV = 56 , MAP_BARROW_III = 57 , MAP_BARROW_IX = 58 , MAP_BARROW_VI = 59 ,
  MAP_BARROW_I = 60 , MAP_BARROW_VIII = 61 , MAP_BARROW_XIII = 62 , MAP_BARROW_X = 63 ,
  MAP_BARROW_XII = 64 , MAP_BARROW_V = 65 , MAP_BARROW_XI = 66 , MAP_BARROW_XV = 67 ,
  MAP_ZOKARRS_TOMB = 68 , MAP_NIGHON_TUNNELS = 69 , MAP_TUNNELS_TO_EEOFOL = 70 , MAP_WILLIAM_SETAGS_TOWER = 71 ,
  MAP_WROMTHRAXS_CAVE = 72 , MAP_HIDDEN_TOMB = 73 , MAP_STRANGE_TEMPLE = 74 , MAP_SMALL_HOUSE = 75 ,
  MAP_ARENA = 76 , MAP_FIRST = MAP_EMERALD_ISLAND , MAP_LAST = MAP_ARENA
}
 
enum class  MapTreasureLevel : int8_t {
  MAP_TREASURE_LEVEL_1 = 0 , MAP_TREASURE_LEVEL_2 = 1 , MAP_TREASURE_LEVEL_3 = 2 , MAP_TREASURE_LEVEL_4 = 3 ,
  MAP_TREASURE_LEVEL_5 = 4 , MAP_TREASURE_LEVEL_6 = 5 , MAP_TREASURE_LEVEL_7 = 6
}
 
enum class  MapStartPoint : uint32_t {
  MAP_START_POINT_PARTY = 0 , MAP_START_POINT_NORTH = 1 , MAP_START_POINT_SOUTH = 2 , MAP_START_POINT_EAST = 3 ,
  MAP_START_POINT_WEST = 4
}
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MODEL_INDOOR 

◆ LevelType

enum class LevelType
strong
Enumerator
LEVEL_NULL 
LEVEL_INDOOR 
LEVEL_OUTDOOR 

◆ MapId

enum class MapId : uint32_t
strong

Enum of all maps in the game.

DON'T EDIT, THIS IS AUTOGENERATED CODE.

See also
runMapIdCodeGen
Enumerator
MAP_INVALID 
MAP_EMERALD_ISLAND 
MAP_HARMONDALE 
MAP_ERATHIA 
MAP_TULAREAN_FOREST 
MAP_DEYJA 
MAP_BRACADA_DESERT 
MAP_CELESTE 
MAP_PIT 
MAP_EVENMORN_ISLAND 
MAP_MOUNT_NIGHON 
MAP_BARROW_DOWNS 
MAP_LAND_OF_THE_GIANTS 
MAP_TATALIA 
MAP_AVLEE 
MAP_SHOALS 
MAP_DRAGON_CAVES 
MAP_LORD_MARKHAMS_MANOR 
MAP_BANDIT_CAVES 
MAP_HAUNTED_MANSION 
MAP_TEMPLE_OF_THE_MOON 
MAP_CASTLE_HARMONDALE 
MAP_WHITE_CLIFF_CAVE 
MAP_ERATHIAN_SEWERS 
MAP_FORT_RIVERSTRIDE 
MAP_TULAREAN_CAVES 
MAP_CLANKERS_LABORATORY 
MAP_HALL_OF_THE_PIT 
MAP_WATCHTOWER_6 
MAP_SCHOOL_OF_SORCERY 
MAP_RED_DWARF_MINES 
MAP_WALLS_OF_MIST 
MAP_TEMPLE_OF_THE_LIGHT 
MAP_BREEDING_ZONE 
MAP_TEMPLE_OF_THE_DARK 
MAP_GRAND_TEMPLE_OF_THE_MOON 
MAP_GRAND_TEMPLE_OF_THE_SUN 
MAP_THUNDERFIST_MOUNTAIN 
MAP_MAZE 
MAP_STONE_CITY 
MAP_COLONY_ZOD 
MAP_MERCENARY_GUILD 
MAP_TIDEWATER_CAVERNS 
MAP_WINE_CELLAR 
MAP_TITANS_STRONGHOLD 
MAP_TEMPLE_OF_BAA 
MAP_HALL_UNDER_THE_HILL 
MAP_LINCOLN 
MAP_CASTLE_GRYPHONHEART 
MAP_CASTLE_NAVAN 
MAP_CASTLE_LAMBENT 
MAP_CASTLE_GLOAMING 
MAP_DRAGONS_LAIR 
MAP_BARROW_VII 
MAP_BARROW_IV 
MAP_BARROW_II 
MAP_BARROW_XIV 
MAP_BARROW_III 
MAP_BARROW_IX 
MAP_BARROW_VI 
MAP_BARROW_I 
MAP_BARROW_VIII 
MAP_BARROW_XIII 
MAP_BARROW_X 
MAP_BARROW_XII 
MAP_BARROW_V 
MAP_BARROW_XI 
MAP_BARROW_XV 
MAP_ZOKARRS_TOMB 
MAP_NIGHON_TUNNELS 
MAP_TUNNELS_TO_EEOFOL 
MAP_WILLIAM_SETAGS_TOWER 
MAP_WROMTHRAXS_CAVE 
MAP_HIDDEN_TOMB 
MAP_STRANGE_TEMPLE 
MAP_SMALL_HOUSE 
MAP_ARENA 
MAP_FIRST 
MAP_LAST 

◆ MapStartPoint

enum class MapStartPoint : uint32_t
strong
Enumerator
MAP_START_POINT_PARTY 
MAP_START_POINT_NORTH 
MAP_START_POINT_SOUTH 
MAP_START_POINT_EAST 
MAP_START_POINT_WEST 

◆ MapTreasureLevel

enum class MapTreasureLevel : int8_t
strong

Map treasure / danger level, determines how treasure levels of random items are handled by the game.

Higher map treasure level => better random loot given the same treasure level of a random item.

See also
RemapTreasureLevel
Enumerator
MAP_TREASURE_LEVEL_1 
MAP_TREASURE_LEVEL_2 
MAP_TREASURE_LEVEL_3 
MAP_TREASURE_LEVEL_4 
MAP_TREASURE_LEVEL_5 
MAP_TREASURE_LEVEL_6 
MAP_TREASURE_LEVEL_7 

◆ MapWeatherFlag

enum class MapWeatherFlag
strong

MM7 has only one weather flag, but apparently we have more in MM8.

See also
https://github.com/GrayFace/MMExtension/blob/4d6600f164315f38157591d7f0307a86594c22ef/Scripts/Structs/01%20common%20structs.lua#L412C8-L412C15
Enumerator
MAP_WEATHER_FOGGY