mirror of
https://github.com/open-goal/jak-project
synced 2026-08-14 20:43:54 -04:00
37 lines
936 B
Common Lisp
Vendored
Generated
37 lines
936 B
Common Lisp
Vendored
Generated
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; definition of type drawable-group
|
|
(deftype drawable-group (drawable)
|
|
((length int16 :offset 6)
|
|
(data drawable :dynamic :offset-assert 32)
|
|
)
|
|
:method-count-assert 17
|
|
:size-assert #x20
|
|
:flag-assert #x1100000020
|
|
(:methods
|
|
(new (symbol type int) _type_ 0)
|
|
)
|
|
)
|
|
|
|
;; definition for method 3 of type drawable-group
|
|
(defmethod inspect drawable-group ((obj drawable-group))
|
|
(when (not obj)
|
|
(set! obj obj)
|
|
(goto cfg-7)
|
|
)
|
|
(format #t "[~8x] ~A~%" obj (-> obj type))
|
|
(format #t "~1Tid: ~D~%" (-> obj id))
|
|
(format #t "~1Tbsphere: ~`vector`P~%" (-> obj bsphere))
|
|
(format #t "~1Tlength: ~D~%" (-> obj length))
|
|
(format #t "~1Tdata[0] @ #x~X~%" (-> obj data))
|
|
(dotimes (s5-0 (-> obj length))
|
|
(format #t "~T [~D]~1Tdata: ~A~%" s5-0 (-> obj data s5-0))
|
|
)
|
|
(label cfg-7)
|
|
obj
|
|
)
|
|
|
|
;; failed to figure out what this is:
|
|
0
|