mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
38 lines
1.1 KiB
Common Lisp
38 lines
1.1 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: drawable-h.gc
|
|
;; name in dgo: drawable-h
|
|
;; dgos: GAME
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
(deftype drawable (basic)
|
|
"Base class for `drawable` scene graph system.
|
|
This base class is really abused in many ways, and the meaning of the various methods differ depending
|
|
on the exact type. Not even the ID and bsphere here are always populated.
|
|
This is used for very high level organization of different rendering data types, and also very low-level
|
|
culling/rendering optimizations. It supports both array-of-references and inline-array containers with precise
|
|
control over memory layout for use with DMA."
|
|
((id int16)
|
|
(bsphere vector :inline)
|
|
)
|
|
(:methods
|
|
(drawable-method-9 () none)
|
|
(draw (_type_ _type_ display-frame) none)
|
|
(drawable-method-11 () none)
|
|
(drawable-method-12 () none)
|
|
(drawable-method-13 () none)
|
|
(drawable-method-14 () none)
|
|
(drawable-method-15 () none)
|
|
(drawable-method-16 () none)
|
|
)
|
|
)
|
|
|
|
|
|
(deftype drawable-error (drawable)
|
|
"A drawable which just represents an error. When drawn, it simply displays a sphere with an error message."
|
|
((name string)
|
|
)
|
|
)
|