Lots of login/js5/cs2 refactoring, rename Class3_Sub14 to GlTile

This commit is contained in:
Pazaz 2022-04-23 01:33:23 -04:00
parent 16e8148b7a
commit e5eeecd0ad
168 changed files with 3168 additions and 3161 deletions

View file

@ -4,7 +4,7 @@ import org.openrs2.deob.annotation.Pc;
public final class Static195 {
@OriginalMember(owner = "client!pk", name = "R", descriptor = "[[Lclient!hg;")
public static Class3_Sub14[][] aClass3_Sub14ArrayArray3;
public static GlTile[][] underWaterHdTiles;
@OriginalMember(owner = "client!pk", name = "Y", descriptor = "I")
public static int anInt4581;
@ -27,13 +27,13 @@ public final class Static195 {
public static void method3532() {
for (@Pc(16) ProjAnimNode local16 = (ProjAnimNode) Static217.aClass69_116.method2289(); local16 != null; local16 = (ProjAnimNode) Static217.aClass69_116.method2288()) {
@Pc(21) ProjAnim local21 = local16.aClass8_Sub6_1;
if (Static55.level != local21.anInt4810 || local21.anInt4800 < Static83.anInt372) {
if (Static55.level != local21.anInt4810 || local21.anInt4800 < Static83.loop) {
local16.method4658();
} else if (Static83.anInt372 >= local21.anInt4822) {
} else if (Static83.loop >= local21.anInt4822) {
if (local21.anInt4819 > 0) {
@Pc(54) Npc local54 = Static175.aClass8_Sub4_Sub2Array1[local21.anInt4819 - 1];
if (local54 != null && local54.anInt3412 >= 0 && local54.anInt3412 < 13312 && local54.anInt3421 >= 0 && local54.anInt3421 < 13312) {
local21.method3705(local54.anInt3421, Static83.anInt372, Static207.method3685(local21.anInt4810, local54.anInt3412, local54.anInt3421) - local21.anInt4805, local54.anInt3412);
local21.method3705(local54.anInt3421, Static83.loop, Static207.method3685(local21.anInt4810, local54.anInt3412, local54.anInt3421) - local21.anInt4805, local54.anInt3412);
}
}
if (local21.anInt4819 < 0) {
@ -45,7 +45,7 @@ public final class Static195 {
local107 = Static159.aClass8_Sub4_Sub1Array1[local102];
}
if (local107 != null && local107.anInt3412 >= 0 && local107.anInt3412 < 13312 && local107.anInt3421 >= 0 && local107.anInt3421 < 13312) {
local21.method3705(local107.anInt3421, Static83.anInt372, Static207.method3685(local21.anInt4810, local107.anInt3412, local107.anInt3421) - local21.anInt4805, local107.anInt3412);
local21.method3705(local107.anInt3421, Static83.loop, Static207.method3685(local21.anInt4810, local107.anInt3412, local107.anInt3421) - local21.anInt4805, local107.anInt3412);
}
}
local21.method3704(Static178.anInt4247);