;;-*-Lisp-*- (in-package goal) ;; definition of type drawable-group (deftype drawable-group (drawable) "Base class for an array of references to other drawables. These are typically used for very high-level organization of drawable." ((length int16 :offset 6) (data drawable :dynamic) ) (:methods (new (symbol type int) _type_) ) ) ;; definition for method 3 of type drawable-group (defmethod inspect ((this drawable-group)) (when (not this) (set! this this) (goto cfg-7) ) (format #t "[~8x] ~A~%" this (-> this type)) (format #t "~1Tid: ~D~%" (-> this id)) (format #t "~1Tbsphere: ~`vector`P~%" (-> this bsphere)) (format #t "~1Tlength: ~D~%" (-> this length)) (format #t "~1Tdata[0] @ #x~X~%" (-> this data)) (dotimes (s5-0 (-> this length)) (format #t "~T [~D]~1Tdata: ~A~%" s5-0 (-> this data s5-0)) ) (label cfg-7) this ) ;; failed to figure out what this is: 0