jak-project/goal_src/jak2/engine/camera/pov-camera-h.gc
Tyler Wilding fd7d9c3df5
d/jak2: finish scene (#1971)
`scene-player-init` has some weird `rtype-of` usage (mostly in the
`pair` clause)
2022-10-15 17:43:02 -04:00

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