Refactor the DisplayMode class

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 4 years ago
parent 30b502f87f
commit a95b13220a
  1. 130
      share/deob/map/client.yaml
  2. 6
      share/deob/map/signlink.yaml

@ -253,7 +253,7 @@ classes:
client!to: "Class166" client!to: "Class166"
client!u: "ModelParticleEffector" client!u: "ModelParticleEffector"
client!ua: "NpcType" client!ua: "NpcType"
client!ub: "Class169" client!ub: "DisplayMode"
client!uc: "TextureOp23" client!uc: "TextureOp23"
client!ud: "Class170" client!ud: "Class170"
client!ue: "GameShell" client!ue: "GameShell"
@ -3327,8 +3327,8 @@ fields:
owner: "ScriptRunner" owner: "ScriptRunner"
name: "arrays" name: "arrays"
client!hb.h [Lclient!ub;: client!hb.h [Lclient!ub;:
owner: "Static3" owner: "DisplayMode"
name: "aClass169Array1" name: "modes"
client!hb.i I: client!hb.i I:
owner: "GameShell" owner: "GameShell"
name: "instances" name: "instances"
@ -10218,23 +10218,23 @@ fields:
owner: "NpcType" owner: "NpcType"
name: "anInt5247" name: "anInt5247"
client!ub.b [I: client!ub.b [I:
owner: "Class169" owner: "DisplayMode"
name: "CRC32_TABLE" name: "CRC32_TABLE"
client!ub.c Ljava/lang/String;: client!ub.c Ljava/lang/String;:
owner: "LocalisedText" owner: "LocalisedText"
name: "MAINLOAD10B" name: "MAINLOAD10B"
client!ub.d I: client!ub.d I:
owner: "Class169" owner: "DisplayMode"
name: "anInt5275" name: "height"
client!ub.e I: client!ub.e I:
owner: "Class169" owner: "DisplayMode"
name: "anInt5276" name: "width"
client!ub.f I: client!ub.f I:
owner: "Class169" owner: "DisplayMode"
name: "anInt5277" name: "refreshRate"
client!ub.h I: client!ub.h I:
owner: "Class169" owner: "DisplayMode"
name: "anInt5279" name: "bitDepth"
client!ub.j I: client!ub.j I:
owner: "Static7" owner: "Static7"
name: "anInt5281" name: "anInt5281"
@ -12182,19 +12182,19 @@ methods:
509: "local509" 509: "local509"
518: "local518" 518: "local518"
client!ac.a (IIIILsignlink!pm;I)Ljava/awt/Frame;: client!ac.a (IIIILsignlink!pm;I)Ljava/awt/Frame;:
owner: "Static8" owner: "DisplayMode"
name: "method67" name: "enterFullScreen"
arguments: arguments:
0: "arg0" 4: "signLink"
1: "arg1" 1: "width"
2: "arg2" 2: "height"
4: "arg3" 0: "bitDepth"
locals: locals:
26: "local26" 26: "modes"
34: "local34" 34: "valid"
36: "local36" 36: "i"
109: "local109" 109: "request"
124: "local124" 124: "frame"
client!ac.a (IIZ)I: client!ac.a (IIZ)I:
owner: "Inv" owner: "Inv"
name: "getItemType" name: "getItemType"
@ -12947,11 +12947,11 @@ methods:
0: "archive" 0: "archive"
locals: {} locals: {}
client!bb.a ([IB[Ljava/lang/Object;)V: client!bb.a ([IB[Ljava/lang/Object;)V:
owner: "Static9" owner: "ArrayUtils"
name: "method232" name: "sort"
arguments: arguments:
0: "arg0" 0: "keys"
2: "arg1" 2: "values"
locals: {} locals: {}
client!bc.a ()I: client!bc.a ()I:
owner: "Class4_Sub4" owner: "Class4_Sub4"
@ -15055,16 +15055,16 @@ methods:
locals: locals:
36: "node" 36: "node"
client!cj.a (ILsignlink!pm;)[Lclient!ub;: client!cj.a (ILsignlink!pm;)[Lclient!ub;:
owner: "Static11" owner: "DisplayMode"
name: "method610" name: "getModesInternal"
arguments: arguments:
1: "arg0" 1: "signLink"
locals: locals:
17: "local17" 17: "request"
39: "local39" 39: "result"
45: "local45" 45: "modes"
53: "local53" 53: "i"
65: "local65" 65: "mode"
client!cj.a (Ljava/lang/Throwable;Ljava/lang/String;)Lclient!bk;: client!cj.a (Ljava/lang/Throwable;Ljava/lang/String;)Lclient!bk;:
owner: "TracingException" owner: "TracingException"
name: "wrap" name: "wrap"
@ -20709,21 +20709,21 @@ methods:
1: "node" 1: "node"
locals: {} locals: {}
client!gh.a (I[Ljava/lang/Object;II[I)V: client!gh.a (I[Ljava/lang/Object;II[I)V:
owner: "Static16" owner: "ArrayUtils"
name: "method2017" name: "sort"
arguments: arguments:
0: "arg0" 4: "keys"
1: "arg1" 1: "values"
2: "arg2" 2: "lo"
4: "arg3" 0: "hi"
locals: locals:
10: "local10" 10: "mid"
12: "local12" 12: "i"
16: "local16" 16: "pivotKey"
30: "local30" 30: "pivotValue"
42: "local42" 42: "j"
68: "local68" 68: "key"
82: "local82" 82: "value"
client!gh.b (I)V: client!gh.b (I)V:
owner: "Static16" owner: "Static16"
name: "method2014" name: "method2014"
@ -29507,20 +29507,20 @@ methods:
locals: locals:
7: "tile" 7: "tile"
client!mi.b (B)[Lclient!ub;: client!mi.b (B)[Lclient!ub;:
owner: "Static25" owner: "DisplayMode"
name: "method2725" name: "getModes"
arguments: {} arguments: {}
locals: locals:
9: "local9" 9: "modes"
13: "local13" 13: "validModes"
15: "local15" 15: "validModesSize"
17: "local17" 17: "i"
25: "local25" 25: "mode"
46: "local46" 46: "j"
53: "local53" 53: "other"
107: "local107" 107: "resolutions"
109: "local109" 109: "i"
117: "local117" 117: "mode"
client!mj.a (IIBLclient!fh;)[Lclient!vn;: client!mj.a (IIBLclient!fh;)[Lclient!vn;:
owner: "Static25" owner: "Static25"
name: "method2729" name: "method2729"
@ -37367,13 +37367,13 @@ methods:
1: "arg0" 1: "arg0"
locals: {} locals: {}
client!re.a (Lsignlink!pm;Ljava/awt/Frame;Z)V: client!re.a (Lsignlink!pm;Ljava/awt/Frame;Z)V:
owner: "Static31" owner: "DisplayMode"
name: "method3658" name: "exitFullScreen"
arguments: arguments:
0: "arg0" 0: "signLink"
1: "arg1" 1: "frame"
locals: locals:
10: "local10" 10: "request"
client!rf.a (BI)V: client!rf.a (BI)V:
owner: "Static31" owner: "Static31"
name: "method3661" name: "method3661"

@ -378,9 +378,9 @@ methods:
owner: "SignLink" owner: "SignLink"
name: "enterFullScreen" name: "enterFullScreen"
arguments: arguments:
1: "arg0" 1: "width"
2: "arg1" 2: "height"
4: "arg2" 4: "bitDepth"
locals: {} locals: {}
signlink!pm.a (IILjava/lang/Object;IB)Lsignlink!vk;: signlink!pm.a (IILjava/lang/Object;IB)Lsignlink!vk;:
owner: "SignLink" owner: "SignLink"

Loading…
Cancel
Save