22#ifndef ULTIMA4_MAP_MAPMGR_H
23#define ULTIMA4_MAP_MAPMGR_H
25#include "ultima/ultima4/map/map.h"
45#define MAP_CASTLE_OF_LORD_BRITISH 1
47#define MAP_EMPATH_ABBEY 3
48#define MAP_SERPENTS_HOLD 4
55#define MAP_SKARABRAE 11
56#define MAP_MAGINCIA 12
58#define MAP_BUCCANEERS_DEN 14
65#define MAP_COVETOUS 21
67#define MAP_HYTHLOTH 23
69#define MAP_SHRINE_HONESTY 25
70#define MAP_SHRINE_COMPASSION 26
71#define MAP_SHRINE_VALOR 27
72#define MAP_SHRINE_JUSTICE 28
73#define MAP_SHRINE_SACRIFICE 29
74#define MAP_SHRINE_HONOR 30
75#define MAP_SHRINE_SPIRITUALITY 31
76#define MAP_SHRINE_HUMILITY 32
77#define MAP_BRICK_CON 33
78#define MAP_BRIDGE_CON 34
79#define MAP_BRUSH_CON 35
80#define MAP_CAMP_CON 36
81#define MAP_DNG0_CON 37
82#define MAP_DNG1_CON 38
83#define MAP_DNG2_CON 39
84#define MAP_DNG3_CON 40
85#define MAP_DNG4_CON 41
86#define MAP_DNG5_CON 42
87#define MAP_DNG6_CON 43
88#define MAP_DUNGEON_CON 44
89#define MAP_FOREST_CON 45
90#define MAP_GRASS_CON 46
91#define MAP_HILL_CON 47
93#define MAP_MARSH_CON 49
94#define MAP_SHIPSEA_CON 50
95#define MAP_SHIPSHIP_CON 51
96#define MAP_SHIPSHOR_CON 52
97#define MAP_SHORE_CON 53
98#define MAP_SHORSHIP_CON 54
99#define MAP_CAMP_DNG 55
100#define MAP_CASTLE_OF_LORD_BRITISH2 100
101#define MAP_SCUMMVM 101
108 static MapMgr *getInstance();
109 static void destroy();
112 Map *initMap(Map::Type type);
113 void unloadMap(MapId
id);
119 void registerMap(
Map *map);
127 void initDungeonRoom(
Dungeon *dng,
int room);
128 void createMoongateFromConf(
const ConfigElement &moongateConf);
129 int initCompressedChunkFromConf(
const ConfigElement &compressedChunkConf);
135#define mapMgr (MapMgr::getInstance())
Definition: dungeon.h:120