Core/Game: fix dynamic linking

This commit is contained in:
ariel-
2017-03-02 22:26:12 -03:00
parent f612b1cb48
commit 2a6fe27cad
2 changed files with 7 additions and 7 deletions

View File

@@ -25,22 +25,22 @@
namespace GameTime
{
// Server start time
time_t GetStartTime();
TC_GAME_API time_t GetStartTime();
// Current server time (unix) in seconds
time_t GetGameTime();
TC_GAME_API time_t GetGameTime();
// Milliseconds since server start
uint32 GetGameTimeMS();
TC_GAME_API uint32 GetGameTimeMS();
/// Current chrono system_clock time point
std::chrono::system_clock::time_point GetGameTimeSystemPoint();
TC_GAME_API std::chrono::system_clock::time_point GetGameTimeSystemPoint();
/// Current chrono steady_clock time point
std::chrono::steady_clock::time_point GetGameTimeSteadyPoint();
TC_GAME_API std::chrono::steady_clock::time_point GetGameTimeSteadyPoint();
/// Uptime (in secs)
uint32 GetUptime();
TC_GAME_API uint32 GetUptime();
void UpdateGameTimers();
}

View File

@@ -56,7 +56,7 @@ class TC_GAME_API UpdateTime
uint32 _recordedTime;
};
class WorldUpdateTime : public UpdateTime
class TC_GAME_API WorldUpdateTime : public UpdateTime
{
public:
WorldUpdateTime() : UpdateTime(), _recordUpdateTimeInverval(0), _recordUpdateTimeMin(0), _lastRecordTime(0) { }