Files
jak-project/goal_src/jak2/engine/camera/cam-start.gc
T
Tyler Wilding f6bdc07990 d/jak2: finish progress menu code and initialize the camera (#1945)
This PR does a few main things:
- finish decompiling the progress related code
- implemented changes necessary to load the text files end-to-end
   - japanese/korean character encodings were not added
- finish more camera code, which is required to spawn the progress menu
/ init the default language settings needed for text
  - initialized the camera as well

Still havn't opened the menu as there are a lot of checks around
`*target*` which I havn't yet gone through and attempted to comment out.
2022-10-11 18:30:26 -04:00

43 lines
923 B
Common Lisp

;;-*-Lisp-*-
(in-package goal)
;; name: cam-start.gc
;; name in dgo: cam-start
;; dgos: ENGINE, GAME
;; DECOMP BEGINS
(defun cam-stop ()
(kill-by-name "camera-master" *active-pool*)
(kill-by-name "camera-slave" *active-pool*)
(kill-by-name "camera-combiner" *active-pool*)
(set! *camera* #f)
(set! *camera-combiner* #f)
#f
)
(defun cam-start ((arg0 symbol))
(cam-stop)
(set! *camera-combiner*
(the-as camera-combiner
(ppointer->process
(process-spawn camera-combiner :init cam-combiner-init :from *camera-dead-pool* :to *camera-pool*)
)
)
)
(set! *camera*
(the-as camera-master
(ppointer->process
(process-spawn camera-master :init cam-master-init :from *camera-master-dead-pool* :to *camera-pool*)
)
)
)
(if arg0
(reset-cameras)
)
0
(none)
)
(cam-start #f)