tge/engine/platform/platform.cc
2017-04-17 06:17:10 -06:00

19 lines
495 B
C++
Executable File

#include "platform/platform.h"
#include "console/console.h"
#include "console/consoleTypes.h"
#include "platform/platformMutex.h"
S32 sgBackgroundSleepTime = 3000;
S32 sgTimeManagerProcessInterval = 0;
void Platform::initConsole()
{
Con::addVariable("pref::backgroundSleepTime", TypeS32, &sgBackgroundSleepTime);
Con::addVariable("pref::timeManagerProcessInterval", TypeS32, &sgTimeManagerProcessInterval);
}
S32 Platform::getBackgroundSleepTime()
{
return sgBackgroundSleepTime;
}