修改底层渲染为OpenGL
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
|
||||
#include "Tool/Tool_Network.h"
|
||||
|
||||
#ifdef __SWITCH__
|
||||
#else
|
||||
#include "sqdbg.h"
|
||||
#endif
|
||||
|
||||
#ifdef SQUNICODE
|
||||
|
||||
#define scvprintf vfwprintf
|
||||
@@ -50,6 +55,7 @@ public:
|
||||
void LoadLocalScript();
|
||||
// 运行
|
||||
void Run();
|
||||
void Update(float Dt);
|
||||
// 清理
|
||||
void Clean();
|
||||
|
||||
@@ -60,5 +66,16 @@ private:
|
||||
SquirrelEx(/* args */);
|
||||
~SquirrelEx();
|
||||
HSQUIRRELVM v = nullptr;
|
||||
|
||||
|
||||
#ifdef __SWITCH__
|
||||
#else
|
||||
// 虚拟机调试对象
|
||||
HSQDEBUGSERVER dbg;
|
||||
#endif
|
||||
|
||||
//工作目录
|
||||
std::string WorkPath;
|
||||
//热重载
|
||||
bool HotReload = true;
|
||||
std::map<std::string, int> _scriptmap;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user