mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
fd7d9c3df5
`scene-player-init` has some weird `rtype-of` usage (mostly in the `pair` clause)
57 lines
1.5 KiB
Common Lisp
57 lines
1.5 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: pov-camera-h.gc
|
|
;; name in dgo: pov-camera-h
|
|
;; dgos: ENGINE, GAME
|
|
|
|
(defenum pov-camera-flag
|
|
:bitfield #t
|
|
:type int32
|
|
(notify-of-abort 0)
|
|
(allow-abort 1)
|
|
(inherit-orientation 2)
|
|
)
|
|
|
|
;; NOTE - for scene
|
|
(declare-type pov-camera process-drawable)
|
|
(declare-type othercam process)
|
|
(define-extern othercam-init-by-other (function pov-camera int symbol symbol none :behavior othercam))
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
(deftype pov-camera (process-drawable)
|
|
((flags pov-camera-flag :offset-assert 200)
|
|
(debounce-start-time time-frame :offset-assert 208)
|
|
(notify-handle handle :offset-assert 216)
|
|
(anim-name string :offset-assert 224)
|
|
(command-list pair :offset-assert 228)
|
|
(mask-to-clear process-mask :offset-assert 232)
|
|
(music-volume-movie float :offset-assert 236)
|
|
(sfx-volume-movie float :offset-assert 240)
|
|
)
|
|
:heap-base #x80
|
|
:method-count-assert 30
|
|
:size-assert #xf4
|
|
:flag-assert #x1e008000f4
|
|
(:methods
|
|
(pov-camera-abort () _type_ :state 20)
|
|
(pov-camera-done-playing () _type_ :state 21)
|
|
(pov-camera-playing () _type_ :state 22)
|
|
(pov-camera-start-playing () _type_ :state 23)
|
|
(pov-camera-startup () _type_ :state 24)
|
|
(abort? (_type_) symbol :behavior pov-camera 25)
|
|
(target-grabbed? (_type_) symbol 26)
|
|
(pov-camera-method-27 () none 27)
|
|
(pov-camera-method-28 () none 28)
|
|
(target-released? (_type_) symbol 29)
|
|
)
|
|
)
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
|