More renaming

This commit is contained in:
Woah 2021-03-31 22:58:50 -04:00
parent 243a25b5e0
commit 4ca254c946
59 changed files with 1646 additions and 1642 deletions

View file

@ -48,4 +48,53 @@ public class CS2Methods {
throw ClientErrorException.clientError(var3, "bc.A(" + var0 + ',' + -28236 + ')');
}
}
static void method2280(int var1) {
try {
InterfaceWidget var2 = InterfaceWidget.getWidget(11, var1);
var2.a();
} catch (RuntimeException var3) {
throw ClientErrorException.clientError(var3, "wl.B(" + 2714 + ',' + var1 + ')');
}
}
/* * * * INTERFACE SPECIFIC SEPARATE CORRECTLY * * * */
static void method225(RSInterface iface) {
RSInterface var2 = method2273(iface);
int windowWidth;
int windowHeight;
if (var2 == null) {
windowHeight = Class140_Sub7.canvasHeight;
windowWidth = Class23.canvasWidth;
} else {
windowHeight = var2.height;
windowWidth = var2.width;
}
Unsorted.calculateInterfaceSize(iface, windowWidth, windowHeight, false);
Unsorted.calculateInterfacePosition(iface, windowWidth, windowHeight);
}
//INTERFACE SPECIFIC RENAME
static RSInterface method2273(RSInterface iface) {
if (iface.parentId != -1) {
return Unsorted.getRSInterface(iface.parentId);
}
int var3 = iface.componentHash >>> 16;
Class80<Class3_Sub31> var4 = new Class80<>(TextureOperation23.aHashTable_3208);
for (Class3_Sub31 var2 = var4.method1393(); null != var2; var2 = var4.method1392()) {
if (var2.anInt2602 == var3) {
return Unsorted.getRSInterface((int) var2.linkableKey);
}
}
return null;
}
/* * * * END INTERFACE * * * */
}