mirror of
https://github.com/open-goal/jak-project
synced 2026-07-02 04:26:09 -04:00
1d0a5ade8d
I didn't actually visually notice much of a difference with these hacks unlike in Jak 1, but I also avoided checking the missions thoroughly since the game crashes very often right now.
36 lines
961 B
Common Lisp
36 lines
961 B
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: engines.gc
|
|
;; name in dgo: engines
|
|
;; dgos: ENGINE, GAME
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
(kmemopen global "engines")
|
|
|
|
(defconstant MATRIX_ENGINE_AMOUNT (* 1024 PROCESS_HEAP_MULT))
|
|
|
|
(define *background-draw-engine* (new 'global 'engine 'draw 10 connection))
|
|
|
|
(define *matrix-engine* (new 'global 'boxed-array handle MATRIX_ENGINE_AMOUNT))
|
|
(set! (-> *matrix-engine* length) 0)
|
|
|
|
(define *part-engine* (new 'global 'engine 'sparticle-launcher 256 connection))
|
|
|
|
(define *camera-engine* (new 'global 'engine 'camera-eng 128 connection))
|
|
|
|
(when *debug-segment*
|
|
(define *debug-engine* (new 'debug 'engine 'debug 64 connection))
|
|
)
|
|
|
|
(define *pad-engine* (new 'global 'engine 'pad 4 connection))
|
|
|
|
(define *lightning-engine* (new 'global 'engine 'lightning-control 128 connection))
|
|
|
|
(define *hud-engine* (new 'global 'engine 'hud 16 connection))
|
|
|
|
(define *task-manager-engine* (new 'global 'engine 'task-manager 16 connection))
|
|
|
|
(kmemclose)
|