mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-18 12:30:21 -07:00
Identified Class114 as DisplayMode, reorganized some static methods
This commit is contained in:
parent
5f4a83c394
commit
c988509e8e
139 changed files with 1209 additions and 1383 deletions
|
|
@ -22,7 +22,29 @@ public final class Static115 {
|
|||
public static int anInt2941 = -1;
|
||||
|
||||
@OriginalMember(owner = "client!ja", name = "s", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_582 = JagString.parse("http:)4)4");
|
||||
public static final JagString HTTP_PROTOCOL = JagString.parse("http:)4)4");
|
||||
@OriginalMember(owner = "client!od", name = "g", descriptor = "S")
|
||||
public static short aShort25 = 256;
|
||||
@OriginalMember(owner = "client!an", name = "db", descriptor = "S")
|
||||
public static short aShort9 = 205;
|
||||
@OriginalMember(owner = "client!mc", name = "tb", descriptor = "S")
|
||||
public static short aShort22 = 1;
|
||||
@OriginalMember(owner = "client!ac", name = "k", descriptor = "S")
|
||||
public static short aShort1 = 32767;
|
||||
@OriginalMember(owner = "client!nc", name = "n", descriptor = "I")
|
||||
public static int anInt4055 = 0;
|
||||
@OriginalMember(owner = "client!tm", name = "i", descriptor = "I")
|
||||
public static int anInt5377 = 0;
|
||||
@OriginalMember(owner = "client!bn", name = "eb", descriptor = "I")
|
||||
public static int anInt773 = 0;
|
||||
@OriginalMember(owner = "client!ah", name = "n", descriptor = "I")
|
||||
public static int anInt983 = 0;
|
||||
@OriginalMember(owner = "client!sc", name = "p", descriptor = "I")
|
||||
public static int anInt5029 = 0;
|
||||
@OriginalMember(owner = "client!kd", name = "yb", descriptor = "S")
|
||||
public static short aShort21 = 32767;
|
||||
@OriginalMember(owner = "client!ee", name = "f", descriptor = "S")
|
||||
public static short aShort12 = 1;
|
||||
|
||||
@OriginalMember(owner = "client!ja", name = "a", descriptor = "([II)[I")
|
||||
public static int[] method2308(@OriginalArg(0) int[] arg0) {
|
||||
|
|
@ -61,21 +83,21 @@ public final class Static115 {
|
|||
} else if (local25 > 100) {
|
||||
local25 = 100;
|
||||
}
|
||||
@Pc(51) int local51 = local25 * (Static10.aShort9 - Static178.aShort25) / 100 + Static178.aShort25;
|
||||
if (Static153.aShort22 > local51) {
|
||||
local51 = Static153.aShort22;
|
||||
} else if (Static4.aShort1 < local51) {
|
||||
local51 = Static4.aShort1;
|
||||
@Pc(51) int local51 = local25 * (aShort9 - aShort25) / 100 + aShort25;
|
||||
if (aShort22 > local51) {
|
||||
local51 = aShort22;
|
||||
} else if (aShort1 < local51) {
|
||||
local51 = aShort1;
|
||||
}
|
||||
@Pc(73) int local73 = local51 * arg2 * 512 / (arg0 * 334);
|
||||
@Pc(115) int local115;
|
||||
@Pc(122) int local122;
|
||||
@Pc(86) short local86;
|
||||
if (local73 < Static55.aShort12) {
|
||||
local86 = Static55.aShort12;
|
||||
if (local73 < aShort12) {
|
||||
local86 = aShort12;
|
||||
local51 = arg0 * 334 * local86 / (arg2 * 512);
|
||||
if (Static4.aShort1 < local51) {
|
||||
local51 = Static4.aShort1;
|
||||
if (aShort1 < local51) {
|
||||
local51 = aShort1;
|
||||
local115 = arg2 * 512 * local51 / (local86 * 334);
|
||||
local122 = (arg0 - local115) / 2;
|
||||
if (arg4) {
|
||||
|
|
@ -86,11 +108,11 @@ public final class Static115 {
|
|||
arg3 += local122;
|
||||
arg0 -= local122 * 2;
|
||||
}
|
||||
} else if (Static131.aShort21 < local73) {
|
||||
local86 = Static131.aShort21;
|
||||
} else if (aShort21 < local73) {
|
||||
local86 = aShort21;
|
||||
local51 = local86 * arg0 * 334 / (arg2 * 512);
|
||||
if (Static153.aShort22 > local51) {
|
||||
local51 = Static153.aShort22;
|
||||
if (aShort22 > local51) {
|
||||
local51 = aShort22;
|
||||
local115 = local86 * arg0 * 334 / (local51 * 512);
|
||||
local122 = (arg2 - local115) / 2;
|
||||
if (arg4) {
|
||||
|
|
@ -102,34 +124,12 @@ public final class Static115 {
|
|||
arg1 += local122;
|
||||
}
|
||||
}
|
||||
Static223.anInt5029 = local51 * arg2 / 334;
|
||||
anInt5029 = local51 * arg2 / 334;
|
||||
}
|
||||
Static166.anInt4055 = (short) arg0;
|
||||
Static245.anInt5377 = (short) arg2;
|
||||
Static24.anInt773 = arg1;
|
||||
Static7.anInt983 = arg3;
|
||||
anInt4055 = (short) arg0;
|
||||
anInt5377 = (short) arg2;
|
||||
anInt773 = arg1;
|
||||
anInt983 = arg3;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ja", name = "a", descriptor = "(Z)V")
|
||||
public static void clear() {
|
||||
Fonts.p12Full = null;
|
||||
Sprites.hitmarks = null;
|
||||
Sprites.crosses = null;
|
||||
Sprites.nameIcons = null;
|
||||
Fonts.p11FullSoftware = null;
|
||||
Sprites.mapfunctions = null;
|
||||
Static67.mapfuncs = null;
|
||||
Sprites.mapmarkhints = null;
|
||||
Sprites.headiconPrayers = null;
|
||||
Fonts.b12Full = null;
|
||||
Static106.compass = null;
|
||||
Sprites.mapdots = null;
|
||||
Fonts.p11Full = null;
|
||||
Sprites.mapflags = null;
|
||||
Sprites.hitbars = null;
|
||||
Static277.hintMapEdge = null;
|
||||
Sprites.headhints = null;
|
||||
Sprites.headiconPks = null;
|
||||
Sprites.scrollbars = null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue