mirror of
https://github.com/open-goal/jak-project
synced 2026-08-07 10:16:45 -04:00
19 lines
647 B
Common Lisp
19 lines
647 B
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
(bundles "ENGINE.CGO" "GAME.CGO")
|
|
(require "engine/draw/drawable-h.gc")
|
|
|
|
;; Base class for contiguous drawable containers. Like drawable-group, the
|
|
;; container is itself a drawable, but its elements live inline rather than
|
|
;; behind references. This is the preferred layout for large traversal sets
|
|
;; because it has a fixed stride and good locality.
|
|
;;
|
|
;; The base type records only the element count. A concrete subtype must declare
|
|
;; the inline element field so callers and drawable methods know its type and
|
|
;; stride.
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
(deftype drawable-inline-array (drawable)
|
|
((length int16 :offset 6)))
|