mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-10 10:20:44 -07:00
38 lines
2 KiB
Java
38 lines
2 KiB
Java
package rt4;
|
|
|
|
import org.openrs2.deob.annotation.OriginalArg;
|
|
import org.openrs2.deob.annotation.OriginalMember;
|
|
import org.openrs2.deob.annotation.Pc;
|
|
|
|
public final class Static276 {
|
|
|
|
@OriginalMember(owner = "client!wh", name = "j", descriptor = "[Lclient!cl;")
|
|
public static final AnimFrameset[] aClass3_Sub2_Sub7Array8 = new AnimFrameset[14];
|
|
|
|
@OriginalMember(owner = "client!wh", name = "m", descriptor = "[I")
|
|
public static final int[] cameraAmplitude = new int[5];
|
|
|
|
@OriginalMember(owner = "client!wh", name = "a", descriptor = "(IIII)Z")
|
|
public static boolean method4611(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3) {
|
|
if (Static9.method187(arg0, arg1, arg2)) {
|
|
@Pc(10) int local10 = arg1 << 7;
|
|
@Pc(14) int local14 = arg2 << 7;
|
|
return SceneGraph.method4394(local10 + 1, SceneGraph.tileHeights[arg0][arg1][arg2] + arg3, local14 + 1) && SceneGraph.method4394(local10 + 128 - 1, SceneGraph.tileHeights[arg0][arg1 + 1][arg2] + arg3, local14 + 1) && SceneGraph.method4394(local10 + 128 - 1, SceneGraph.tileHeights[arg0][arg1 + 1][arg2 + 1] + arg3, local14 + 128 - 1) && SceneGraph.method4394(local10 + 1, SceneGraph.tileHeights[arg0][arg1][arg2 + 1] + arg3, local14 + 128 - 1);
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
@OriginalMember(owner = "client!wh", name = "b", descriptor = "(B)Lclient!ok;")
|
|
public static IndexedSprite method4614() {
|
|
@Pc(27) IndexedSprite local27;
|
|
if (GlRenderer.enabled) {
|
|
local27 = new GlIndexedSprite(SpriteLoader.width, SpriteLoader.height, SpriteLoader.xOffsets[0], SpriteLoader.yOffsets[0], SpriteLoader.innerWidths[0], SpriteLoader.innerHeights[0], SpriteLoader.pixels[0], SpriteLoader.palette);
|
|
} else {
|
|
local27 = new SoftwareIndexedSprite(SpriteLoader.width, SpriteLoader.height, SpriteLoader.xOffsets[0], SpriteLoader.yOffsets[0], SpriteLoader.innerWidths[0], SpriteLoader.innerHeights[0], SpriteLoader.pixels[0], SpriteLoader.palette);
|
|
}
|
|
SpriteLoader.clear();
|
|
return local27;
|
|
}
|
|
|
|
}
|