This commit is contained in:
2022-04-11 19:44:03 +08:00
parent ca9f19d7c7
commit 191fcd3da9
5 changed files with 56 additions and 9 deletions

View File

@@ -2,6 +2,9 @@
//-------------------------------------------------------------------------------------------Squirrel
// printFunc 输出调用栈和栈内容
typedef int(SqPrintFunc)(uint32_t v);
static SqPrintFunc* SQPrintFunc = (SqPrintFunc*)0x1354060;
// PushRoot
typedef int(SqPushRootFunc)(uint32_t v);
static SqPushRootFunc* SQPushRootTable = (SqPushRootFunc*)0x1358C50;
@@ -22,6 +25,9 @@ static SqPop* SQPop = (SqPop*)0x1358FD0;
//SQ_Get
typedef int(Sq_Get)(uint32_t v, int n);
static Sq_Get* SQ_Get = (Sq_Get*)0x135AE30;
//SQ_Get
typedef int(Sq_GetType)(uint32_t v, int n);
static Sq_GetType* SQ_GetType = (Sq_GetType*)0x1358CD0;
//SQ_Rawget
typedef int(Sq_Rawget)(uint32_t v, int n);
static Sq_Rawget* SQ_Rawget = (Sq_Rawget*)0x135AEA0;
@@ -184,7 +190,6 @@ public://
static int Get_DragonModel(uint32_t v);//获取 龙盒 模式
static int Set_DragonModel(uint32_t v);//设置 龙盒 模式
public:
//新增nut接口funcName绑定C语言函数funcAddr