Refactor the PathFinder

Signed-off-by: Graham <gpe@openrs2.dev>
pull/132/head
Graham 4 years ago
parent fb8f8d1585
commit 60bafd7543
  1. 350
      share/deob/map/client.yaml

@ -4630,7 +4630,7 @@ fields:
name: "roofsVisible" name: "roofsVisible"
client!jo.I [I: client!jo.I [I:
owner: "PathFinder" owner: "PathFinder"
name: "anIntArray653" name: "queueZ"
client!jo.N Ljava/lang/String;: client!jo.N Ljava/lang/String;:
owner: "Text" owner: "Text"
name: "CHATCOL0" name: "CHATCOL0"
@ -8509,7 +8509,7 @@ fields:
name: "anInt4461" name: "anInt4461"
client!re.h [I: client!re.h [I:
owner: "PathFinder" owner: "PathFinder"
name: "anIntArray479" name: "queueX"
client!re.i I: client!re.i I:
owner: "Class150" owner: "Class150"
name: "anInt4462" name: "anInt4462"
@ -14754,18 +14754,18 @@ methods:
locals: {} locals: {}
client!ch.a (IIIIBIII)Z: client!ch.a (IIIIBIII)Z:
owner: "CollisionMap" owner: "CollisionMap"
name: "method574" name: "isAtWall"
arguments: arguments:
0: "arg0" 3: "x"
1: "arg1" 2: "z"
2: "arg2" 6: "size"
3: "arg3" 5: "destX"
5: "arg4" 0: "destZ"
6: "arg5" 7: "destType"
7: "arg6" 1: "destAngle"
locals: locals:
89: "local89" 89: "x1"
95: "local95" 95: "z1"
client!ch.a (IIIII)Z: client!ch.a (IIIII)Z:
owner: "CollisionMap" owner: "CollisionMap"
name: "method575" name: "method575"
@ -14785,59 +14785,59 @@ methods:
246: "local246" 246: "local246"
client!ch.a (IIIIIIII)Z: client!ch.a (IIIIIIII)Z:
owner: "CollisionMap" owner: "CollisionMap"
name: "method577" name: "isAtWallDecor"
arguments: arguments:
0: "arg0" 1: "x"
1: "arg1" 4: "z"
2: "arg2" 7: "size"
4: "arg3" 0: "destX"
5: "arg4" 2: "destZ"
6: "arg5" 5: "destType"
7: "arg6" 6: "destAngle"
locals: locals:
89: "local89" 89: "x1"
95: "local95" 95: "z1"
client!ch.a (IIIIIIIII)Z: client!ch.a (IIIIIIIII)Z:
owner: "CollisionMap" owner: "CollisionMap"
name: "method570" name: "isInsideOrOutsideRect"
arguments: arguments:
0: "arg0" 8: "x"
2: "arg1" 0: "z"
3: "arg2" 3: "size"
4: "arg3" 5: "destX"
5: "arg4" 4: "destZ"
6: "arg5" 7: "destWidth"
7: "arg6" 6: "destLength"
8: "arg7" 2: "destBlockedSides"
locals: locals:
39: "local39" 39: "destZ1"
45: "local45" 45: "destX1"
client!ch.a (IIIIIIIIII)Z: client!ch.a (IIIIIIIIII)Z:
owner: "CollisionMap" owner: "CollisionMap"
name: "method578" name: "isOutsideRect"
arguments: arguments:
0: "arg0" 2: "x"
1: "arg1" 6: "z"
2: "arg2" 5: "width"
3: "arg3" 1: "length"
5: "arg4" 7: "destX"
6: "arg5" 9: "destZ"
7: "arg6" 3: "destWidth"
8: "arg7" 0: "destLength"
9: "arg8" 8: "destBlockedSides"
locals: locals:
9: "local9" 9: "x1"
13: "local13" 13: "destX1"
17: "local17" 17: "z1"
22: "local22" 22: "destZ1"
51: "local51" 51: "z0"
62: "local62" 62: "zMax"
125: "local125" 125: "x0"
136: "local136" 136: "xMax"
186: "local186" 186: "xMax"
197: "local197" 197: "x0"
238: "local238" 238: "z0"
245: "local245" 245: "zMax"
client!ch.a (IIIIZIIZ)V: client!ch.a (IIIIZIIZ)V:
owner: "CollisionMap" owner: "CollisionMap"
name: "method568" name: "method568"
@ -18860,18 +18860,18 @@ methods:
3: "arg2" 3: "arg2"
locals: {} locals: {}
client!fg.a (IIIZIIIIBII)V: client!fg.a (IIIZIIIIBII)V:
owner: "Static15" owner: "PathFinder"
name: "method1337" name: "findPath"
arguments: arguments:
0: "arg0" 0: "srcX"
1: "arg1" 6: "srcZ"
2: "arg2" 10: "destX"
4: "arg3" 5: "destZ"
5: "arg4" 7: "destType"
6: "arg5" 4: "destWidth"
7: "arg6" 9: "destLength"
9: "arg7" 1: "destAngle"
10: "arg8" 2: "destBlockedSides"
locals: {} locals: {}
client!fg.e (I)V: client!fg.e (I)V:
owner: "Equipment" owner: "Equipment"
@ -23980,44 +23980,44 @@ methods:
6: "local6" 6: "local6"
client!jc.a (IIIIIIIIIIIZ)V: client!jc.a (IIIIIIIIIIIZ)V:
owner: "PathFinder" owner: "PathFinder"
name: "method1998" name: "findPathN"
arguments: arguments:
0: "arg0" 2: "srcX"
1: "arg1" 4: "srcZ"
2: "arg2" 9: "size"
3: "arg3" 1: "destX"
4: "arg4" 7: "destZ"
6: "arg5" 0: "destType"
7: "arg6" 3: "destWidth"
8: "arg7" 6: "destLength"
9: "arg8" 10: "destAngle"
10: "arg9" 8: "destBlockedSides"
locals: locals:
7: "local7" 7: "x"
12: "local12" 12: "z"
51: "local51" 51: "x"
53: "local53" 53: "z"
55: "local55" 55: "firstWriterIndex"
62: "local62" 62: "queueWriterIndex"
66: "local66" 66: "queueReaderIndex"
68: "local68" 68: "found"
73: "local73" 73: "flags"
200: "local200" 200: "cost"
244: "local244" 244: "off"
351: "local351" 351: "off"
456: "local456" 456: "off"
561: "local561" 561: "off"
655: "local655" 655: "off"
767: "local767" 767: "off"
877: "local877" 877: "off"
990: "local990" 990: "off"
1081: "local1081" 1081: "bestDistance"
1083: "local1083" 1083: "bestCost"
1090: "local1090" 1090: "x0"
1100: "local1100" 1100: "z0"
1129: "local1129" 1129: "dx"
1164: "local1164" 1164: "dz"
1208: "local1208" 1208: "distance"
client!jc.a (Lclient!fd;I)V: client!jc.a (Lclient!fd;I)V:
owner: "ParamType" owner: "ParamType"
name: "decode" name: "decode"
@ -25718,35 +25718,35 @@ methods:
38: "local38" 38: "local38"
client!ka.a (ZIIIIIIIIII)V: client!ka.a (ZIIIIIIIIII)V:
owner: "PathFinder" owner: "PathFinder"
name: "method2197" name: "findPath1"
arguments: arguments:
1: "arg0" 7: "srcX"
2: "arg1" 1: "srcZ"
3: "arg2" 2: "destX"
4: "arg3" 5: "destZ"
5: "arg4" 6: "destType"
6: "arg5" 10: "destWidth"
7: "arg6" 3: "destLength"
8: "arg7" 4: "destAngle"
10: "arg8" 8: "destBlockedSides"
locals: locals:
7: "local7" 7: "x"
14: "local14" 14: "z"
37: "local37" 37: "x"
39: "local39" 39: "z"
41: "local41" 41: "firstWriterIndex"
49: "local49" 49: "queueReaderIndex"
62: "local62" 62: "queueWriterIndex"
66: "local66" 66: "found"
71: "local71" 71: "flags"
192: "local192" 192: "cost"
805: "local805" 805: "bestDistance"
809: "local809" 809: "bestCost"
814: "local814" 814: "x0"
827: "local827" 827: "z0"
858: "local858" 858: "dx"
889: "local889" 889: "dz"
930: "local930" 930: "distance"
client!kb.a ()I: client!kb.a ()I:
owner: "JavaAudioChannel" owner: "JavaAudioChannel"
name: "getBufferedSampleCount" name: "getBufferedSampleCount"
@ -36626,35 +36626,35 @@ methods:
11: "texture" 11: "texture"
client!qi.a (IIIIIZIIIII)V: client!qi.a (IIIIIZIIIII)V:
owner: "PathFinder" owner: "PathFinder"
name: "method418" name: "findPath2"
arguments: arguments:
0: "arg0" 4: "srcX"
1: "arg1" 2: "srcZ"
2: "arg2" 0: "destX"
3: "arg3" 6: "destZ"
4: "arg4" 3: "destType"
6: "arg5" 1: "destWidth"
8: "arg6" 10: "destLength"
9: "arg7" 8: "destAngle"
10: "arg8" 9: "destBlockedSides"
locals: locals:
7: "local7" 7: "x"
12: "local12" 12: "z"
37: "local37" 37: "z"
51: "local51" 51: "x"
53: "local53" 53: "queueReaderIndex"
55: "local55" 55: "firstWriterIndex"
57: "local57" 57: "found"
64: "local64" 64: "queueWriterIndex"
77: "local77" 77: "flags"
201: "local201" 201: "cost"
920: "local920" 920: "bestDistance"
922: "local922" 922: "bestCost"
928: "local928" 928: "x0"
938: "local938" 938: "z0"
970: "local970" 970: "dx"
972: "local972" 972: "dz"
1049: "local1049" 1049: "distance"
client!qi.a (IJ)Ljava/lang/String;: client!qi.a (IJ)Ljava/lang/String;:
owner: "Static30" owner: "Static30"
name: "method423" name: "method423"
@ -43667,17 +43667,17 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!ve.a (IIIIIIIII)Z: client!ve.a (IIIIIIIII)Z:
owner: "Static36" owner: "CollisionMap"
name: "method4440" name: "isInsideRect"
arguments: arguments:
0: "arg0" 7: "x"
1: "arg1" 0: "z"
2: "arg2" 8: "width"
3: "arg3" 3: "length"
4: "arg4" 1: "destX"
5: "arg5" 4: "destZ"
7: "arg6" 5: "destWidth"
8: "arg7" 2: "destLength"
locals: {} locals: {}
client!ve.b (I)Z: client!ve.b (I)Z:
owner: "Protocol" owner: "Protocol"

Loading…
Cancel
Save