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