增加简易绘制Ani
This commit is contained in:
parent
a95f9e94d3
commit
b5961f140c
|
|
@ -164,6 +164,17 @@ class Rindro_BaseToolClass {
|
|||
return ani;
|
||||
}
|
||||
|
||||
//超简易绘制动态Ani
|
||||
function DrawAniEx(X, Y, AniPath, ...) {
|
||||
local AniName = "简易播放Ani:" + AniPath;
|
||||
if (vargc > 0) AniName = vargv[0];
|
||||
local obj = sq_getMyCharacter();
|
||||
local ani = obj.getVar().GetAnimationMap(AniName, AniPath);
|
||||
sq_AnimationProc(ani);
|
||||
sq_drawCurrentFrame(ani, X, Y, true);
|
||||
return ani;
|
||||
}
|
||||
|
||||
|
||||
//初始化根表成员
|
||||
function InitClass(Name) {
|
||||
|
|
@ -254,6 +265,7 @@ class MemoryTool {
|
|||
nEcx8 = NativePointer(L_sq_I2P(Address + 8)).readInt();
|
||||
if (nEcx8 == -1) return nEcx8;
|
||||
nEsi = NativePointer(L_sq_I2P(0x1AF8D78)).readInt();
|
||||
if (nEsi == -1) return nEdx;
|
||||
nEdx = nEax >> 16;
|
||||
nTmp = (nEdx << 2) + nEsi + 36;
|
||||
nEdx = NativePointer(L_sq_I2P(nTmp)).readInt();
|
||||
|
|
@ -270,7 +282,7 @@ class MemoryTool {
|
|||
}
|
||||
|
||||
//加密写入内存地址数据
|
||||
function EncodeMemoryData() {
|
||||
function EncodeMemoryData(AddreSs, Data) {
|
||||
local JEdi, JEcx, JEax, JEsi, JEdx, JSs;
|
||||
JEcx = AddreSs;
|
||||
JEax = L_sq_RA(0x1AF8DB8);
|
||||
|
|
|
|||
Loading…
Reference in New Issue