Files
jak-project/goal_src/jakx/engine/draw/drawable-actor-h.gc
T
2026-05-08 18:54:05 -04:00

37 lines
909 B
Common Lisp

;;-*-Lisp-*-
(in-package goal)
;; name: drawable-actor-h.gc
;; name in dgo: drawable-actor-h
;; dgos: ENGINE, GAME
;; DECOMP BEGINS
(deftype drawable-actor (drawable)
"Wrapper around an entity-actor to put it in the drawable system.
Note that this is never used to actually draw actors - it is just used as a list of all entity-actors
for the entity/birth system."
((actor entity-actor :offset 8)
)
)
(deftype drawable-tree-actor (drawable-tree)
"Adapater for putting the actors in the tree-array."
()
)
(deftype drawable-inline-array-actor (drawable-inline-array)
"Array of drawable-actors."
((data drawable-actor 1 :inline)
(pad uint8 4)
)
)
(defmethod draw ((this drawable-tree-actor))
"Draw the drawable, and typically its children.
This usually means adding stuff to a list to be drawn later, rather than expensive drawing here."
0
(none)
)