修改底层渲染为OpenGL

This commit is contained in:
2025-10-23 15:21:12 +08:00
parent 1fe898e09c
commit f9a2300b5a
37 changed files with 2782 additions and 3761 deletions

View File

@@ -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;
};