mirror of
https://github.com/open-goal/jak-project
synced 2026-06-25 18:14:34 -04:00
59a12029a0
* fix a couple macros in ref tests * `default-menu` cleanup * add `find-instance-by-name` func * improve debugger slightly hopefully * fix IOP PLAY buffer overrun bug * fix `default-menu` more * automatically convert ints in static pairs to/from bintegers * fix test * clang * fix a few more lambdas * update refs * add custom menu cuz cool * oopsie! also make `default-level` and `halfpipe` go away * add camera teleport menu * update types in debug menu
26 lines
931 B
Common Lisp
26 lines
931 B
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: cam-update-h.gc
|
|
;; name in dgo: cam-update-h
|
|
;; dgos: GAME, ENGINE
|
|
|
|
(defenum external-cam-option
|
|
:bitfield #t
|
|
(allow-z 0)
|
|
)
|
|
|
|
(define *external-cam-options* (external-cam-option))
|
|
(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))
|