Refactor underlay/overlay-related code

Signed-off-by: Graham <gpe@openrs2.org>
pull/132/head
Graham 3 years ago
parent ab58a83a5d
commit 879e0f5e13
  1. 282
      share/deob/map/client.yaml

@ -490,7 +490,7 @@ fields:
name: "LENT_ITEM_RETURN" name: "LENT_ITEM_RETURN"
client!aj.c [[[B: client!aj.c [[[B:
owner: "Static1" owner: "Static1"
name: "aByteArrayArrayArray1" name: "tileAngles"
client!ak.b I: client!ak.b I:
owner: "client" owner: "client"
name: "language" name: "language"
@ -1858,7 +1858,7 @@ fields:
name: "sourceMaxX" name: "sourceMaxX"
client!e.F [[[B: client!e.F [[[B:
owner: "Static2" owner: "Static2"
name: "aByteArrayArrayArray3" name: "tileUnderlays"
client!e.o I: client!e.o I:
owner: "MapChunk" owner: "MapChunk"
name: "displayMinZ" name: "displayMinZ"
@ -2503,7 +2503,7 @@ fields:
name: "javaScript" name: "javaScript"
client!fd.Cb [I: client!fd.Cb [I:
owner: "Static2" owner: "Static2"
name: "anIntArray649" name: "rowChroma"
client!fd.I [B: client!fd.I [B:
owner: "Buffer" owner: "Buffer"
name: "bytes" name: "bytes"
@ -2578,7 +2578,7 @@ fields:
name: "hidden" name: "hidden"
client!fg.J [[[B: client!fg.J [[[B:
owner: "Static2" owner: "Static2"
name: "aByteArrayArrayArray4" name: "tileShapes"
client!fg.K I: client!fg.K I:
owner: "MapElement" owner: "MapElement"
name: "xOffset" name: "xOffset"
@ -3853,7 +3853,7 @@ fields:
name: "anInt2972" name: "anInt2972"
client!ii.B [I: client!ii.B [I:
owner: "Static3" owner: "Static3"
name: "anIntArray266" name: "overlayColors"
client!ii.C I: client!ii.C I:
owner: "Static3" owner: "Static3"
name: "anInt2973" name: "anInt2973"
@ -4978,7 +4978,7 @@ fields:
name: "worldNames" name: "worldNames"
client!ko.a [[[B: client!ko.a [[[B:
owner: "Static4" owner: "Static4"
name: "aByteArrayArrayArray15" name: "tileOverlays"
client!ko.b Z: client!ko.b Z:
owner: "Static4" owner: "Static4"
name: "newTab" name: "newTab"
@ -5818,7 +5818,7 @@ fields:
name: "aByte10" name: "aByte10"
client!mi.q S: client!mi.q S:
owner: "TextureMeta" owner: "TextureMeta"
name: "aShort26" name: "averageColor"
client!mi.r Z: client!mi.r Z:
owner: "TextureMeta" owner: "TextureMeta"
name: "aBoolean236" name: "aBoolean236"
@ -7183,7 +7183,7 @@ fields:
name: "anInt3876" name: "anInt3876"
client!oh.p I: client!oh.p I:
owner: "FloType" owner: "FloType"
name: "anInt3877" name: "texture"
client!oi.c Lclient!gh;: client!oi.c Lclient!gh;:
owner: "ReferenceNodeFactory" owner: "ReferenceNodeFactory"
name: "SOFT_REFERENCE_NODE_FACTORY" name: "SOFT_REFERENCE_NODE_FACTORY"
@ -7321,7 +7321,7 @@ fields:
name: "aByteArrayArrayArray18" name: "aByteArrayArrayArray18"
client!pa.b I: client!pa.b I:
owner: "FluType" owner: "FluType"
name: "anInt4058" name: "weightedHue"
client!pa.c Lclient!dj;: client!pa.c Lclient!dj;:
owner: "ClientScriptList" owner: "ClientScriptList"
name: "scripts" name: "scripts"
@ -7333,19 +7333,19 @@ fields:
name: "GAME1_DESTINATION_SKIN_COLORS" name: "GAME1_DESTINATION_SKIN_COLORS"
client!pa.k I: client!pa.k I:
owner: "FluType" owner: "FluType"
name: "anInt4064" name: "saturation"
client!pa.m I: client!pa.m I:
owner: "Static5" owner: "Static5"
name: "anInt4066" name: "anInt4066"
client!pa.n I: client!pa.n I:
owner: "FluType" owner: "FluType"
name: "anInt4067" name: "color"
client!pa.o I: client!pa.o I:
owner: "FluType" owner: "FluType"
name: "anInt4068" name: "anInt4068"
client!pa.r I: client!pa.r I:
owner: "FluType" owner: "FluType"
name: "anInt4071" name: "chroma"
client!pa.u I: client!pa.u I:
owner: "FluType" owner: "FluType"
name: "anInt4074" name: "anInt4074"
@ -7354,7 +7354,7 @@ fields:
name: "parentalChatConsent" name: "parentalChatConsent"
client!pa.w I: client!pa.w I:
owner: "FluType" owner: "FluType"
name: "anInt4075" name: "lightness"
client!pb.p [B: client!pb.p [B:
owner: "PcmSound" owner: "PcmSound"
name: "samples" name: "samples"
@ -7708,7 +7708,7 @@ fields:
name: "feature" name: "feature"
client!qa.t [[Lclient!wj;: client!qa.t [[Lclient!wj;:
owner: "Static5" owner: "Static5"
name: "aClass187ArrayArray1" name: "environments"
client!qb.S Lclient!fh;: client!qb.S Lclient!fh;:
owner: "client" owner: "client"
name: "js5Archive23" name: "js5Archive23"
@ -8740,7 +8740,7 @@ fields:
name: "aShortArray85" name: "aShortArray85"
client!rk.r [I: client!rk.r [I:
owner: "Static6" owner: "Static6"
name: "anIntArray491" name: "rowWeightedHue"
client!rk.s Z: client!rk.s Z:
owner: "Static6" owner: "Static6"
name: "aBoolean321" name: "aBoolean321"
@ -9187,7 +9187,7 @@ fields:
name: "privateFilter" name: "privateFilter"
client!sh.db [I: client!sh.db [I:
owner: "Static6" owner: "Static6"
name: "anIntArray523" name: "rowLightness"
client!sh.eb I: client!sh.eb I:
owner: "Static6" owner: "Static6"
name: "anInt4838" name: "anInt4838"
@ -9559,7 +9559,7 @@ fields:
name: "titleBg" name: "titleBg"
client!tc.V [I: client!tc.V [I:
owner: "Static6" owner: "Static6"
name: "anIntArray549" name: "rowCount"
client!td.A I: client!td.A I:
owner: "ObjType" owner: "ObjType"
name: "lentLink" name: "lentLink"
@ -11041,7 +11041,7 @@ fields:
name: "cipher" name: "cipher"
client!wa.Ub [I: client!wa.Ub [I:
owner: "Static7" owner: "Static7"
name: "anIntArray650" name: "rowSaturation"
client!wa.Yb I: client!wa.Yb I:
owner: "Packet" owner: "Packet"
name: "bitPosition" name: "bitPosition"
@ -12760,23 +12760,23 @@ methods:
9: "bytes" 9: "bytes"
client!an.a (Lclient!fd;ZZZIIIIIIII)V: client!an.a (Lclient!fd;ZZZIIIIIIII)V:
owner: "Static9" owner: "Static9"
name: "method195" name: "readTile"
arguments: arguments:
0: "arg0" 0: "buffer"
2: "arg1" 2: "arg1"
3: "arg2" 3: "arg2"
4: "arg3" 4: "level"
5: "arg4" 5: "arg4"
6: "arg5" 6: "arg5"
7: "arg6" 7: "z"
8: "arg7" 8: "angle"
9: "arg8" 9: "arg8"
10: "arg9" 10: "arg9"
11: "arg10" 11: "x"
locals: locals:
37: "local37" 37: "code"
132: "local132" 132: "height"
315: "local315" 315: "code"
client!an.b (I)V: client!an.b (I)V:
owner: "Static9" owner: "Static9"
name: "method199" name: "method199"
@ -14269,7 +14269,7 @@ methods:
locals: {} locals: {}
client!c.e (II)I: client!c.e (II)I:
owner: "Js5GlTextureProvider" owner: "Js5GlTextureProvider"
name: "method446" name: "getAverageColor"
arguments: arguments:
0: "id" 0: "id"
locals: {} locals: {}
@ -18852,12 +18852,12 @@ methods:
locals: locals:
25: "local25" 25: "local25"
client!fg.a (BIII)I: client!fg.a (BIII)I:
owner: "Static15" owner: "ColorUtils"
name: "method1339" name: "compressHsl"
arguments: arguments:
1: "arg0" 1: "hue"
2: "arg1" 2: "saturation"
3: "arg2" 3: "lightness"
locals: {} locals: {}
client!fg.a (IIIZIIIIBII)V: client!fg.a (IIIZIIIIBII)V:
owner: "PathFinder" owner: "PathFinder"
@ -23387,18 +23387,18 @@ methods:
1: "local1" 1: "local1"
client!ii.c (II)V: client!ii.c (II)V:
owner: "Static20" owner: "Static20"
name: "method2408" name: "loadOverlayColors"
arguments: arguments:
0: "arg0" 0: "arg0"
1: "arg1" 1: "arg1"
locals: locals:
1: "local1" 1: "id"
8: "local8" 8: "type"
14: "local14" 14: "texture"
29: "local29" 29: "local29"
35: "local35" 35: "local35"
57: "local57" 57: "local57"
64: "local64" 64: "color"
88: "local88" 88: "local88"
94: "local94" 94: "local94"
116: "local116" 116: "local116"
@ -25569,11 +25569,11 @@ methods:
171: "x" 171: "x"
client!k.a (IIII)I: client!k.a (IIII)I:
owner: "Static22" owner: "Static22"
name: "method2188" name: "rotateZFine"
arguments: arguments:
0: "arg0" 0: "z"
2: "arg1" 2: "x"
3: "arg2" 3: "angle"
locals: {} locals: {}
client!k.a (IIIIIBII)V: client!k.a (IIIIIBII)V:
owner: "Static22" owner: "Static22"
@ -25964,13 +25964,13 @@ methods:
86: "stride" 86: "stride"
99: "x0" 99: "x0"
client!kf.a (BII)I: client!kf.a (BII)I:
owner: "Static22" owner: "ColorUtils"
name: "method2286" name: "multiplyLightnessGrayscale"
arguments: arguments:
1: "arg0" 1: "hsl"
2: "arg1" 2: "factor"
locals: locals:
45: "local45" 45: "l"
client!kf.a (I)I: client!kf.a (I)I:
owner: "WorldList" owner: "WorldList"
name: "fetch" name: "fetch"
@ -28594,11 +28594,11 @@ methods:
7: "tile" 7: "tile"
client!ll.a (IIII)I: client!ll.a (IIII)I:
owner: "Static24" owner: "Static24"
name: "method2614" name: "rotateZ"
arguments: arguments:
0: "arg0" 0: "angle"
2: "arg1" 2: "x"
3: "arg2" 3: "z"
locals: {} locals: {}
client!ll.a (Lclient!ni;B)V: client!ll.a (Lclient!ni;B)V:
owner: "LinkedList" owner: "LinkedList"
@ -31561,7 +31561,7 @@ methods:
owner: "Static26" owner: "Static26"
name: "method2934" name: "method2934"
arguments: arguments:
1: "arg0" 1: "buffer"
locals: locals:
7: "local7" 7: "local7"
11: "local11" 11: "local11"
@ -31587,11 +31587,11 @@ methods:
231: "local231" 231: "local231"
242: "local242" 242: "local242"
253: "local253" 253: "local253"
265: "local265" 265: "type"
301: "local301" 301: "local301"
308: "local308" 308: "local308"
322: "local322" 322: "local322"
334: "local334" 334: "type"
370: "local370" 370: "local370"
383: "local383" 383: "local383"
389: "local389" 389: "local389"
@ -31970,17 +31970,17 @@ methods:
8: "local8" 8: "local8"
client!ng.a (I[Lclient!ch;[BIIIIIIZI)[I: client!ng.a (I[Lclient!ch;[BIIIIIIZI)[I:
owner: "Static26" owner: "Static26"
name: "method4355" name: "readZone"
arguments: arguments:
0: "arg0" 0: "arg0"
1: "arg1" 1: "collisionMaps"
2: "arg2" 2: "bytes"
3: "arg3" 3: "arg3"
4: "arg4" 4: "arg4"
5: "arg5" 5: "arg5"
6: "arg6" 6: "angle"
8: "arg7" 8: "arg7"
9: "arg8" 9: "underwater"
10: "arg9" 10: "arg9"
locals: locals:
7: "local7" 7: "local7"
@ -31989,8 +31989,8 @@ methods:
23: "local23" 23: "local23"
38: "local38" 38: "local38"
50: "local50" 50: "local50"
101: "local101" 101: "buffer"
109: "local109" 109: "levels"
119: "local119" 119: "local119"
121: "local121" 121: "local121"
127: "local127" 127: "local127"
@ -32021,12 +32021,12 @@ methods:
729: "local729" 729: "local729"
766: "local766" 766: "local766"
778: "local778" 778: "local778"
840: "local840" 840: "environment"
854: "local854" 854: "code"
893: "local893" 893: "lights"
897: "local897" 897: "i"
905: "local905" 905: "light"
916: "local916" 916: "type"
932: "local932" 932: "local932"
937: "local937" 937: "local937"
987: "local987" 987: "local987"
@ -32283,9 +32283,9 @@ methods:
locals: {} locals: {}
client!nk.e (II)I: client!nk.e (II)I:
owner: "GlTextureProvider" owner: "GlTextureProvider"
name: "method446" name: "getAverageColor"
arguments: arguments:
0: "arg0" 0: "id"
locals: {} locals: {}
client!nk.f (II)V: client!nk.f (II)V:
owner: "GlTextureProvider" owner: "GlTextureProvider"
@ -33769,7 +33769,7 @@ methods:
68: "s" 68: "s"
73: "il" 73: "il"
173: "is" 173: "is"
199: "h2" 199: "hPrime"
204: "ih" 204: "ih"
client!on.c (II)V: client!on.c (II)V:
owner: "LocTypeList" owner: "LocTypeList"
@ -33946,19 +33946,19 @@ methods:
locals: {} locals: {}
client!pa.a (BI)V: client!pa.a (BI)V:
owner: "FluType" owner: "FluType"
name: "method3330" name: "rgbToHsl"
arguments: arguments:
1: "arg0" 1: "rgb"
locals: locals:
14: "local14" 14: "r"
23: "local23" 23: "g"
30: "local30" 30: "b"
32: "local32" 32: "xMin"
48: "local48" 48: "xMax"
56: "local56" 56: "h"
65: "local65" 65: "s"
71: "local71" 71: "l"
224: "local224" 224: "hPrime"
client!pa.a (I)V: client!pa.a (I)V:
owner: "Static28" owner: "Static28"
name: "method3322" name: "method3322"
@ -37864,20 +37864,20 @@ methods:
owner: "Static31" owner: "Static31"
name: "method3778" name: "method3778"
arguments: arguments:
0: "arg0" 0: "collisionMaps"
2: "arg1" 2: "arg1"
3: "arg2" 3: "underwater"
locals: locals:
9: "local9" 9: "levels"
18: "local18" 18: "level"
25: "local25" 25: "x"
32: "local32" 32: "z"
48: "local48" 48: "local48"
140: "local140" 140: "local140"
144: "local144" 144: "underlayColors"
148: "local148" 148: "local148"
152: "local152" 152: "local152"
154: "local154" 154: "level"
161: "local161" 161: "local161"
167: "local167" 167: "local167"
174: "local174" 174: "local174"
@ -37909,31 +37909,31 @@ methods:
551: "local551" 551: "local551"
567: "local567" 567: "local567"
616: "local616" 616: "local616"
633: "local633" 633: "z"
663: "local663" 663: "x"
670: "local670" 670: "z"
679: "local679" 679: "x1"
694: "local694" 694: "underlay"
706: "local706" 706: "type"
707: "local707" 707: "temp"
742: "local742" 742: "local742"
749: "local749" 749: "x0"
765: "local765" 765: "underlay"
774: "local774" 774: "type"
775: "local775" 775: "temp"
810: "local810" 810: "local810"
824: "local824" 824: "weightedHue"
826: "local826" 826: "lightness"
828: "local828" 828: "chroma"
830: "local830" 830: "count"
832: "local832" 832: "saturation"
834: "local834" 834: "z"
843: "local843" 843: "z1"
883: "local883" 883: "z0"
955: "local955" 955: "x"
962: "local962" 962: "z"
1019: "local1019" 1019: "underlay"
1029: "local1029" 1029: "overlay"
1047: "local1047" 1047: "local1047"
1057: "local1057" 1057: "local1057"
1069: "local1069" 1069: "local1069"
@ -37951,9 +37951,9 @@ methods:
1369: "local1369" 1369: "local1369"
1417: "local1417" 1417: "local1417"
1428: "local1428" 1428: "local1428"
1474: "local1474" 1474: "shape"
1482: "local1482" 1482: "local1482"
1488: "local1488" 1488: "type"
1516: "local1516" 1516: "local1516"
1529: "local1529" 1529: "local1529"
1580: "local1580" 1580: "local1580"
@ -38165,11 +38165,11 @@ methods:
19: "node" 19: "node"
client!ro.a (IIIB)I: client!ro.a (IIIB)I:
owner: "Static31" owner: "Static31"
name: "method3802" name: "rotateXFine"
arguments: arguments:
0: "arg0" 0: "x"
1: "arg1" 1: "angle"
2: "arg2" 2: "z"
locals: {} locals: {}
client!ro.a (III[[[BIBII)V: client!ro.a (III[[[BIBII)V:
owner: "Static31" owner: "Static31"
@ -38265,7 +38265,7 @@ methods:
arguments: arguments:
0: "arg0" 0: "arg0"
locals: locals:
13: "local13" 13: "levels"
client!ro.e (B)V: client!ro.e (B)V:
owner: "Static31" owner: "Static31"
name: "method3798" name: "method3798"
@ -42025,22 +42025,22 @@ methods:
61: "local61" 61: "local61"
client!tm.a (Z[Lclient!ch;IIIII[B)[I: client!tm.a (Z[Lclient!ch;IIIII[B)[I:
owner: "Static34" owner: "Static34"
name: "method4248" name: "readMap"
arguments: arguments:
0: "arg0" 0: "underwater"
1: "arg1" 1: "collisionMaps"
3: "arg2" 3: "arg2"
4: "arg3" 4: "arg3"
5: "arg4" 5: "arg4"
6: "arg5" 6: "arg5"
7: "arg6" 7: "bytes"
locals: locals:
9: "local9" 9: "local9"
18: "local18" 18: "local18"
25: "local25" 25: "local25"
32: "local32" 32: "local32"
103: "local103" 103: "local103"
108: "local108" 108: "buffer"
112: "local112" 112: "local112"
114: "local114" 114: "local114"
129: "local129" 129: "local129"
@ -42063,12 +42063,12 @@ methods:
409: "local409" 409: "local409"
426: "local426" 426: "local426"
430: "local430" 430: "local430"
539: "local539" 539: "environment"
549: "local549" 549: "local549"
585: "local585" 585: "lights"
590: "local590" 590: "i"
598: "local598" 598: "light"
608: "local608" 608: "type"
640: "local640" 640: "local640"
645: "local645" 645: "local645"
704: "local704" 704: "local704"
@ -43091,9 +43091,9 @@ methods:
owner: "Static35" owner: "Static35"
name: "method4327" name: "method4327"
arguments: arguments:
0: "arg0" 1: "level"
1: "arg1" 3: "x"
3: "arg2" 0: "z"
locals: {} locals: {}
client!ui.a (IIII)I: client!ui.a (IIII)I:
owner: "PerlinNoise" owner: "PerlinNoise"
@ -43251,11 +43251,11 @@ methods:
5: "node" 5: "node"
client!uk.a (IIII)I: client!uk.a (IIII)I:
owner: "Static35" owner: "Static35"
name: "method4338" name: "rotateX"
arguments: arguments:
0: "arg0" 0: "z"
1: "arg1" 1: "angle"
2: "arg2" 2: "x"
locals: {} locals: {}
client!uk.a (ILclient!lh;)V: client!uk.a (ILclient!lh;)V:
owner: "SecondaryLinkedList" owner: "SecondaryLinkedList"
@ -43385,13 +43385,13 @@ methods:
0: "underwater" 0: "underwater"
locals: {} locals: {}
client!um.a (ZII)I: client!um.a (ZII)I:
owner: "Static35" owner: "ColorUtils"
name: "method4367" name: "multiplyLightness"
arguments: arguments:
1: "arg0" 1: "hsl"
2: "arg1" 2: "factor"
locals: locals:
18: "local18" 18: "l"
client!un.a (BI)Z: client!un.a (BI)Z:
owner: "Static35" owner: "Static35"
name: "method4381" name: "method4381"

Loading…
Cancel
Save