mirror of
https://github.com/open-goal/jak-project
synced 2026-08-06 18:03:30 -04:00
d52739226c
A few issues: - lwidea's fr3 is getting loaded and unloaded all the time - the debug line drawing clipping is wrong (doesn't seem wrong in pcsx2, so I think this is on us) - nothing actually using vis data yet - at a large distance, our view frustum culling seems slightly too aggressive (might be that viewport scissoring is wrong) - in the city, things seem darker as you move away. unclear how this is happening (fog?)
23 lines
623 B
Common Lisp
23 lines
623 B
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: decomp-h.gc
|
|
;; name in dgo: decomp-h
|
|
;; dgos: ENGINE, GAME
|
|
|
|
(define-extern unpack-comp-lzo (function (pointer uint8) (pointer uint8) none))
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
;; temporary storage for visibility data decompression.
|
|
;; this is stored on the scratchpad.
|
|
(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
|
|
) |