Files
jak-project/goal_src/engine/draw/drawable-h.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

41 lines
1.2 KiB
Common Lisp

;;-*-Lisp-*-
(in-package goal)
;; name: drawable-h.gc
;; name in dgo: drawable-h
;; dgos: GAME, ENGINE
;; These are the base classes for the draw nodes in the engine.
(deftype drawable (basic)
((id int16 :offset-assert 4)
(bsphere vector :inline :offset-assert 16)
)
:method-count-assert 18
:size-assert #x20
:flag-assert #x1200000020
(:methods
(dummy-9 (_type_) _type_ 9) ;; probably login or init.
(dummy-10 (_type_ drawable display-frame) int 10) ;; display-frame is from the method inspect tool
(dummy-11 (_type_ int) none 11) ; int - length
(dummy-12 (_type_ int) none 12) ; int - length
(dummy-13 (_type_ int) none 13) ; int - length
(dummy-14 () none 14)
(dummy-15 () none 15)
(dummy-16 (_type_ object object) object 16)
(dummy-17 () none 17)
)
)
(deftype drawable-error (drawable)
((name basic :offset-assert 32)
)
:method-count-assert 18
:size-assert #x24
:flag-assert #x1200000024
)
;; NOTE - I'm guessing there was a define-extern earlier in the build process
;; This is actually set in process-drawable.gc, but it's used by files earlier in the process
(define-extern process-drawable-art-error state)