mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-17 03:50:24 -07:00
Reorganized some static classes and deleted empty leftover ones
This commit is contained in:
parent
8708007fd1
commit
53d9d9d904
55 changed files with 430 additions and 559 deletions
|
|
@ -9,46 +9,6 @@ public final class Static132 {
|
|||
@OriginalMember(owner = "client!ke", name = "U", descriptor = "I")
|
||||
public static int anInt3291 = 0;
|
||||
|
||||
@OriginalMember(owner = "client!ke", name = "a", descriptor = "(ZLclient!wk;Z)V")
|
||||
public static void closeInterface(@OriginalArg(0) boolean arg0, @OriginalArg(1) ComponentPointer arg1) {
|
||||
@Pc(9) int local9 = (int) arg1.key;
|
||||
@Pc(16) int local16 = arg1.anInt5878;
|
||||
arg1.unlink();
|
||||
if (arg0) {
|
||||
InterfaceList.method2275(local16);
|
||||
}
|
||||
method3214(local16);
|
||||
@Pc(32) Component local32 = InterfaceList.getComponent(local9);
|
||||
if (local32 != null) {
|
||||
InterfaceList.redraw(local32);
|
||||
}
|
||||
@Pc(41) int local41 = MiniMenu.size;
|
||||
@Pc(43) int local43;
|
||||
for (local43 = 0; local43 < local41; local43++) {
|
||||
if (Static2.method5(MiniMenu.actions[local43])) {
|
||||
MiniMenu.remove(local43);
|
||||
}
|
||||
}
|
||||
if (MiniMenu.size == 1) {
|
||||
Static40.aBoolean108 = false;
|
||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||
} else {
|
||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||
local43 = Fonts.b12Full.getStringWidth(LocalizedText.CHOOSE_OPTION);
|
||||
for (@Pc(75) int local75 = 0; local75 < MiniMenu.size; local75++) {
|
||||
@Pc(88) int local88 = Fonts.b12Full.getStringWidth(MiniMenu.getOp(local75));
|
||||
if (local43 < local88) {
|
||||
local43 = local88;
|
||||
}
|
||||
}
|
||||
Static13.anInt436 = MiniMenu.size * 15 + (Static40.aBoolean298 ? 26 : 22);
|
||||
Static24.anInt761 = local43 + 8;
|
||||
}
|
||||
if (InterfaceList.topLevelInterface != -1) {
|
||||
Static54.runScripts(1, InterfaceList.topLevelInterface);
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ke", name = "f", descriptor = "(B)V")
|
||||
public static void method2608() {
|
||||
@Pc(7) int local7 = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue