mirror of
https://github.com/open-goal/jak-project
synced 2026-06-14 22:29:25 -04:00
1c7c2132eb
* stash * decomp: finish what is currently possible in `time-of-day` * need to know how sp-field-init-spec's functions are called * solved some issues, but going to be blocked by the sparticle-group-item * decompiler: Add support for `sparticle-launch-group` from static data * decomp: finish `weather-part`
53 lines
876 B
Common Lisp
53 lines
876 B
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: sparticle.gc
|
|
;; name in dgo: sparticle
|
|
;; dgos: GAME, ENGINE
|
|
|
|
;; TODO - for particle code
|
|
(define-extern sp-kill-particle (function sparticle-system sparticle-cpuinfo none))
|
|
|
|
(defun set-particle-frame-time ((arg0 int))
|
|
(cond
|
|
((= arg0 5)
|
|
(set-vector!
|
|
*sp-frame-time*
|
|
0.00000000000000000000000000000000000001175495
|
|
5.0
|
|
1.0
|
|
1.0
|
|
)
|
|
)
|
|
((= arg0 6)
|
|
(set-vector!
|
|
*sp-frame-time*
|
|
0.000000000000000000000000000000000000011754952
|
|
6.0
|
|
1.2
|
|
1.2
|
|
)
|
|
)
|
|
((= arg0 10)
|
|
(set-vector!
|
|
*sp-frame-time*
|
|
0.000000000000000000000000000000000000011754958
|
|
10.0
|
|
2.0
|
|
2.0
|
|
)
|
|
)
|
|
((= arg0 12)
|
|
(set-vector!
|
|
*sp-frame-time*
|
|
0.00000000000000000000000000000000000001175496
|
|
12.0
|
|
2.4
|
|
2.4
|
|
)
|
|
)
|
|
)
|
|
0
|
|
(none)
|
|
)
|