mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-16 11:30:19 -07:00
Renamed bunch of variables in all Type classes
This commit is contained in:
parent
d2c6c19cb8
commit
a3420acc1c
121 changed files with 1408 additions and 1408 deletions
|
|
@ -32,11 +32,11 @@ public final class GlIndexedSprite extends IndexedSprite {
|
|||
@OriginalMember(owner = "client!oh", name = "<init>", descriptor = "(IIIIII[B[I)V")
|
||||
public GlIndexedSprite(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3, @OriginalArg(4) int arg4, @OriginalArg(5) int arg5, @OriginalArg(6) byte[] arg6, @OriginalArg(7) int[] arg7) {
|
||||
this.innerWidth = arg0;
|
||||
this.anInt4276 = arg1;
|
||||
this.innerHeight = arg1;
|
||||
this.anInt4280 = arg2;
|
||||
this.anInt4273 = arg3;
|
||||
this.width = arg4;
|
||||
this.anInt4278 = arg5;
|
||||
this.height = arg5;
|
||||
this.method3337(arg6, arg7);
|
||||
this.method3339();
|
||||
}
|
||||
|
|
@ -44,11 +44,11 @@ public final class GlIndexedSprite extends IndexedSprite {
|
|||
@OriginalMember(owner = "client!oh", name = "a", descriptor = "([B[I)V")
|
||||
private void method3337(@OriginalArg(0) byte[] arg0, @OriginalArg(1) int[] arg1) {
|
||||
this.anInt4287 = Static165.clp2(this.width);
|
||||
this.anInt4286 = Static165.clp2(this.anInt4278);
|
||||
this.anInt4286 = Static165.clp2(this.height);
|
||||
@Pc(20) byte[] local20 = new byte[this.anInt4287 * this.anInt4286 * 4];
|
||||
@Pc(22) int local22 = 0;
|
||||
@Pc(24) int local24 = 0;
|
||||
for (@Pc(26) int local26 = 0; local26 < this.anInt4278; local26++) {
|
||||
for (@Pc(26) int local26 = 0; local26 < this.height; local26++) {
|
||||
for (@Pc(32) int local32 = 0; local32 < this.width; local32++) {
|
||||
@Pc(41) byte local41 = arg0[local24++];
|
||||
if (local41 == 0) {
|
||||
|
|
@ -134,7 +134,7 @@ public final class GlIndexedSprite extends IndexedSprite {
|
|||
@OriginalMember(owner = "client!oh", name = "a", descriptor = "()V")
|
||||
private void method3339() {
|
||||
@Pc(7) float local7 = (float) this.width / (float) this.anInt4287;
|
||||
@Pc(15) float local15 = (float) this.anInt4278 / (float) this.anInt4286;
|
||||
@Pc(15) float local15 = (float) this.height / (float) this.anInt4286;
|
||||
@Pc(17) GL2 local17 = GlRenderer.gl;
|
||||
if (this.anInt4282 == -1) {
|
||||
this.anInt4282 = local17.glGenLists(1);
|
||||
|
|
@ -147,9 +147,9 @@ public final class GlIndexedSprite extends IndexedSprite {
|
|||
local17.glTexCoord2f(0.0F, 0.0F);
|
||||
local17.glVertex2f(0.0F, 0.0F);
|
||||
local17.glTexCoord2f(0.0F, local15);
|
||||
local17.glVertex2f(0.0F, (float) -this.anInt4278);
|
||||
local17.glVertex2f(0.0F, (float) -this.height);
|
||||
local17.glTexCoord2f(local7, local15);
|
||||
local17.glVertex2f((float) this.width, (float) -this.anInt4278);
|
||||
local17.glVertex2f((float) this.width, (float) -this.height);
|
||||
local17.glEnd();
|
||||
local17.glEndList();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue