mirror of
https://github.com/open-goal/jak-project
synced 2026-07-07 14:13:45 -04:00
fc43870d85
This renames the method object in `defmethod`s to `this` and adds detection for the `set-time!` and `time-elapsed?` macros. Definitely my biggest PR yet...
28 lines
840 B
Common Lisp
Vendored
Generated
28 lines
840 B
Common Lisp
Vendored
Generated
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; definition of type decomp-work
|
|
(deftype decomp-work (structure)
|
|
((buffer0 uint8 2048 :offset-assert 0)
|
|
(buffer1 uint8 2048 :offset-assert 2048)
|
|
(indices uint16 2048 :offset-assert 4096)
|
|
(temp-indices uint16 2048 :offset-assert 8192)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x3000
|
|
:flag-assert #x900003000
|
|
)
|
|
|
|
;; definition for method 3 of type decomp-work
|
|
(defmethod inspect decomp-work ((this decomp-work))
|
|
(format #t "[~8x] ~A~%" this 'decomp-work)
|
|
(format #t "~Tbuffer0[2048] @ #x~X~%" (-> this buffer0))
|
|
(format #t "~Tbuffer1[2048] @ #x~X~%" (-> this buffer1))
|
|
(format #t "~Tindices[2048] @ #x~X~%" (-> this indices))
|
|
(format #t "~Ttemp-indices[2048] @ #x~X~%" (-> this temp-indices))
|
|
this
|
|
)
|
|
|
|
;; failed to figure out what this is:
|
|
0
|