mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-18 20:40:20 -07:00
Consolidated a bunch of static classes
This commit is contained in:
parent
cf6a86e926
commit
774d382816
260 changed files with 4163 additions and 4536 deletions
|
|
@ -1,7 +1,6 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public final class Static12 {
|
||||
|
||||
|
|
@ -11,42 +10,4 @@ public final class Static12 {
|
|||
@OriginalMember(owner = "client!bb", name = "t", descriptor = "[[B")
|
||||
public static final byte[][] aByteArrayArray2 = new byte[250][];
|
||||
|
||||
@OriginalMember(owner = "client!bb", name = "A", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_74 = JagString.parse("::");
|
||||
|
||||
@OriginalMember(owner = "client!bb", name = "a", descriptor = "(I)V")
|
||||
public static void method447() {
|
||||
if (WorldMap.zoom < WorldMap.targetZoom) {
|
||||
WorldMap.zoom = (float) ((double) WorldMap.zoom + (double) WorldMap.zoom / 30.0D);
|
||||
if (WorldMap.targetZoom < WorldMap.zoom) {
|
||||
WorldMap.zoom = WorldMap.targetZoom;
|
||||
}
|
||||
WorldMap.method965();
|
||||
} else if (WorldMap.targetZoom < WorldMap.zoom) {
|
||||
WorldMap.zoom = (float) ((double) WorldMap.zoom - (double) WorldMap.zoom / 30.0D);
|
||||
if (WorldMap.targetZoom > WorldMap.zoom) {
|
||||
WorldMap.zoom = WorldMap.targetZoom;
|
||||
}
|
||||
WorldMap.method965();
|
||||
}
|
||||
if (WorldMap.anInt3482 == -1 || WorldMap.anInt4901 == -1) {
|
||||
return;
|
||||
}
|
||||
@Pc(60) int local60 = WorldMap.anInt3482 - WorldMap.anInt435;
|
||||
if (local60 < 2 || local60 > 2) {
|
||||
local60 >>= 0x4;
|
||||
}
|
||||
@Pc(78) int local78 = WorldMap.anInt4901 - WorldMap.anInt919;
|
||||
if (local78 < 2 || local78 > 2) {
|
||||
local78 >>= 0x4;
|
||||
}
|
||||
WorldMap.anInt919 -= -local78;
|
||||
WorldMap.anInt435 += local60;
|
||||
if (local60 == 0 && local78 == 0) {
|
||||
WorldMap.anInt3482 = -1;
|
||||
WorldMap.anInt4901 = -1;
|
||||
}
|
||||
WorldMap.method965();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue