Files
jak-project/goal_src/engine/draw/draw-node-h.gc
T
water111 21fefa0aaa [decompiler] small fixes for methods and more reference tests (#419)
* clean up method stuff, fix a few small bugs, and add references for easy -h files

* more small fixes and reference tests
2021-05-06 00:42:49 -04:00

29 lines
738 B
Common Lisp

;;-*-Lisp-*-
(in-package goal)
;; name: draw-node-h.gc
;; name in dgo: draw-node-h
;; dgos: GAME, ENGINE
(deftype draw-node (drawable)
((child-count uint8 :offset 6)
(flags uint8 :offset 7)
(child uint32 :offset 8)
(distance float :offset 12)
)
:method-count-assert 18
:size-assert #x20
:flag-assert #x1200000020
;; field distance is a float printed as hex?
)
;; the types of these fields are a guess for now.
(deftype draw-node-dma (structure)
((banka draw-node 32 :inline :offset-assert 0)
(bankb draw-node 32 :inline :offset-assert 1024)
)
:method-count-assert 9
:size-assert #x800
:flag-assert #x900000800
)