Files
jak-project/goal_src/jak2/engine/engine/engines.gc
T
ManDude 1d0a5ade8d [jak2] minor decomp cleanup + add force actors and sprite pc hacks (#2291)
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.
2023-02-28 00:35:57 +00:00

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)