game: Get camera code working (#965)

* cmake: disable edit&continue flags

* goos: make the build system work for alternate file paths nicely

* vs: update vs config

* vscode: extend terminal buffer!

* vs: fix presets

* debugger: fix exception handler

* game: add logo to application

* decomp: get `cam-master` to "work" -- manually changed return type

* debugger: fix printing issue

* game: get the camera actually working

* game: neutralize the analog sticks

* game: support analog sticks

* tests: update ref tests

* temp commit - inprogress stuff

* fix `send-macro`

* turn camera stuff back on, seems to work.  Still kernel-dispatch problem though

* address feedback

* formatting
This commit is contained in:
Tyler Wilding
2021-11-13 22:41:15 -05:00
committed by GitHub
parent d2f02600de
commit 44c43610ce
45 changed files with 10235 additions and 1332 deletions
+3 -4
View File
@@ -21,14 +21,13 @@
(define *dm-cam-mode-interpolation* (the-as debug-menu 0))
(defun dm-cam-mode-func ((arg0 uint) (arg1 int))
(defun dm-cam-mode-func ((arg0 (state camera-slave)) (arg1 int))
(if (and (= arg1 4) arg0)
(send-event *camera* 'change-state arg0 *dm-cam-mode-interpolation*)
)
(if *camera*
(send-event *camera* 'query-state arg0)
(send-event *camera* 'query-state arg0))
(not arg0)
)
)
(defun dm-cam-settings-func ((arg0 int) (arg1 int))
@@ -2933,7 +2932,7 @@
(stub-item (new 'debug 'debug-menu-item-submenu "Instance" stub-menu)))
stub-item
)
;; TODO - fix me!
; TODO - fix me!
; (let* ((gp-0 (new 'debug 'debug-menu arg0 "Instance menu"))
; (s5-0 (new 'debug 'debug-menu-item-submenu "Instance" gp-0))
; )