Fixed mmaps_generator compilation on windows

however it's a workaround, rework needed
This commit is contained in:
Yehonal
2017-03-25 19:28:58 +01:00
parent 2f71abc6c6
commit ddd03e9718
8 changed files with 7 additions and 13 deletions

View File

@@ -120,6 +120,7 @@ include_directories(${mmap_gen_Includes})
add_executable(mmaps_generator ${mmap_gen_sources})
target_link_libraries(mmaps_generator
shared
collision
g3dlib
Recast

View File

@@ -12,8 +12,6 @@
#include "Recast.h"
#include "DetourNavMesh.h"
#include "Database/DatabaseEnv.h"
namespace MMAP
{
// this class gathers all debug info holding and output

View File

@@ -14,14 +14,9 @@
#include "DetourNavMesh.h"
#include "DetourCommon.h"
#include "DisableMgr.h"
#include <ace/OS_NS_unistd.h>
uint32 GetLiquidFlags(uint32 /*liquidType*/) { return 0; }
namespace DisableMgr
{
bool IsDisabledFor(DisableType /*type*/, uint32 /*entry*/, Unit const* /*unit*/, uint8 /*flags*/ /*= 0*/) { return false; }
}
#define MMAP_MAGIC 0x4d4d4150 // 'MMAP'
#define MMAP_VERSION 3

View File

@@ -21,8 +21,6 @@
#include <ace/Activation_Queue.h>
#include <ace/Method_Request.h>
#include "Database/DatabaseEnv.h"
using namespace VMAP;
// G3D namespace typedefs conflicts with ACE typedefs

View File

@@ -22,6 +22,8 @@
#include <errno.h>
#endif
#include "Database/DatabaseEnv.h"
enum NavTerrain
{
NAV_EMPTY = 0x00,

View File

@@ -7,8 +7,6 @@
#include "PathCommon.h"
#include "MapBuilder.h"
LoginDatabaseWorkerPool LoginDatabase;
using namespace MMAP;
bool checkDirectories(bool debugOutput)

View File

@@ -14,8 +14,6 @@
#include "G3D/Vector3.h"
#include "G3D/Matrix3.h"
#include "Database/DatabaseEnv.h"
namespace MMAP
{
enum Spot

View File

@@ -10,6 +10,10 @@
#include "WorldModel.h"
#include "ModelInstance.h"
#include "Database/DatabaseEnv.h"
LoginDatabaseWorkerPool LoginDatabase;
WorldDatabaseWorkerPool WorldDatabase;
namespace VMAP
{
// Need direct access to encapsulated VMAP data, so we add functions for MMAP generator