mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-19 04:50:25 -07:00
Started moving around static methods/fields
This commit is contained in:
parent
bed128bd19
commit
6ba1f2f808
305 changed files with 5027 additions and 5075 deletions
|
|
@ -12,10 +12,7 @@ public final class Static12 {
|
|||
@OriginalMember(owner = "client!bb", name = "m", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_73 = Static28.parse("runes");
|
||||
|
||||
@OriginalMember(owner = "client!bb", name = "n", descriptor = "I")
|
||||
public static int musicVolume = 255;
|
||||
|
||||
@OriginalMember(owner = "client!bb", name = "t", descriptor = "[[B")
|
||||
@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;")
|
||||
|
|
@ -26,37 +23,37 @@ public final class Static12 {
|
|||
|
||||
@OriginalMember(owner = "client!bb", name = "a", descriptor = "(I)V")
|
||||
public static void method447() {
|
||||
if (Static83.aFloat3 < Static138.aFloat14) {
|
||||
Static83.aFloat3 = (float) ((double) Static83.aFloat3 + (double) Static83.aFloat3 / 30.0D);
|
||||
if (Static138.aFloat14 < Static83.aFloat3) {
|
||||
Static83.aFloat3 = Static138.aFloat14;
|
||||
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;
|
||||
}
|
||||
Static38.method965();
|
||||
} else if (Static138.aFloat14 < Static83.aFloat3) {
|
||||
Static83.aFloat3 = (float) ((double) Static83.aFloat3 - (double) Static83.aFloat3 / 30.0D);
|
||||
if (Static138.aFloat14 > Static83.aFloat3) {
|
||||
Static83.aFloat3 = Static138.aFloat14;
|
||||
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;
|
||||
}
|
||||
Static38.method965();
|
||||
WorldMap.method965();
|
||||
}
|
||||
if (Static142.anInt3482 == -1 || Static217.anInt4901 == -1) {
|
||||
if (WorldMap.anInt3482 == -1 || WorldMap.anInt4901 == -1) {
|
||||
return;
|
||||
}
|
||||
@Pc(60) int local60 = Static142.anInt3482 - Static13.anInt435;
|
||||
@Pc(60) int local60 = WorldMap.anInt3482 - WorldMap.anInt435;
|
||||
if (local60 < 2 || local60 > 2) {
|
||||
local60 >>= 0x4;
|
||||
}
|
||||
@Pc(78) int local78 = Static217.anInt4901 - Static28.anInt919;
|
||||
@Pc(78) int local78 = WorldMap.anInt4901 - WorldMap.anInt919;
|
||||
if (local78 < 2 || local78 > 2) {
|
||||
local78 >>= 0x4;
|
||||
}
|
||||
Static28.anInt919 -= -local78;
|
||||
Static13.anInt435 += local60;
|
||||
WorldMap.anInt919 -= -local78;
|
||||
WorldMap.anInt435 += local60;
|
||||
if (local60 == 0 && local78 == 0) {
|
||||
Static142.anInt3482 = -1;
|
||||
Static217.anInt4901 = -1;
|
||||
WorldMap.anInt3482 = -1;
|
||||
WorldMap.anInt4901 = -1;
|
||||
}
|
||||
Static38.method965();
|
||||
WorldMap.method965();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue