mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
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:
@@ -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);
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace VMAP
|
||||
//==============================================================
|
||||
//==============================================================
|
||||
|
||||
class MyCollisionDetection
|
||||
class TC_COMMON_API MyCollisionDetection
|
||||
{
|
||||
private:
|
||||
public:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
char const* localeNames[TOTAL_LOCALES] = {
|
||||
TC_COMMON_API char const* localeNames[TOTAL_LOCALES] = {
|
||||
"enUS",
|
||||
"koKR",
|
||||
"frFR",
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -356,7 +356,7 @@ class HookList
|
||||
}
|
||||
};
|
||||
|
||||
class flag96
|
||||
class TC_COMMON_API flag96
|
||||
{
|
||||
private:
|
||||
uint32 part[3];
|
||||
|
||||
Reference in New Issue
Block a user