;;-*-Lisp-*-
(in-package goal)

;; definition of type drawable-actor
(deftype drawable-actor (drawable)
  ((actor entity-actor  :offset   8)
   )
  :method-count-assert 18
  :size-assert         #x20
  :flag-assert         #x1200000020
  )

;; definition for method 3 of type drawable-actor
(defmethod inspect drawable-actor ((obj drawable-actor))
  (format #t "[~8x] ~A~%" obj (-> obj type))
  (format #t "~Tid: ~D~%" (-> obj id))
  (format #t "~Tbsphere: ~`vector`P~%" (-> obj bsphere))
  (format #t "~Tactor: ~A~%" (-> obj actor))
  obj
  )

;; definition of type drawable-tree-actor
(deftype drawable-tree-actor (drawable-tree)
  ()
  :method-count-assert 18
  :size-assert         #x24
  :flag-assert         #x1200000024
  )

;; definition of type drawable-inline-array-actor
(deftype drawable-inline-array-actor (drawable-inline-array)
  ((data drawable-actor 1 :inline :offset-assert  32)
   (pad  uint8          4         :offset-assert  64)
   )
  :method-count-assert 18
  :size-assert         #x44
  :flag-assert         #x1200000044
  )

;; definition for method 10 of type drawable-tree-actor
;; INFO: Return type mismatch int vs none.
(defmethod draw drawable-tree-actor ((obj drawable-tree-actor) (arg0 drawable-tree-actor) (arg1 display-frame))
  0
  (none)
  )
