mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 13:30:30 -07:00
Initial deob and project structure
This commit is contained in:
commit
e2d5c0a1e0
671 changed files with 108157 additions and 0 deletions
44
client/src/main/java/Static76.java
Normal file
44
client/src/main/java/Static76.java
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
import java.nio.FloatBuffer;
|
||||
import javax.media.opengl.GL;
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public final class Static76 {
|
||||
|
||||
@OriginalMember(owner = "client!ga", name = "e", descriptor = "I")
|
||||
private static int anInt2126 = 2;
|
||||
|
||||
@OriginalMember(owner = "client!ga", name = "a", descriptor = "()V")
|
||||
public static void method1642() {
|
||||
@Pc(1) GL local1 = Static239.aGL1;
|
||||
if (local1.isExtensionAvailable("GL_ARB_point_parameters")) {
|
||||
@Pc(20) float[] local20 = new float[] { 1.0F, 0.0F, 5.0E-4F };
|
||||
local1.glPointParameterfvARB(GL.GL_POINT_DISTANCE_ATTENUATION, local20, 0);
|
||||
@Pc(28) FloatBuffer local28 = FloatBuffer.allocate(1);
|
||||
local1.glGetFloatv(GL.GL_POINT_SIZE_MAX, local28);
|
||||
@Pc(36) float local36 = local28.get(0);
|
||||
if (local36 > 1024.0F) {
|
||||
local36 = 1024.0F;
|
||||
}
|
||||
local1.glPointParameterfARB(GL.GL_POINT_SIZE_MIN, 1.0F);
|
||||
local1.glPointParameterfARB(GL.GL_POINT_SIZE_MAX, local36);
|
||||
}
|
||||
if (local1.isExtensionAvailable("GL_ARB_point_sprite")) {
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ga", name = "b", descriptor = "()V")
|
||||
public static void method1643() {
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ga", name = "c", descriptor = "()I")
|
||||
public static int method1644() {
|
||||
return anInt2126;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ga", name = "b", descriptor = "(I)V")
|
||||
public static void method1645(@OriginalArg(0) int arg0) {
|
||||
anInt2126 = arg0;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue