mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
9351bf782e
And everything else needed for them! A couple functions are bad currently. - fixes #1929 - untested on linux - fixes #1924 - now you need to type `,` before a lambda you want to put in a pair. - fix debugger symbol table in jak 2 - made the decompiler output `(meters 2)` instead of `(meters 2.0)` - fixed a bug with the bitfield enum special -1 case - made bad game text decomp not exit the decompiler - added `editable-player` and `script`
38 lines
1.1 KiB
Common Lisp
38 lines
1.1 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: fma-sphere.gc
|
|
;; name in dgo: fma-sphere
|
|
;; dgos: ENGINE, GAME
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
|
|
(defenum fma-sphere-mode
|
|
:type uint32
|
|
:bitfield #t
|
|
(nav 0)
|
|
(kill-once 1)
|
|
(danger 2)
|
|
(deadly-overlap 3))
|
|
|
|
(deftype fma-sphere (process-drawable)
|
|
((first-time? symbol :offset-assert 200)
|
|
(mode fma-sphere-mode :offset-assert 204)
|
|
(track-handle handle :offset-assert 208)
|
|
(track-joint int32 :offset-assert 216)
|
|
(attack-id uint32 :offset-assert 220)
|
|
(duration time-frame :offset-assert 224)
|
|
(sphere sphere :inline :offset-assert 240)
|
|
(danger traffic-danger-info :inline :offset-assert 256)
|
|
)
|
|
:method-count-assert 21
|
|
:size-assert #x136
|
|
:flag-assert #x1500c00136
|
|
(:methods
|
|
(idle () _type_ :state 20)
|
|
)
|
|
)
|
|
|
|
(define-extern fma-sphere-init-by-other (function fma-sphere-mode process-drawable int time-frame object object fma-sphere))
|