mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 18:23:39 -04:00
[decomp] fisher and FIN.DGO (finalboss) level (#899)
* decomp `fisher`, `robotboss`, `light-eco`, `green-eco-lurker`, `sage-finalboss`, `robotboss-weapon`, `robotboss-misc` * fixes * add files * add `:states` list to `deftype` and fix files * test state forward decl's on a few more types * also the refs * add light-eco * whatever
This commit is contained in:
@@ -352,9 +352,10 @@
|
||||
|
||||
;; definition of type collide-shape-prim-group
|
||||
(deftype collide-shape-prim-group (collide-shape-prim)
|
||||
((num-prims int32 :offset-assert 72)
|
||||
(allocated-prims int32 :offset-assert 76)
|
||||
(prim uint32 1 :offset-assert 80)
|
||||
((num-prims int32 :offset-assert 72)
|
||||
(allocated-prims int32 :offset-assert 76)
|
||||
(prim collide-shape-prim 1 :offset-assert 80)
|
||||
(prims collide-shape-prim :dynamic :offset 80)
|
||||
)
|
||||
:method-count-assert 30
|
||||
:size-assert #x54
|
||||
@@ -383,7 +384,7 @@
|
||||
(format #t "~Tradius: (meters ~m)~%" (-> obj local-sphere w))
|
||||
(format #t "~Tnum-prims: ~D~%" (-> obj num-prims))
|
||||
(format #t "~Tallocated-prims: ~D~%" (-> obj allocated-prims))
|
||||
(format #t "~Tprim[1] @ #x~X~%" (-> obj prim))
|
||||
(format #t "~Tprim[1] @ #x~X~%" (-> obj prims))
|
||||
obj
|
||||
)
|
||||
|
||||
@@ -684,7 +685,7 @@
|
||||
(set! (-> obj prim-core prim-type) 0)
|
||||
(while (nonzero? elt-count)
|
||||
(+! elt-count -1)
|
||||
(set! (-> obj prim elt-count) (the-as uint #f))
|
||||
(set! (-> obj prims elt-count) #f)
|
||||
(nop!)
|
||||
)
|
||||
(the-as collide-shape-prim-group obj)
|
||||
|
||||
@@ -128,10 +128,11 @@
|
||||
(unknown-dword40 int64 :offset 2160)
|
||||
(unknown-dword41 int64 :offset 2168)
|
||||
(unknown-handle10 handle :offset 2176)
|
||||
(unknown-int11 int32 :offset 2184)
|
||||
(unknown-symbol20 symbol :offset 2184)
|
||||
(unknown-int20 int32 :offset 2188)
|
||||
(unknown-vector102 vector :inline :offset 2224)
|
||||
(unknown-vector103 vector :inline :offset 2240)
|
||||
(unknown-smush00 smush-control :inline :offset 2288)
|
||||
(unknown-vector110 vector :inline :offset 2320)
|
||||
(unknown-vector111 vector :inline :offset 2336)
|
||||
(unknown-int30 int32 :offset 2384)
|
||||
|
||||
Reference in New Issue
Block a user