more RSClient refactoring

This commit is contained in:
Lucas
2019-07-08 17:46:10 +02:00
parent a32c667251
commit 112a2bcba7
87 changed files with 1384 additions and 1323 deletions

View File

@@ -62,7 +62,7 @@ public class class15 extends class21 {
super.field145 = new short[super.field156][64][64];
super.field154 = new byte[super.field156][64][64];
super.field155 = new byte[super.field156][64][64];
super.field144 = new WorldMapDecoration[super.field156][64][64][];
super.decorations = new WorldMapDecoration[super.field156][64][64][];
int var2 = var1.readUnsignedByte();
if (var2 != class30.field246.field248) {
throw new IllegalStateException("");
@@ -123,7 +123,7 @@ public class class15 extends class21 {
static int method182(int var0, Script var1, boolean var2) {
Widget var3 = Huffman.getWidget(Interpreter.Interpreter_intStack[--RouteStrategy.Interpreter_intStackSize]);
if (var0 == ScriptOpcodes.IF_GETTARGETMASK) {
Interpreter.Interpreter_intStack[++RouteStrategy.Interpreter_intStackSize - 1] = class211.method4107(class1.getWidgetClickMask(var3));
Interpreter.Interpreter_intStack[++RouteStrategy.Interpreter_intStackSize - 1] = Calendar.method4107(class1.getWidgetClickMask(var3));
return 1;
} else if (var0 != ScriptOpcodes.IF_GETOP) {
if (var0 == ScriptOpcodes.IF_GETOPBASE) {