22 lines
209 B
C++
22 lines
209 B
C++
#include "dl_system.h"
|
|
#include "io/dl_log.h"
|
|
|
|
namespace dl
|
|
{
|
|
|
|
void initEngine()
|
|
{
|
|
#ifdef DL_PLATFORM_WIN32
|
|
system("chcp 65001");
|
|
#endif
|
|
g_log = new LogSystem;
|
|
}
|
|
|
|
void releaseEngine()
|
|
{
|
|
delete g_log;
|
|
}
|
|
|
|
}
|
|
|