Files
jak-project/goal_src/jak2/engine/load/decomp-h.gc
T
water111 d52739226c [decomp] decompile decomp.gc (#1936)
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?)
2022-10-01 13:39:56 -04:00

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
)