mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
d37e6c548e
* started process on `camera` * the bulk of `camera` is finished, with the exception of a few * decomp: Confirmed function ret value * decomp: `cam-combiner` dead code issue * stash * decomp: finish `cam-combiner` * decomp: finish `cam-start` * decomp: mostly finish `cam-update`, just needs polish now * `cam-standard-event-handler` still causing issues * `cam-combiner` issues with top-level `s6` usage * decomp: update reference tests * decomp: finalize `cam-start` * decomp: `cam-update` cleaned up everything except the array of planes issue * label correction * still blocked in cam-combiner over casting issues * decomp: resolve issues in `cam-start` * decomp: finalize `cam-update` * stash * decomp: finalize `cam-combiner` * decomp: finalize `camera` * decomp: address feedback
22 lines
849 B
Common Lisp
22 lines
849 B
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: cam-update-h.gc
|
|
;; name in dgo: cam-update-h
|
|
;; dgos: GAME, ENGINE
|
|
|
|
|
|
(define *external-cam-options* 0)
|
|
(define *external-cam-mode* #f)
|
|
(define-perm *camera-look-through-other* int 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)))
|
|
|
|
|
|
;; TODO - actually defined in cam-states-dbg
|
|
(define-extern cam-free-floating-move (function matrix vector vector int vector))
|
|
(define-extern cam-free-floating-input (function vector vector symbol int vector))
|