mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-19 13:00:21 -07:00
Started organizing CS2/Protocol-related functions
This commit is contained in:
parent
46740027df
commit
ef6a5d7385
268 changed files with 5936 additions and 6093 deletions
|
|
@ -6,7 +6,10 @@ import org.openrs2.deob.annotation.Pc;
|
|||
@OriginalClass("client!je")
|
||||
public final class TextureOp15 extends TextureOp {
|
||||
|
||||
@OriginalMember(owner = "client!je", name = "<init>", descriptor = "()V")
|
||||
@OriginalMember(owner = "client!hd", name = "i", descriptor = "I")
|
||||
public static int anInt2433 = 0;
|
||||
|
||||
@OriginalMember(owner = "client!je", name = "<init>", descriptor = "()V")
|
||||
public TextureOp15() {
|
||||
super(1, false);
|
||||
}
|
||||
|
|
@ -17,32 +20,32 @@ public final class TextureOp15 extends TextureOp {
|
|||
@Pc(17) int local17 = Static64.anIntArray153[arg0];
|
||||
@Pc(28) float local28 = (float) Math.atan2((double) (local13 - 2048), (double) (local17 - 2048));
|
||||
if ((double) local28 >= -3.141592653589793D && -2.356194490192345D >= (double) local28) {
|
||||
Static92.anInt2433 = arg0;
|
||||
anInt2433 = arg0;
|
||||
Static267.anInt5776 = arg1;
|
||||
} else if ((double) local28 <= -1.5707963267948966D && -2.356194490192345D <= (double) local28) {
|
||||
Static267.anInt5776 = arg0;
|
||||
Static92.anInt2433 = arg1;
|
||||
anInt2433 = arg1;
|
||||
} else if ((double) local28 <= -0.7853981633974483D && (double) local28 >= -1.5707963267948966D) {
|
||||
Static267.anInt5776 = Static189.anInt4457 - arg0;
|
||||
Static92.anInt2433 = arg1;
|
||||
anInt2433 = arg1;
|
||||
} else if (local28 <= 0.0F && (double) local28 >= -0.7853981633974483D) {
|
||||
Static267.anInt5776 = arg1;
|
||||
Static92.anInt2433 = Static172.anInt4165 - arg0;
|
||||
anInt2433 = Static172.anInt4165 - arg0;
|
||||
} else if (local28 >= 0.0F && (double) local28 <= 0.7853981633974483D) {
|
||||
Static267.anInt5776 = Static189.anInt4457 - arg1;
|
||||
Static92.anInt2433 = Static172.anInt4165 - arg0;
|
||||
anInt2433 = Static172.anInt4165 - arg0;
|
||||
} else if ((double) local28 >= 0.7853981633974483D && (double) local28 <= 1.5707963267948966D) {
|
||||
Static267.anInt5776 = Static189.anInt4457 - arg0;
|
||||
Static92.anInt2433 = Static172.anInt4165 - arg1;
|
||||
anInt2433 = Static172.anInt4165 - arg1;
|
||||
} else if ((double) local28 >= 1.5707963267948966D && (double) local28 <= 2.356194490192345D) {
|
||||
Static92.anInt2433 = Static172.anInt4165 - arg1;
|
||||
anInt2433 = Static172.anInt4165 - arg1;
|
||||
Static267.anInt5776 = arg0;
|
||||
} else if ((double) local28 >= 2.356194490192345D && (double) local28 <= 3.141592653589793D) {
|
||||
Static267.anInt5776 = Static189.anInt4457 - arg1;
|
||||
Static92.anInt2433 = arg0;
|
||||
anInt2433 = arg0;
|
||||
}
|
||||
Static267.anInt5776 &= Static34.anInt1060;
|
||||
Static92.anInt2433 &= Static141.anInt3473;
|
||||
anInt2433 &= Static141.anInt3473;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!je", name = "a", descriptor = "(ILclient!wa;Z)V")
|
||||
|
|
@ -60,7 +63,7 @@ public final class TextureOp15 extends TextureOp {
|
|||
if (this.aClass121_41.invalid) {
|
||||
for (@Pc(26) int local26 = 0; local26 < Static189.anInt4457; local26++) {
|
||||
this.method2382(arg0, local26);
|
||||
@Pc(40) int[] local40 = this.method4624(0, Static92.anInt2433);
|
||||
@Pc(40) int[] local40 = this.method4624(0, anInt2433);
|
||||
local19[local26] = local40[Static267.anInt5776];
|
||||
}
|
||||
}
|
||||
|
|
@ -77,7 +80,7 @@ public final class TextureOp15 extends TextureOp {
|
|||
@Pc(36) int[] local36 = local15[1];
|
||||
for (@Pc(38) int local38 = 0; local38 < Static189.anInt4457; local38++) {
|
||||
this.method2382(arg0, local38);
|
||||
@Pc(52) int[][] local52 = this.method4634(Static92.anInt2433, 0);
|
||||
@Pc(52) int[][] local52 = this.method4634(anInt2433, 0);
|
||||
local28[local38] = local52[0][Static267.anInt5776];
|
||||
local36[local38] = local52[1][Static267.anInt5776];
|
||||
local32[local38] = local52[2][Static267.anInt5776];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue