Files
jak-project/test/decompiler/reference/engine/draw/drawable-actor-h_REF.gc
T
Tyler Wilding fc105e1f55 decomp: collide-frag (#618)
* decomp: Good portion of `collide-frag`

* decomp: Remove redundant method declarations for drawable types

* decomp: Finish `collide-frag`

Co-authored-by: water111 <48171810+water111@users.noreply.github.com>
2021-06-21 20:18:27 -04:00

47 lines
1.2 KiB
Common Lisp

;;-*-Lisp-*-
(in-package goal)
;; definition of type drawable-actor
(deftype drawable-actor (drawable)
((actor basic :offset 8)
)
:method-count-assert 18
:size-assert #x20
:flag-assert #x1200000020
)
;; definition for method 3 of type drawable-actor
(defmethod inspect drawable-actor ((obj drawable-actor))
(format #t "[~8x] ~A~%" obj (-> obj type))
(format #t "~Tid: ~D~%" (-> obj id))
(format #t "~Tbsphere: ~`vector`P~%" (-> obj bsphere))
(format #t "~Tactor: ~A~%" (-> obj actor))
obj
)
;; definition of type drawable-tree-actor
(deftype drawable-tree-actor (drawable-tree)
()
:method-count-assert 18
:size-assert #x24
:flag-assert #x1200000024
)
;; definition of type drawable-inline-array-actor
(deftype drawable-inline-array-actor (drawable-inline-array)
((data drawable-actor 1 :inline :offset-assert 32)
(pad uint8 4 :offset-assert 64)
)
:method-count-assert 18
:size-assert #x44
:flag-assert #x1200000044
)
;; definition for method 10 of type drawable-tree-actor
(defmethod
dummy-10
drawable-tree-actor
((obj drawable-tree-actor) (arg0 drawable) (arg1 display-frame))
0
)