mirror of
https://github.com/open-goal/jak-project
synced 2026-08-03 00:47:12 -04:00
d264779173
* d/jak2: finish `glist` and `glist-h` partially done `time-of-day` * d/jak2: finish `camera` and `cam-interface` * d/jak2: partially finish `cam-master` `cam-states`, and `cam-update` finish `cam-states-dbg` `cam-combiner` `cam-debug` and `cam-start` * tests: update ref tests * scripts: add scripts to automatically update gsrc files * d/jak2: update gsrc
35 lines
1.0 KiB
Common Lisp
35 lines
1.0 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: cam-update-h.gc
|
|
;; name in dgo: cam-update-h
|
|
;; dgos: ENGINE, GAME
|
|
|
|
(defenum external-cam-option
|
|
:bitfield #t
|
|
(allow-z 0)
|
|
)
|
|
|
|
;; NOTE - for cam-update
|
|
(define-extern update-visible (function math-camera symbol))
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
(define *external-cam-options* (the-as external-cam-option 0))
|
|
|
|
(define *external-cam-mode* #f)
|
|
|
|
(define-extern *camera-look-through-other* int)
|
|
(when (or (not *camera-look-through-other*) (zero? *camera-look-through-other*))
|
|
(set! *camera-look-through-other* 0)
|
|
0
|
|
)
|
|
|
|
(define-perm *camera-other-fov* bfloat (new 'static 'bfloat :data 11650.845))
|
|
(define-perm *camera-other-trans* vector (vector-reset! (new 'global 'vector)))
|
|
(define-perm *camera-other-matrix* matrix (matrix-identity! (new 'global 'matrix)))
|
|
(define-perm *camera-smush-control* smush-control (set-zero! (new 'global 'smush-control)))
|
|
(define-perm *camera-other-root* vector (vector-reset! (new 'global 'vector)))
|
|
(define *fix-visible-level-mask* 6)
|
|
(define *manual-sample-point* #f)
|