mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 00:15:15 -06:00
Moved source to rt4 package so external code can depend on it
This commit is contained in:
parent
dc6deb9151
commit
153d8569b5
624 changed files with 1253 additions and 7 deletions
|
|
@ -1,74 +0,0 @@
|
|||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalClass;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
@OriginalClass("client!fh")
|
||||
public final class TextureOp9 extends TextureOp {
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "jb", descriptor = "I")
|
||||
private int anInt2007 = 1024;
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "db", descriptor = "I")
|
||||
private int anInt2001 = 2048;
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "eb", descriptor = "I")
|
||||
private int anInt2002 = 3072;
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "<init>", descriptor = "()V")
|
||||
public TextureOp9() {
|
||||
super(1, false);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "a", descriptor = "(ILclient!wa;Z)V")
|
||||
@Override
|
||||
public final void method4629(@OriginalArg(0) int arg0, @OriginalArg(1) Buffer arg1) {
|
||||
if (arg0 == 0) {
|
||||
this.anInt2007 = arg1.g2();
|
||||
} else if (arg0 == 1) {
|
||||
this.anInt2002 = arg1.g2();
|
||||
} else if (arg0 == 2) {
|
||||
this.aBoolean309 = arg1.g1() == 1;
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "a", descriptor = "(IB)[I")
|
||||
@Override
|
||||
public final int[] method4626(@OriginalArg(0) int arg0) {
|
||||
@Pc(19) int[] local19 = this.aClass121_41.method3445(arg0);
|
||||
if (this.aClass121_41.invalid) {
|
||||
@Pc(30) int[] local30 = this.method4624(0, arg0);
|
||||
for (@Pc(32) int local32 = 0; local32 < Static189.anInt4457; local32++) {
|
||||
local19[local32] = this.anInt2007 + (local30[local32] * this.anInt2001 >> 12);
|
||||
}
|
||||
}
|
||||
return local19;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "b", descriptor = "(II)[[I")
|
||||
@Override
|
||||
public final int[][] method4638(@OriginalArg(1) int arg0) {
|
||||
@Pc(7) int[][] local7 = this.aClass103_41.method3173(arg0);
|
||||
if (this.aClass103_41.aBoolean195) {
|
||||
@Pc(17) int[][] local17 = this.method4634(arg0, 0);
|
||||
@Pc(21) int[] local21 = local17[1];
|
||||
@Pc(25) int[] local25 = local17[2];
|
||||
@Pc(29) int[] local29 = local17[0];
|
||||
@Pc(33) int[] local33 = local7[0];
|
||||
@Pc(37) int[] local37 = local7[1];
|
||||
@Pc(41) int[] local41 = local7[2];
|
||||
for (@Pc(43) int local43 = 0; local43 < Static189.anInt4457; local43++) {
|
||||
local33[local43] = this.anInt2007 + (this.anInt2001 * local29[local43] >> 12);
|
||||
local37[local43] = (this.anInt2001 * local21[local43] >> 12) + this.anInt2007;
|
||||
local41[local43] = this.anInt2007 + (this.anInt2001 * local25[local43] >> 12);
|
||||
}
|
||||
}
|
||||
return local7;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "e", descriptor = "(I)V")
|
||||
@Override
|
||||
public final void method4630() {
|
||||
this.anInt2001 = this.anInt2002 - this.anInt2007;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue