mirror of
https://github.com/open-goal/jak-project
synced 2026-05-26 15:46:14 -04:00
32 lines
841 B
Common Lisp
Vendored
Generated
32 lines
841 B
Common Lisp
Vendored
Generated
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; definition of type decomp-work
|
|
(deftype decomp-work (structure)
|
|
"Temporary storage for visibility data decompression.
|
|
This is stored on the scratchpad."
|
|
((buffer0 uint8 2048)
|
|
(buffer1 uint8 2048)
|
|
(indices uint16 2048)
|
|
(temp-indices uint16 2048)
|
|
)
|
|
)
|
|
|
|
;; definition for method 3 of type decomp-work
|
|
(defmethod inspect ((this decomp-work))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(format #t "[~8x] ~A~%" this 'decomp-work)
|
|
(format #t "~1Tbuffer0[2048] @ #x~X~%" (-> this buffer0))
|
|
(format #t "~1Tbuffer1[2048] @ #x~X~%" (-> this buffer1))
|
|
(format #t "~1Tindices[2048] @ #x~X~%" (-> this indices))
|
|
(format #t "~1Ttemp-indices[2048] @ #x~X~%" (-> this temp-indices))
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; failed to figure out what this is:
|
|
0
|