Files
jak-project/test/decompiler/reference/engine/draw/drawable-actor-h_REF.gc
T
water111 2b6684aa5c [decompiler] Working toward bsp (#717)
* clean up

* before int to float stuff

* before trying to eliminate the separate read and write maps

* partial fix for register issues

* add missing include
2021-07-25 15:30:37 -04:00

49 lines
1.2 KiB
Common Lisp
Vendored

;;-*-Lisp-*-
(in-package goal)
;; definition of type drawable-actor
(deftype drawable-actor (drawable)
((actor entity-actor :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
;; INFO: Return type mismatch int vs none.
(defmethod
draw
drawable-tree-actor
((obj drawable-tree-actor) (arg0 drawable) (arg1 display-frame))
0
(none)
)