RS-Client: Refactoring (also gradle compiler args) (#1236)
* gradle: compiler args for mixins/rs-client * rs-client: yes * rs-client: no
This commit is contained in:
@@ -74,8 +74,8 @@ public class class65 extends RouteStrategy {
|
||||
Sprite var4 = new Sprite();
|
||||
var4.width = SpriteBuffer.SpriteBuffer_spriteWidth;
|
||||
var4.height = SpriteBuffer.SpriteBuffer_spriteHeight;
|
||||
var4.yOffset = Varps.SpriteBuffer_xOffsets[0];
|
||||
var4.xOffset = SpriteBuffer.SpriteBuffer_yOffsets[0];
|
||||
var4.xOffset = Varps.SpriteBuffer_xOffsets[0];
|
||||
var4.yOffset = SpriteBuffer.SpriteBuffer_yOffsets[0];
|
||||
var4.subWidth = SpriteBuffer.SpriteBuffer_spriteWidths[0];
|
||||
var4.subHeight = class216.SpriteBuffer_spriteHeights[0];
|
||||
int var5 = var4.subHeight * var4.subWidth;
|
||||
@@ -191,9 +191,9 @@ public class class65 extends RouteStrategy {
|
||||
garbageValue = "-1548212436"
|
||||
)
|
||||
@Export("addSceneMenuOptions")
|
||||
static final void addSceneMenuOptions(int var0, int var1, int var2, int var3) {
|
||||
static final void addSceneMenuOptions(int mouseX, int mouseY, int xOffset, int yOffset) {
|
||||
if (Client.isItemSelected == 0 && !Client.isSpellSelected) {
|
||||
class188.insertMenuItemNoShift("Walk here", "", 23, 0, var0 - var2, var1 - var3);
|
||||
class188.insertMenuItemNoShift("Walk here", "", 23, 0, mouseX - xOffset, mouseY - yOffset);
|
||||
}
|
||||
|
||||
long var4 = -1L;
|
||||
@@ -400,24 +400,25 @@ public class class65 extends RouteStrategy {
|
||||
static void method1176() {
|
||||
for (InterfaceParent var0 = (InterfaceParent)Client.interfaceParents.first(); var0 != null; var0 = (InterfaceParent)Client.interfaceParents.next()) {
|
||||
int var1 = var0.group;
|
||||
if (class162.loadInterface(var1)) {
|
||||
boolean var2 = true;
|
||||
Widget[] var3 = Widget.Widget_interfaceComponents[var1];
|
||||
if (!class162.loadInterface(var1)) {
|
||||
continue;
|
||||
}
|
||||
boolean var2 = true;
|
||||
Widget[] var3 = Widget.Widget_interfaceComponents[var1];
|
||||
|
||||
int var4;
|
||||
for (var4 = 0; var4 < var3.length; ++var4) {
|
||||
if (var3[var4] != null) {
|
||||
var2 = var3[var4].isIf3;
|
||||
break;
|
||||
}
|
||||
int var4;
|
||||
for (var4 = 0; var4 < var3.length; ++var4) {
|
||||
if (var3[var4] != null) {
|
||||
var2 = var3[var4].isIf3;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!var2) {
|
||||
var4 = (int)var0.key;
|
||||
Widget var5 = class80.getWidget(var4);
|
||||
if (var5 != null) {
|
||||
Strings.method4120(var5);
|
||||
}
|
||||
if (!var2) {
|
||||
var4 = (int)var0.key;
|
||||
Widget var5 = class80.getWidget(var4);
|
||||
if (var5 != null) {
|
||||
Strings.invalidateWidget(var5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user