diff options
author | Naios <naios-dev@live.de> | 2016-03-22 19:58:32 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2016-03-24 02:45:44 +0100 |
commit | 1a1c0d1dc4b5476bd438585e8b16466101ad509a (patch) | |
tree | 2e37535ef1c9cc371a0182e305919e0d3aeedc48 /src/common/Collision/Maps/MapTree.h | |
parent | 77aa9ae01d6681be747f0bfbb3e593cc6ce7c757 (diff) |
Core/Common: Converted the common library to a shared library.
* There is still the possibility to static link against common.
(cherry picked from commit 501fd9b50232ca3ae3623877c3e521c9c1f894be)
Diffstat (limited to 'src/common/Collision/Maps/MapTree.h')
-rw-r--r-- | src/common/Collision/Maps/MapTree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/Collision/Maps/MapTree.h b/src/common/Collision/Maps/MapTree.h index 63d542754c1..c6a283cac4d 100644 --- a/src/common/Collision/Maps/MapTree.h +++ b/src/common/Collision/Maps/MapTree.h @@ -29,7 +29,7 @@ namespace VMAP class GroupModel; class VMapManager2; - struct LocationInfo + struct TC_COMMON_API LocationInfo { LocationInfo(): hitInstance(nullptr), hitModel(nullptr), ground_Z(-G3D::finf()) { } const ModelInstance* hitInstance; @@ -37,7 +37,7 @@ namespace VMAP float ground_Z; }; - class StaticMapTree + class TC_COMMON_API StaticMapTree { typedef std::unordered_map<uint32, bool> loadedTileMap; typedef std::unordered_map<uint32, uint32> loadedSpawnMap; @@ -87,7 +87,7 @@ namespace VMAP StaticMapTree& operator=(StaticMapTree const& right) = delete; }; - struct AreaInfo + struct TC_COMMON_API AreaInfo { AreaInfo(): result(false), ground_Z(-G3D::finf()), flags(0), adtId(0), rootId(0), groupId(0) { } |