more RSClient refactoring

This commit is contained in:
Lucwousin
2019-07-10 00:02:08 +02:00
parent 02ba0bbe57
commit 91fbcf3d6b
83 changed files with 670 additions and 592 deletions

View File

@@ -11,7 +11,8 @@ public class GraphicsDefaults {
@ObfuscatedGetter(
intValue = 1673796151
)
public int field878;
@Export("compass")
public int compass;
@ObfuscatedName("f")
@ObfuscatedGetter(
intValue = 159591367
@@ -73,7 +74,7 @@ public class GraphicsDefaults {
public int modIcons;
public GraphicsDefaults() {
this.field878 = -1;
this.compass = -1;
this.field879 = -1;
this.mapScenes = -1;
this.headIconsPk = -1;
@@ -107,7 +108,7 @@ public class GraphicsDefaults {
var3.readMedium();
break;
case 2:
this.field878 = var3.method51();
this.compass = var3.method51();
this.field879 = var3.method51();
this.mapScenes = var3.method51();
this.headIconsPk = var3.method51();
@@ -127,7 +128,8 @@ public class GraphicsDefaults {
signature = "(Lir;Lir;III)Lkk;",
garbageValue = "195396240"
)
public static Font method5823(AbstractArchive var0, AbstractArchive var1, int var2, int var3) {
@Export("loadFont")
public static Font loadFont(AbstractArchive var0, AbstractArchive var1, int var2, int var3) {
if (!SpriteMask.loadSprite(var0, var2, var3)) {
return null;
} else {