mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-26 12:55:15 -06:00
Moved around more static methods, nothing final
Some of these are "incorrect" - I wanted to decrease the # of static classes first by grouping them if they're slightly related. Then I'll do a second pass in each class to reorganize later.
This commit is contained in:
parent
c988509e8e
commit
ba4debb0d3
150 changed files with 2805 additions and 3034 deletions
|
|
@ -12,6 +12,8 @@ public final class UnderwaterMaterialRenderer implements MaterialRenderer {
|
|||
|
||||
@OriginalMember(owner = "client!wg", name = "b", descriptor = "Z")
|
||||
public static boolean aBoolean308 = false;
|
||||
@OriginalMember(owner = "client!nh", name = "Z", descriptor = "I")
|
||||
public static int anInt3241 = 128;
|
||||
@OriginalMember(owner = "client!wg", name = "c", descriptor = "I")
|
||||
private int anInt5805 = -1;
|
||||
|
||||
|
|
@ -206,9 +208,9 @@ public final class UnderwaterMaterialRenderer implements MaterialRenderer {
|
|||
local1.glTexEnvfv(GL2.GL_TEXTURE_ENV, GL2.GL_TEXTURE_ENV_COLOR, WaterMaterialRenderer.method2422(), 0);
|
||||
if (arg0 >= 0) {
|
||||
this.aFloatArray29[0] = 0.0F;
|
||||
this.aFloatArray29[1] = 1.0F / (float) Static170.anInt3241;
|
||||
this.aFloatArray29[1] = 1.0F / (float) anInt3241;
|
||||
this.aFloatArray29[2] = 0.0F;
|
||||
this.aFloatArray29[3] = (float) arg0 * 1.0F / (float) Static170.anInt3241;
|
||||
this.aFloatArray29[3] = (float) arg0 * 1.0F / (float) anInt3241;
|
||||
local1.glTexGenfv(GL2.GL_S, GL2.GL_EYE_PLANE, this.aFloatArray29, 0);
|
||||
local1.glEnable(GL2.GL_TEXTURE_GEN_S);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue