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

@ -31,19 +31,19 @@ public final class Static260 {
@Pc(36) int local36 = Static265.anInt5765 * 128 + 64;
@Pc(44) int local44 = Static207.method3685(Static55.level, local30, local36) - Static57.anInt1744;
@Pc(49) int local49 = local44 - Static5.anInt40;
@Pc(54) int local54 = local30 - Static138.anInt3439;
@Pc(59) int local59 = local36 - Static134.anInt3302;
@Pc(54) int local54 = local30 - Static138.renderX;
@Pc(59) int local59 = local36 - Static134.renderZ;
@Pc(70) int local70 = (int) Math.sqrt((double) (local59 * local59 + local54 * local54));
Static240.anInt5333 = (int) (Math.atan2((double) local49, (double) local70) * 325.949D) & 0x7FF;
Static184.anInt4358 = (int) (Math.atan2((double) local54, (double) local59) * -325.949D) & 0x7FF;
if (Static240.anInt5333 < 128) {
Static240.anInt5333 = 128;
Static240.cameraPitch = (int) (Math.atan2((double) local49, (double) local70) * 325.949D) & 0x7FF;
Static184.cameraYaw = (int) (Math.atan2((double) local54, (double) local59) * -325.949D) & 0x7FF;
if (Static240.cameraPitch < 128) {
Static240.cameraPitch = 128;
}
if (Static240.anInt5333 > 383) {
Static240.anInt5333 = 383;
if (Static240.cameraPitch > 383) {
Static240.cameraPitch = 383;
}
}
Static227.anInt5096 = 2;
Static227.cameraType = 2;
}
@OriginalMember(owner = "client!vd", name = "b", descriptor = "(IIII)Z")
@ -53,7 +53,7 @@ public final class Static260 {
}
@Pc(10) int local10 = arg1 << 7;
@Pc(14) int local14 = arg2 << 7;
@Pc(24) int local24 = Static83.anIntArrayArrayArray4[arg0][arg1][arg2] - 1;
@Pc(24) int local24 = Static83.activeTileHeightMap[arg0][arg1][arg2] - 1;
@Pc(28) int local28 = local24 - 120;
@Pc(32) int local32 = local24 - 230;
@Pc(36) int local36 = local24 - 238;
@ -175,7 +175,7 @@ public final class Static260 {
}
@OriginalMember(owner = "client!vd", name = "a", descriptor = "(BZ)V")
public static void method3852(@OriginalArg(1) boolean arg0) {
public static void clearAmbientSounds(@OriginalArg(1) boolean arg0) {
@Pc(14) AreaSound local14;
for (local14 = (AreaSound) Static3.aClass69_135.method2289(); local14 != null; local14 = (AreaSound) Static3.aClass69_135.method2288()) {
if (local14.aClass3_Sub3_Sub1_1 != null) {