Core/Common: Converted the common library to a shared library.

* There is still the possibility to static link against common.
This commit is contained in:
Aokromes
2016-08-12 11:58:18 +02:00
parent 7d2b1128a6
commit e201c034c7
5 changed files with 5 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ namespace MMAP
typedef std::unordered_map<uint32, TerrainSet> TerrainSetMap;
class MMapData
class TC_COMMON_API MMapData
{
public:
MMapData(dtNavMesh* mesh, uint32 mapId);

View File

@@ -46,7 +46,7 @@ namespace VMAP
//==============================================================
//==============================================================
class MyCollisionDetection
class TC_COMMON_API MyCollisionDetection
{
private:
public:

View File

@@ -18,7 +18,7 @@
#include "Common.h"
char const* localeNames[TOTAL_LOCALES] = {
TC_COMMON_API char const* localeNames[TOTAL_LOCALES] = {
"enUS",
"koKR",
"frFR",

View File

@@ -136,7 +136,7 @@ const uint8 OLD_TOTAL_LOCALES = 9; /// @todo convert in simple system
#define MAX_LOCALES 10
#define MAX_ACCOUNT_TUTORIAL_VALUES 8
TC_COMMON_API extern char const* localeNames[TOTAL_LOCALES];
extern "C" TC_COMMON_API char const* localeNames[TOTAL_LOCALES];
TC_COMMON_API LocaleConstant GetLocaleByName(const std::string& name);

View File

@@ -356,7 +356,7 @@ class HookList
}
};
class flag96
class TC_COMMON_API flag96
{
private:
uint32 part[3];