mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-18 20:40:20 -07: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
55
client/src/main/java/rt4/Static12.java
Normal file
55
client/src/main/java/rt4/Static12.java
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public final class Static12 {
|
||||
|
||||
@OriginalMember(owner = "client!bb", name = "M", descriptor = "I")
|
||||
public static int anInt406;
|
||||
|
||||
@OriginalMember(owner = "client!bb", name = "g", descriptor = "[[[B")
|
||||
public static final byte[][][] tileSettings = new byte[4][104][104];
|
||||
|
||||
@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