Refactor Loc-related code

Signed-off-by: Graham <gpe@openrs2.org>
Graham 1 year ago
parent c53d072f7a
commit 7193f59e71
  1. 178
      share/deob/map/client.yaml

@ -2854,7 +2854,7 @@ fields:
name: "EXPERIENCE_FOR_LEVEL" name: "EXPERIENCE_FOR_LEVEL"
client!ge.d [I: client!ge.d [I:
owner: "Static3" owner: "Static3"
name: "anIntArray166" name: "wallDecorXOffsets"
client!gf.a Lclient!cc;: client!gf.a Lclient!cc;:
owner: "LocTypeList" owner: "LocTypeList"
name: "types" name: "types"
@ -11023,7 +11023,7 @@ fields:
name: "anInt5680" name: "anInt5680"
client!w.B [I: client!w.B [I:
owner: "Static7" owner: "Static7"
name: "anIntArray646" name: "wallDecorZOffsets"
client!w.C Lclient!he;: client!w.C Lclient!he;:
owner: "ObjStackNode" owner: "ObjStackNode"
name: "value" name: "value"
@ -14939,11 +14939,11 @@ methods:
owner: "Static11" owner: "Static11"
name: "readMapLocs" name: "readMapLocs"
arguments: arguments:
0: "arg0" 0: "underwater"
1: "bytes" 1: "bytes"
3: "arg2" 3: "destZ"
4: "arg3" 4: "destX"
5: "arg4" 5: "collisionMaps"
locals: locals:
10: "buffer" 10: "buffer"
20: "id" 20: "id"
@ -14955,11 +14955,11 @@ methods:
66: "shapeAndAngle" 66: "shapeAndAngle"
70: "angle" 70: "angle"
74: "shape" 74: "shape"
79: "local79" 79: "x2"
84: "local84" 84: "z2"
88: "level" 88: "level"
104: "collisionMap" 104: "collisionMap"
108: "local108" 108: "collisionLevel"
client!ch.b (I)V: client!ch.b (I)V:
owner: "CollisionMap" owner: "CollisionMap"
name: "clear" name: "clear"
@ -15727,19 +15727,19 @@ methods:
116: "extended" 116: "extended"
139: "clearMovementQueue" 139: "clearMovementQueue"
client!db.a (IIIIIIII)V: client!db.a (IIIIIIII)V:
owner: "Static12" owner: "SceneGraph"
name: "method736" name: "changeLoc"
arguments: arguments:
1: "level" 1: "level"
2: "angle" 6: "x"
3: "z" 3: "z"
4: "layer" 4: "layer"
5: "id"
6: "x"
7: "shape" 7: "shape"
5: "id"
2: "angle"
locals: locals:
39: "local39" 39: "local39"
64: "local64" 64: "virtualLevel"
97: "prevGroundDecoration" 97: "prevGroundDecoration"
client!db.a (ILclient!f;)V: client!db.a (ILclient!f;)V:
owner: "AreaSoundManager" owner: "AreaSoundManager"
@ -17860,10 +17860,10 @@ methods:
owner: "Static14" owner: "Static14"
name: "method1212" name: "method1212"
arguments: arguments:
0: "arg0" 0: "sprite"
1: "arg1" 1: "xFine"
2: "arg2" 2: "arg2"
3: "arg3" 3: "zFine"
locals: locals:
12: "local12" 12: "local12"
22: "local22" 22: "local22"
@ -17931,7 +17931,7 @@ methods:
owner: "Static14" owner: "Static14"
name: "method1214" name: "method1214"
arguments: arguments:
0: "arg0" 0: "sprite"
1: "arg1" 1: "arg1"
2: "arg2" 2: "arg2"
3: "arg3" 3: "arg3"
@ -19364,16 +19364,16 @@ methods:
owner: "Static15" owner: "Static15"
name: "readZoneLocs" name: "readZoneLocs"
arguments: arguments:
0: "arg0" 0: "destLevel"
1: "arg1" 1: "destX"
2: "arg2" 2: "collisionMaps"
3: "bytes" 3: "bytes"
4: "zoneAngle" 4: "rotation"
5: "zoneZ" 5: "srcZ"
6: "zoneX" 6: "srcX"
7: "zoneLevel" 7: "srcLevel"
8: "arg8" 8: "underwater"
10: "arg9" 10: "destZ"
locals: locals:
10: "buffer" 10: "buffer"
12: "id" 12: "id"
@ -19387,10 +19387,10 @@ methods:
73: "shape" 73: "shape"
77: "angle" 77: "angle"
108: "type" 108: "type"
125: "rotatedX" 125: "x2"
145: "rotatedZ" 145: "z2"
162: "collisionMap" 162: "collisionMap"
166: "local166" 166: "collisionLevel"
client!fl.a (Lclient!fh;ILclient!fh;)V: client!fl.a (Lclient!fh;ILclient!fh;)V:
owner: "QuickChatCatTypeList" owner: "QuickChatCatTypeList"
name: "init" name: "init"
@ -24578,23 +24578,23 @@ methods:
1: "node" 1: "node"
locals: {} locals: {}
client!jh.a (BIIILclient!ch;II)V: client!jh.a (BIIILclient!ch;II)V:
owner: "Static21" owner: "SceneGraph"
name: "method2018" name: "removeLoc"
arguments: arguments:
1: "level" 1: "level"
2: "arg1" 2: "virtualLevel"
3: "z"
4: "arg3"
5: "arg4"
6: "x" 6: "x"
3: "z"
5: "layer"
4: "collisionMap"
locals: locals:
9: "key" 9: "key"
67: "shape" 67: "shape"
74: "id" 74: "id"
81: "angle" 81: "angle"
85: "type" 85: "type"
105: "local105" 105: "primary"
107: "local107" 107: "secondary"
117: "wall" 117: "wall"
155: "wallDecor" 155: "wallDecor"
173: "scenery" 173: "scenery"
@ -25616,19 +25616,19 @@ methods:
11: "centerXFine" 11: "centerXFine"
19: "centerZFine" 19: "centerZFine"
client!ka.a (IIIIIIZILclient!ch;ZI)V: client!ka.a (IIIIIIZILclient!ch;ZI)V:
owner: "Static22" owner: "SceneGraph"
name: "method2193" name: "setLoc"
arguments: arguments:
0: "angle"
1: "level" 1: "level"
2: "id" 3: "virtualLevel"
3: "arg3"
4: "x" 4: "x"
6: "arg5"
7: "z" 7: "z"
2: "id"
10: "shape"
0: "angle"
8: "collisionMap" 8: "collisionMap"
6: "underwater"
9: "arg8" 9: "arg8"
10: "shape"
locals: locals:
60: "type" 60: "type"
78: "width" 78: "width"
@ -25637,14 +25637,14 @@ methods:
102: "local102" 102: "local102"
128: "local128" 128: "local128"
130: "local130" 130: "local130"
151: "local151" 151: "tileHeightsBelow"
159: "local159" 159: "xFine"
167: "local167" 167: "zFine"
193: "local193" 193: "local193"
195: "local195" 195: "local195"
203: "local203" 203: "tileHeightsBase"
250: "key" 250: "key"
253: "local253" 253: "tileHeightsAbove"
321: "key2" 321: "key2"
330: "local330" 330: "local330"
377: "local377" 377: "local377"
@ -25686,8 +25686,8 @@ methods:
2300: "offsetScale" 2300: "offsetScale"
2305: "wallKey" 2305: "wallKey"
2328: "local2328" 2328: "local2328"
2350: "local2350" 2350: "xOffset"
2356: "local2356" 2356: "zOffset"
2372: "local2372" 2372: "local2372"
2392: "local2392" 2392: "local2392"
2410: "local2410" 2410: "local2410"
@ -29390,20 +29390,20 @@ methods:
owner: "Static24" owner: "Static24"
name: "method2708" name: "method2708"
arguments: arguments:
0: "arg0" 0: "underwater"
locals: locals:
11: "local11" 11: "levels"
13: "local13" 13: "locBytes"
27: "local27" 27: "destLevel"
38: "local38" 38: "destX"
43: "local43" 43: "destZ"
54: "local54" 54: "zone"
63: "local63" 63: "srcLevel"
77: "local77" 77: "angle"
83: "local83" 83: "srcZ"
89: "local89" 89: "srcX"
99: "local99" 99: "mapSquare"
101: "local101" 101: "i"
client!mh.a ()V: client!mh.a ()V:
owner: "GlCleaner" owner: "GlCleaner"
name: "clear" name: "clear"
@ -31949,16 +31949,16 @@ methods:
9: "modifiers" 9: "modifiers"
client!ng.a (IIIIIII)I: client!ng.a (IIIIIII)I:
owner: "Static26" owner: "Static26"
name: "method4356" name: "rotateZoneZ"
arguments: arguments:
1: "arg0" 1: "x"
2: "arg1" 5: "z"
3: "arg2" 3: "width"
4: "arg3" 2: "length"
5: "arg4" 6: "angle"
6: "arg5" 4: "rotation"
locals: locals:
8: "local8" 8: "temp"
client!ng.a (I[Lclient!ch;[BIIIIIIZI)[I: client!ng.a (I[Lclient!ch;[BIIIIIIZI)[I:
owner: "Static26" owner: "Static26"
name: "readZone" name: "readZone"
@ -34884,16 +34884,16 @@ methods:
locals: {} locals: {}
client!pg.a (IIIIIII)I: client!pg.a (IIIIIII)I:
owner: "Static29" owner: "Static29"
name: "method3147" name: "rotateZoneX"
arguments: arguments:
0: "arg0" 3: "x"
1: "arg1" 1: "z"
2: "arg2" 0: "width"
3: "arg3" 6: "length"
4: "arg4" 2: "angle"
6: "arg5" 4: "rotation"
locals: locals:
17: "local17" 17: "temp"
client!pg.a (Z)V: client!pg.a (Z)V:
owner: "Class41" owner: "Class41"
name: "createPermutation" name: "createPermutation"
@ -45400,14 +45400,14 @@ methods:
owner: "Static37" owner: "Static37"
name: "method4710" name: "method4710"
arguments: arguments:
1: "arg0" 1: "underwater"
locals: locals:
11: "local11" 11: "locBytes"
29: "local29" 29: "len"
31: "local31" 31: "i"
42: "local42" 42: "bytes"
55: "local55" 55: "x"
66: "local66" 66: "z"
client!wd.a (Z[Ljava/lang/String;II)Ljava/lang/String;: client!wd.a (Z[Ljava/lang/String;II)Ljava/lang/String;:
owner: "StringUtils" owner: "StringUtils"
name: "join" name: "join"

Loading…
Cancel
Save