mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-18 12:30:21 -07:00
Created TypeList classes and moved static members to them
This commit is contained in:
parent
6ba1f2f808
commit
b3a5fdbec9
356 changed files with 6604 additions and 6652 deletions
|
|
@ -9,6 +9,8 @@ public class Fonts {
|
|||
public static Font p12Full;
|
||||
@OriginalMember(owner = "client!wl", name = "q", descriptor = "Lclient!rk;")
|
||||
public static Font b12Full;
|
||||
@OriginalMember(owner = "client!vj", name = "j", descriptor = "Lclient!dd;")
|
||||
public static SoftwareFont p11FullSoftware;
|
||||
|
||||
@OriginalMember(owner = "client!fn", name = "a", descriptor = "(Lclient!ve;Lclient!ve;Z)I")
|
||||
public static int getReady(@OriginalArg(0) Js5 arg0, @OriginalArg(1) Js5 arg1) {
|
||||
|
|
@ -33,4 +35,21 @@ public class Fonts {
|
|||
}
|
||||
return ready;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ld", name = "a", descriptor = "(B)I")
|
||||
public static int getTotal() {
|
||||
return 6;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!hn", name = "a", descriptor = "(Lclient!ve;ILclient!ve;)V")
|
||||
public static void load(@OriginalArg(0) Js5 arg0, @OriginalArg(2) Js5 arg1) {
|
||||
p11Full = Static127.method2462(Sprites.p11FullId, arg1, arg0);
|
||||
if (GlRenderer.enabled) {
|
||||
p11FullSoftware = Static122.method2412(Sprites.p11FullId, arg0, arg1);
|
||||
} else {
|
||||
p11FullSoftware = (SoftwareFont) p11Full;
|
||||
}
|
||||
p12Full = Static127.method2462(Sprites.p12FullId, arg1, arg0);
|
||||
b12Full = Static127.method2462(Sprites.b12FullId, arg1, arg0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue