mirror of
https://github.com/open-goal/jak-project
synced 2026-06-28 19:21:06 -04:00
79d14af0b5
I finally read through all the joint code and wrote up some documentation. I think this will be really helpful when we try to understand all the functions in `process-drawable`, or if somebody ever wants to import/export animations. This switches all three games to using a new faster GOAL joint decompressor. It is on by default, but you can go back to the old version by setting `*use-new-decompressor*` to false. Also fix the log-related crash, fix the clock speed used in timer math.
21 lines
453 B
Common Lisp
21 lines
453 B
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: decomp-h.gc
|
|
;; name in dgo: decomp-h
|
|
;; dgos: GAME
|
|
|
|
(define-extern unpack-comp-lzo (function (pointer uint8) (pointer uint8) none))
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
(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)
|
|
)
|
|
)
|