Files
jak-project/goal_src/jak1/engine/draw/drawable-inline-array-h.gc
T
2026-07-26 14:43:53 -04:00

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)))