rs-client: Cleanup (#1087)
* rs-client: name SpriteBuffer * rs-client: (re)name spritebuffer methods * rs-client/deob: Add missed @Export's, make updatemappings fix this next time * rs-client: run intellij redundant else inspection * rs-client: invert some script interpreter if's * deob: checkstyle fixes * rs-client: SpriteBuffer_loadSprite -> SpriteBuffer_bufferFile
This commit is contained in:
@@ -84,15 +84,14 @@ public final class WallDecoration {
|
||||
signature = "([BI)Lke;",
|
||||
garbageValue = "107452813"
|
||||
)
|
||||
@Export("getWorldMapSprite")
|
||||
public static Font getWorldMapSprite(byte[] var0) {
|
||||
@Export("SpriteBuffer_createFont")
|
||||
public static Font SpriteBuffer_createFont(byte[] var0) {
|
||||
if (var0 == null) {
|
||||
return null;
|
||||
} else {
|
||||
Font var1 = new Font(var0, Varps.SpriteBuffer_xOffsets, class326.SpriteBuffer_yOffsets, class326.SpriteBuffer_spriteWidths, class216.SpriteBuffer_spriteHeights, Frames.SpriteBuffer_spritePalette, class326.SpriteBuffer_pixels);
|
||||
class16.method174();
|
||||
return var1;
|
||||
}
|
||||
Font var1 = new Font(var0, Varps.SpriteBuffer_xOffsets, SpriteBuffer.SpriteBuffer_yOffsets, SpriteBuffer.SpriteBuffer_spriteWidths, class216.SpriteBuffer_spriteHeights, Frames.SpriteBuffer_spritePalette, SpriteBuffer.SpriteBuffer_pixels);
|
||||
class16.SpriteBuffer_clear();
|
||||
return var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("g")
|
||||
@@ -103,9 +102,8 @@ public final class WallDecoration {
|
||||
public static int method3292(int var0) {
|
||||
if (var0 > 0) {
|
||||
return 1;
|
||||
} else {
|
||||
return var0 < 0 ? -1 : 0;
|
||||
}
|
||||
return var0 < 0 ? -1 : 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("as")
|
||||
|
||||
Reference in New Issue
Block a user