mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Moved source to rt4 package so external code can depend on it
This commit is contained in:
parent
dc6deb9151
commit
153d8569b5
624 changed files with 1253 additions and 7 deletions
|
|
@ -1,91 +0,0 @@
|
|||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public final class Static118 {
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "d", descriptor = "[[[B")
|
||||
public static byte[][][] aByteArrayArrayArray9;
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "i", descriptor = "Lclient!be;")
|
||||
public static Component aClass13_15;
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "a", descriptor = "(B)I")
|
||||
public static int method2352() {
|
||||
Static232.anInt5212 = 0;
|
||||
return Static119.method2385();
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "a", descriptor = "(IB)V")
|
||||
public static void method2353(@OriginalArg(0) int arg0) {
|
||||
@Pc(12) DelayedStateChange local12 = Static238.method4143(12, arg0);
|
||||
local12.pushClient();
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "a", descriptor = "(II[Lclient!be;)V")
|
||||
public static void method2354(@OriginalArg(1) int arg0, @OriginalArg(2) Component[] arg1) {
|
||||
for (@Pc(7) int local7 = 0; local7 < arg1.length; local7++) {
|
||||
@Pc(15) Component local15 = arg1[local7];
|
||||
if (local15 != null && local15.layer == arg0 && (!local15.aBoolean32 || !Static36.method947(local15))) {
|
||||
if (local15.type == 0) {
|
||||
if (!local15.aBoolean32 && Static36.method947(local15) && local15 != Static180.aClass13_22) {
|
||||
continue;
|
||||
}
|
||||
method2354(local15.id, arg1);
|
||||
if (local15.createdComponents != null) {
|
||||
method2354(local15.id, local15.createdComponents);
|
||||
}
|
||||
@Pc(73) Class3_Sub31 local73 = (Class3_Sub31) Static119.aClass133_9.get((long) local15.id);
|
||||
if (local73 != null) {
|
||||
Static96.method1949(local73.anInt5878);
|
||||
}
|
||||
}
|
||||
if (local15.type == 6) {
|
||||
@Pc(105) int local105;
|
||||
if (local15.modelSeqId != -1 || local15.anInt462 != -1) {
|
||||
@Pc(100) boolean local100 = Static154.method2926(local15);
|
||||
if (local100) {
|
||||
local105 = local15.anInt462;
|
||||
} else {
|
||||
local105 = local15.modelSeqId;
|
||||
}
|
||||
if (local105 != -1) {
|
||||
@Pc(118) SeqType local118 = SeqTypeList.get(local105);
|
||||
if (local118 != null) {
|
||||
local15.anInt500 += Static178.anInt4247;
|
||||
while (local15.anInt500 > local118.anIntArray474[local15.anInt510]) {
|
||||
local15.anInt500 -= local118.anIntArray474[local15.anInt510];
|
||||
local15.anInt510++;
|
||||
if (local118.frames.length <= local15.anInt510) {
|
||||
local15.anInt510 -= local118.anInt5362;
|
||||
if (local15.anInt510 < 0 || local118.frames.length <= local15.anInt510) {
|
||||
local15.anInt510 = 0;
|
||||
}
|
||||
}
|
||||
local15.anInt496 = local15.anInt510 + 1;
|
||||
if (local118.frames.length <= local15.anInt496) {
|
||||
local15.anInt496 -= local118.anInt5362;
|
||||
if (local15.anInt496 < 0 || local118.frames.length <= local15.anInt496) {
|
||||
local15.anInt496 = -1;
|
||||
}
|
||||
}
|
||||
Static43.redraw(local15);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (local15.modelRotationSpeed != 0 && !local15.aBoolean32) {
|
||||
@Pc(239) int local239 = local15.modelRotationSpeed >> 16;
|
||||
@Pc(243) int local243 = local239 * Static178.anInt4247;
|
||||
local105 = local15.modelRotationSpeed << 16 >> 16;
|
||||
local15.modelXAngle = local243 + local15.modelXAngle & 0x7FF;
|
||||
local105 *= Static178.anInt4247;
|
||||
local15.modelYAngle = local15.modelYAngle + local105 & 0x7FF;
|
||||
Static43.redraw(local15);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue