Files
jak-project/goal_src/jak2/engine/camera/cam-update-h.gc
T
Tyler Wilding d264779173 d/jak2: finish glist | glist-h | camera | cam-interface | cam-states-dbg | cam-combiner | cam-debug | cam-start (#1829)
* 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
2022-08-31 19:22:47 -04:00

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)