mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Consolidated a LOT of static classes (first pass)
This commit is contained in:
parent
9789c5b66e
commit
7ffd30e31c
264 changed files with 7190 additions and 8201 deletions
|
|
@ -11,6 +11,8 @@ public final class Static44 {
|
|||
|
||||
@OriginalMember(owner = "client!dh", name = "i", descriptor = "Lclient!na;")
|
||||
public static final JagString IMG1 = JagString.parse("<img=1>");
|
||||
@OriginalMember(owner = "client!d", name = "R", descriptor = "Lclient!be;")
|
||||
public static Component aClass13_10 = null;
|
||||
|
||||
@OriginalMember(owner = "client!dh", name = "a", descriptor = "(IIII)Lclient!wk;")
|
||||
public static ComponentPointer method1148(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2) {
|
||||
|
|
@ -23,22 +25,22 @@ public final class Static44 {
|
|||
if (local28 != null) {
|
||||
InterfaceList.redraw(local28);
|
||||
}
|
||||
if (Static39.aClass13_10 != null) {
|
||||
InterfaceList.redraw(Static39.aClass13_10);
|
||||
Static39.aClass13_10 = null;
|
||||
if (aClass13_10 != null) {
|
||||
InterfaceList.redraw(aClass13_10);
|
||||
aClass13_10 = null;
|
||||
}
|
||||
@Pc(45) int local45 = MiniMenu.size;
|
||||
@Pc(53) int local53;
|
||||
for (local53 = 0; local53 < local45; local53++) {
|
||||
if (Static2.method5(MiniMenu.actions[local53])) {
|
||||
if (InterfaceList.method5(MiniMenu.actions[local53])) {
|
||||
MiniMenu.remove(local53);
|
||||
}
|
||||
}
|
||||
if (MiniMenu.size == 1) {
|
||||
Static40.aBoolean108 = false;
|
||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||
InterfaceList.method4012(InterfaceList.anInt4271, InterfaceList.anInt761, InterfaceList.anInt5138, InterfaceList.anInt436);
|
||||
} else {
|
||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||
InterfaceList.method4012(InterfaceList.anInt4271, InterfaceList.anInt761, InterfaceList.anInt5138, InterfaceList.anInt436);
|
||||
local53 = Fonts.b12Full.getStringWidth(LocalizedText.CHOOSE_OPTION);
|
||||
for (@Pc(95) int local95 = 0; local95 < MiniMenu.size; local95++) {
|
||||
@Pc(104) int local104 = Fonts.b12Full.getStringWidth(MiniMenu.getOp(local95));
|
||||
|
|
@ -46,15 +48,15 @@ public final class Static44 {
|
|||
local53 = local104;
|
||||
}
|
||||
}
|
||||
Static24.anInt761 = local53 + 8;
|
||||
Static13.anInt436 = MiniMenu.size * 15 + (Static40.aBoolean298 ? 26 : 22);
|
||||
InterfaceList.anInt761 = local53 + 8;
|
||||
InterfaceList.anInt436 = MiniMenu.size * 15 + (Static40.aBoolean298 ? 26 : 22);
|
||||
}
|
||||
if (local28 != null) {
|
||||
InterfaceList.method531(local28, false);
|
||||
}
|
||||
InterfaceList.method1626(arg0);
|
||||
if (InterfaceList.topLevelInterface != -1) {
|
||||
Static54.runScripts(1, InterfaceList.topLevelInterface);
|
||||
InterfaceList.runScripts(1, InterfaceList.topLevelInterface);
|
||||
}
|
||||
return local9;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue