mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-22 02:45: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
|
|
@ -21,7 +21,7 @@ final class TextureOperation37 extends TextureOperation {
|
|||
private int anInt3266 = 8192;
|
||||
|
||||
|
||||
final void method157(int var1, DataBuffer var2, boolean var3) {
|
||||
final void decode(int var1, DataBuffer var2) {
|
||||
try {
|
||||
if(var1 == 0) {
|
||||
this.anInt3265 = var2.readUnsignedShort();
|
||||
|
|
@ -39,12 +39,12 @@ final class TextureOperation37 extends TextureOperation {
|
|||
this.anInt3266 = var2.readUnsignedShort();
|
||||
}
|
||||
|
||||
if(!var3) {
|
||||
if(!true) {
|
||||
this.anInt3266 = 85;
|
||||
}
|
||||
|
||||
} catch (RuntimeException var5) {
|
||||
throw ClientErrorException.clientError(var5, "mh.A(" + var1 + ',' + (var2 != null?"{...}":"null") + ',' + var3 + ')');
|
||||
throw ClientErrorException.clientError(var5, "mh.A(" + var1 + ',' + (var2 != null?"{...}":"null") + ',' + true + ')');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -129,11 +129,11 @@ final class TextureOperation37 extends TextureOperation {
|
|||
return;
|
||||
}
|
||||
|
||||
GraphicDefinition.incomingBuffer.index = 0;
|
||||
Class3_Sub15.activeConnection.readBytes(GraphicDefinition.incomingBuffer.buffer, 0, 8 * TextureOperation29.aClass94Array3391.length);
|
||||
BufferedDataStream.incomingBuffer.index = 0;
|
||||
Class3_Sub15.activeConnection.readBytes(BufferedDataStream.incomingBuffer.buffer, 0, 8 * TextureOperation29.aClass94Array3391.length);
|
||||
|
||||
for(response = 0; response < TextureOperation29.aClass94Array3391.length; ++response) {
|
||||
TextureOperation29.aClass94Array3391[response] = Unsorted.method1052(GraphicDefinition.incomingBuffer.readLong());
|
||||
TextureOperation29.aClass94Array3391[response] = Unsorted.method1052(BufferedDataStream.incomingBuffer.readLong());
|
||||
}
|
||||
|
||||
Unsorted.anInt1711 = 21;
|
||||
|
|
@ -218,15 +218,11 @@ final class TextureOperation37 extends TextureOperation {
|
|||
}
|
||||
}
|
||||
|
||||
final void method158(int var1) {
|
||||
final void postDecode() {
|
||||
try {
|
||||
Class8.method844((byte)-9);
|
||||
if(var1 != 16251) {
|
||||
method272((byte)-85);
|
||||
}
|
||||
|
||||
} catch (RuntimeException var3) {
|
||||
throw ClientErrorException.clientError(var3, "mh.P(" + var1 + ')');
|
||||
throw ClientErrorException.clientError(var3, "mh.P(" + ')');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue