mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-17 08:25:10 -06:00
More texture stuff
Separated out Player + NPC rendering
This commit is contained in:
parent
c1efb2a344
commit
ff62177237
129 changed files with 5036 additions and 5147 deletions
|
|
@ -14,9 +14,9 @@ public final class TextureOperation9 extends TextureOperation {
|
|||
static float aFloat3105;
|
||||
|
||||
|
||||
final void method157(int var1, DataBuffer var2, boolean var3) {
|
||||
final void decode(int var1, DataBuffer var2) {
|
||||
try {
|
||||
if(!var3) {
|
||||
if(!true) {
|
||||
method207(18, false, -19, 102L);
|
||||
}
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ public final class TextureOperation9 extends TextureOperation {
|
|||
}
|
||||
|
||||
} catch (RuntimeException var5) {
|
||||
throw ClientErrorException.clientError(var5, "ej.A(" + var1 + ',' + (var2 != null?"{...}":"null") + ',' + var3 + ')');
|
||||
throw ClientErrorException.clientError(var5, "ej.A(" + var1 + ',' + (var2 != null?"{...}":"null") + ',' + true + ')');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -77,17 +77,17 @@ public final class TextureOperation9 extends TextureOperation {
|
|||
if(TextureOperation8.anInt3460 == NPCDefinition.anInt1297 && Class38_Sub1.anInt2612 == Class168.anInt2099) {
|
||||
Unsorted.anInt3660 = 0;
|
||||
if(ClientCommands.shiftClickEnabled && ObjectDefinition.aBooleanArray1490[81] && Unsorted.menuOptionCount > 2) {
|
||||
Class3_Sub30_Sub1.method806(Unsorted.menuOptionCount + -2);
|
||||
BufferedDataStream.method806(Unsorted.menuOptionCount + -2);
|
||||
} else {
|
||||
Class3_Sub30_Sub1.method806(Unsorted.menuOptionCount + -1);
|
||||
BufferedDataStream.method806(Unsorted.menuOptionCount + -1);
|
||||
}
|
||||
}
|
||||
} else if(NPCDefinition.anInt1297 == Class163_Sub1.anInt2993 && Class38_Sub1.anInt2614 == Class38_Sub1.anInt2612) {
|
||||
Unsorted.anInt3660 = 0;
|
||||
if(ClientCommands.shiftClickEnabled && ObjectDefinition.aBooleanArray1490[81] && Unsorted.menuOptionCount > 2) {
|
||||
Class3_Sub30_Sub1.method806(Unsorted.menuOptionCount - 2);
|
||||
BufferedDataStream.method806(Unsorted.menuOptionCount - 2);
|
||||
} else {
|
||||
Class3_Sub30_Sub1.method806(Unsorted.menuOptionCount - 1);
|
||||
BufferedDataStream.method806(Unsorted.menuOptionCount - 1);
|
||||
}
|
||||
} else {
|
||||
Class168.anInt2099 = Class38_Sub1.anInt2614;
|
||||
|
|
@ -142,7 +142,7 @@ public final class TextureOperation9 extends TextureOperation {
|
|||
try {
|
||||
int[] var4 = this.aClass114_2382.method1709(var1);
|
||||
if(this.aClass114_2382.aBoolean1580) {
|
||||
int[] var5 = this.method152(0, !this.aBoolean3104?var1:Class3_Sub20.anInt2487 + -var1, 32755);
|
||||
int[] var5 = this.method152(0, !this.aBoolean3104?var1:Class3_Sub20.anInt2487 + -var1);
|
||||
if(this.aBoolean3100) {
|
||||
for(int var6 = 0; var6 < Class113.anInt1559; ++var6) {
|
||||
var4[var6] = var5[-var6 + RenderAnimationDefinition.anInt396];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue