OregonCore  revision 3611e8a-git
Your Favourite TBC server
MoveMap.h File Reference
#include <vector>
#include "Utilities/UnorderedMap.h"
#include "DetourAlloc.h"
#include "DetourNavMesh.h"
#include "DetourNavMeshQuery.h"

Go to the source code of this file.

Classes

struct  MMAP::MMapData
 
class  MMAP::MMapManager
 
class  MMAP::MMapFactory
 

Namespaces

 MMAP
 

Typedefs

typedef UNORDERED_MAP< uint32, dtTileRef > MMAP::MMapTileSet
 
typedef UNORDERED_MAP< uint32, dtNavMeshQuery * > MMAP::NavMeshQuerySet
 
typedef UNORDERED_MAP< uint32, MMapData * > MMAP::MMapDataSet
 

Functions

void * dtCustomAlloc (int size, dtAllocHint)
 
void dtCustomFree (void *ptr)
 

Function Documentation

void* dtCustomAlloc ( int  size,
dtAllocHint   
)
inline

Definition at line 29 of file MoveMap.h.

Referenced by World::SetInitialWorldSettings().

30 {
31  return (void*)new unsigned char[size];
32 }
void dtCustomFree ( void *  ptr)
inline

Definition at line 34 of file MoveMap.h.

Referenced by World::SetInitialWorldSettings().

35 {
36  delete [] (unsigned char*)ptr;
37 }