TrinityCore
|
Namespaces | |
namespace | VMapFactory |
Classes | |
struct | IntermediateValues |
class | MapBuilder |
struct | MapEntry |
struct | MapTiles |
struct | MeshData |
struct | MMapData |
class | MMapFactory |
class | MMapManager |
struct | OffMeshData |
class | TerrainBuilder |
struct | Tile |
class | TileBuilder |
struct | TileConfig |
struct | TileInfo |
Typedefs | |
typedef std::unordered_map< uint32, dtTileRef > | MMapTileSet |
typedef std::unordered_map< std::pair< uint32, uint32 >, dtNavMeshQuery * > | NavMeshQuerySet |
typedef std::unordered_map< uint32, MMapData * > | MMapDataSet |
typedef std::list< MapTiles > | TileList |
Enumerations | |
enum | MMAP_LOAD_RESULT { MMAP_LOAD_RESULT_ERROR , MMAP_LOAD_RESULT_OK , MMAP_LOAD_RESULT_IGNORED } |
enum | ListFilesResult { LISTFILE_DIRECTORY_NOT_FOUND = 0 , LISTFILE_OK = 1 } |
enum | Spot { TOP = 1 , RIGHT = 2 , LEFT = 3 , BOTTOM = 4 , ENTIRE = 5 } |
enum | Grid { GRID_V8 , GRID_V9 } |
Functions | |
bool | matchWildcardFilter (char const *filter, char const *str) |
ListFilesResult | getDirContents (std::vector< std::string > &fileList, std::string dirpath=".", std::string filter="*") |
Variables | |
MMapManager * | g_MMapManager = nullptr |
constexpr char | MAP_FILE_NAME_FORMAT [] = "{}mmaps/{:04}.mmap" |
constexpr char | TILE_FILE_NAME_FORMAT [] = "{}mmaps/{:04}{:02}{:02}.mmtile" |
std::unordered_map< uint32, MapEntry > | sMapStore |
static const int | V9_SIZE = 129 |
static const int | V9_SIZE_SQ = V9_SIZE*V9_SIZE |
static const int | V8_SIZE = 128 |
static const int | V8_SIZE_SQ = V8_SIZE*V8_SIZE |
static const float | GRID_SIZE = 533.3333f |
static const float | GRID_PART_SIZE = GRID_SIZE/V8_SIZE |
static const float | INVALID_MAP_LIQ_HEIGHT = -2000.f |
static const float | INVALID_MAP_LIQ_HEIGHT_MAX = 5000.0f |
typedef std::unordered_map<uint32, MMapData*> MMAP::MMapDataSet |
Definition at line 55 of file MMapManager.h.
typedef std::unordered_map<uint32, dtTileRef> MMAP::MMapTileSet |
Definition at line 32 of file MMapManager.h.
typedef std::unordered_map<std::pair<uint32, uint32>, dtNavMeshQuery*> MMAP::NavMeshQuerySet |
Definition at line 33 of file MMapManager.h.
typedef std::list<MapTiles> MMAP::TileList |
Definition at line 54 of file MapBuilder.h.
enum MMAP::Grid |
Enumerator | |
---|---|
GRID_V8 | |
GRID_V9 |
Definition at line 40 of file TerrainBuilder.h.
Enumerator | |
---|---|
LISTFILE_DIRECTORY_NOT_FOUND | |
LISTFILE_OK |
Definition at line 78 of file PathCommon.h.
Enumerator | |
---|---|
MMAP_LOAD_RESULT_ERROR | |
MMAP_LOAD_RESULT_OK | |
MMAP_LOAD_RESULT_IGNORED |
Definition at line 26 of file MMapFactory.h.
enum MMAP::Spot |
Enumerator | |
---|---|
TOP | |
RIGHT | |
LEFT | |
BOTTOM | |
ENTIRE |
Definition at line 31 of file TerrainBuilder.h.
|
inline |
Definition at line 84 of file PathCommon.h.
|
inline |
MMapManager* MMAP::g_MMapManager = nullptr |
Definition at line 24 of file MMapFactory.cpp.
Definition at line 51 of file TerrainBuilder.h.
|
static |
Definition at line 50 of file TerrainBuilder.h.
|
static |
Definition at line 54 of file TerrainBuilder.h.
|
static |
Definition at line 55 of file TerrainBuilder.h.
|
constexpr |
Definition at line 25 of file MMapManager.cpp.
Definition at line 45 of file PathGenerator.cpp.
|
constexpr |
Definition at line 26 of file MMapManager.cpp.
|
static |
Definition at line 48 of file TerrainBuilder.h.
Definition at line 49 of file TerrainBuilder.h.
|
static |
Definition at line 46 of file TerrainBuilder.h.
Definition at line 47 of file TerrainBuilder.h.