rs-client: Cleanup (#1087)
* rs-client: name SpriteBuffer * rs-client: (re)name spritebuffer methods * rs-client/deob: Add missed @Export's, make updatemappings fix this next time * rs-client: run intellij redundant else inspection * rs-client: invert some script interpreter if's * deob: checkstyle fixes * rs-client: SpriteBuffer_loadSprite -> SpriteBuffer_bufferFile
This commit is contained in:
@@ -88,7 +88,8 @@ public class ModelData0 {
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CC_SETSIZE) {
|
||||
}
|
||||
if (var0 == ScriptOpcodes.CC_SETSIZE) {
|
||||
HealthBarUpdate.Interpreter_intStackSize -= 4;
|
||||
var4.rawWidth = Interpreter.Interpreter_intStack[HealthBarUpdate.Interpreter_intStackSize];
|
||||
var4.rawHeight = Interpreter.Interpreter_intStack[HealthBarUpdate.Interpreter_intStackSize + 1];
|
||||
@@ -101,7 +102,8 @@ public class ModelData0 {
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CC_SETHIDE) {
|
||||
}
|
||||
if (var0 == ScriptOpcodes.CC_SETHIDE) {
|
||||
boolean var5 = Interpreter.Interpreter_intStack[--HealthBarUpdate.Interpreter_intStackSize] == 1;
|
||||
if (var5 != var4.isHidden) {
|
||||
var4.isHidden = var5;
|
||||
@@ -109,14 +111,15 @@ public class ModelData0 {
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CC_SETNOCLICKTHROUGH) {
|
||||
}
|
||||
if (var0 == ScriptOpcodes.CC_SETNOCLICKTHROUGH) {
|
||||
var4.noClickThrough = Interpreter.Interpreter_intStack[--HealthBarUpdate.Interpreter_intStackSize] == 1;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CC_SETNOSCROLLTHROUGH) {
|
||||
}
|
||||
if (var0 == ScriptOpcodes.CC_SETNOSCROLLTHROUGH) {
|
||||
var4.noScrollThrough = Interpreter.Interpreter_intStack[--HealthBarUpdate.Interpreter_intStackSize] == 1;
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user