2023-10-10 09:41:05 -04:00
|
|
|
;;-*-Lisp-*-
|
|
|
|
(in-package goal)
|
|
|
|
|
|
|
|
;; name: scene-h.gc
|
|
|
|
;; name in dgo: scene-h
|
|
|
|
;; dgos: GAME
|
|
|
|
|
2024-03-30 10:28:02 -04:00
|
|
|
;; +++scene-flags
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
(defenum scene-flags
|
|
|
|
:bitfield #t
|
|
|
|
:type uint32
|
2024-03-30 10:28:02 -04:00
|
|
|
(scf0 0)
|
|
|
|
(scf1 1)
|
|
|
|
(scf2 2)
|
|
|
|
(scf3 3)
|
|
|
|
(scf4 4)
|
|
|
|
(scf5 5)
|
|
|
|
(scf6 6)
|
|
|
|
(scf7 7)
|
|
|
|
(scf8 8)
|
|
|
|
(scf9 9)
|
|
|
|
(scf10 10)
|
|
|
|
(scf11 11)
|
|
|
|
(scf12 12)
|
|
|
|
(scf13 13)
|
|
|
|
(scf14 14)
|
|
|
|
(scf15 15)
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
)
|
2024-03-30 10:28:02 -04:00
|
|
|
;; ---scene-flags
|
|
|
|
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
|
2024-03-23 09:25:11 -04:00
|
|
|
(declare-type scene-player process-drawable)
|
2024-03-30 10:28:02 -04:00
|
|
|
(declare-type scene art-group)
|
2024-03-23 09:25:11 -04:00
|
|
|
|
|
|
|
(define-extern scene-player-init (function object symbol string none :behavior scene-player))
|
2024-03-30 10:28:02 -04:00
|
|
|
(define-extern scene-lookup (function basic scene))
|
2024-03-23 09:25:11 -04:00
|
|
|
|
2023-10-10 09:41:05 -04:00
|
|
|
;; DECOMP BEGINS
|
|
|
|
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
(deftype scene-actor (basic)
|
|
|
|
((name string)
|
|
|
|
(level symbol)
|
|
|
|
(art-group string)
|
|
|
|
(prefix string)
|
|
|
|
(draw-frames pair)
|
|
|
|
(scissor-frames pair)
|
2024-03-30 10:28:02 -04:00
|
|
|
(shadow-frames pair)
|
|
|
|
(cloth-reset-frames pair)
|
|
|
|
(cloth-commands pair)
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
(camera int16)
|
|
|
|
(light-index uint8)
|
|
|
|
(shadow-mask uint8)
|
|
|
|
(shadow-values uint32)
|
|
|
|
(flags uint32)
|
2024-03-30 10:28:02 -04:00
|
|
|
(command-list pair)
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
(shadow-flags int32)
|
|
|
|
(shadow-volume-joint basic)
|
|
|
|
(draw-seg uint64)
|
|
|
|
(no-draw-seg uint64)
|
|
|
|
(last-frame float)
|
2024-03-30 10:28:02 -04:00
|
|
|
(process handle)
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
)
|
|
|
|
(:methods
|
2024-03-30 10:28:02 -04:00
|
|
|
(setup-manipy-for-scene! (_type_ scene-player) (pointer process))
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
(deftype scene (art-group)
|
|
|
|
((scene-flags scene-flags)
|
|
|
|
(mask-to-clear process-mask)
|
|
|
|
(entity string)
|
|
|
|
(art-group string)
|
|
|
|
(anim string)
|
|
|
|
(parts int32)
|
|
|
|
(command-list pair)
|
|
|
|
(cut-list pair)
|
|
|
|
(wait-max-time time-frame)
|
|
|
|
(wait-air-time time-frame)
|
|
|
|
(wait-ground-time time-frame)
|
|
|
|
(actor (array scene-actor))
|
2024-03-30 10:28:02 -04:00
|
|
|
(load-point basic)
|
|
|
|
(end-point basic)
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
(borrow pair)
|
|
|
|
(sfx-volume float)
|
|
|
|
(ambient-volume float)
|
|
|
|
(music-volume float)
|
|
|
|
(music-delay float)
|
|
|
|
(scene-task uint16)
|
2024-03-30 10:28:02 -04:00
|
|
|
(on-running pair)
|
|
|
|
(on-complete pair)
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
)
|
|
|
|
(:methods
|
2024-03-30 10:28:02 -04:00
|
|
|
(init-spool-by-scene! (_type_ spool-anim) spool-anim)
|
|
|
|
(load-scene (_type_) scene)
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
(deftype scene-player (process-drawable)
|
|
|
|
((scene-list (array scene))
|
|
|
|
(scene scene)
|
|
|
|
(scene-index int32)
|
|
|
|
(anim spool-anim)
|
|
|
|
(next-anim spool-anim)
|
|
|
|
(camera handle)
|
|
|
|
(main-entity entity-actor)
|
|
|
|
(wait symbol)
|
|
|
|
(old-target-pos transformq :inline)
|
|
|
|
(pre-cut-frame basic)
|
|
|
|
(preload-continue string)
|
|
|
|
(preload-sound basic)
|
|
|
|
(dma-max uint32)
|
|
|
|
(gui-id sound-id)
|
|
|
|
(aborted? symbol)
|
|
|
|
(scene-start-time time-frame)
|
|
|
|
(targ-speed float)
|
|
|
|
(cur-speed float)
|
|
|
|
(speed-change-time time-frame)
|
|
|
|
(speed-press-time time-frame)
|
|
|
|
(speed-change-speed float)
|
|
|
|
(subtitle-change-time time-frame)
|
|
|
|
(user-sound sound-id 4)
|
|
|
|
(last-frame float)
|
|
|
|
(end-point basic)
|
|
|
|
(blackout-end basic)
|
2024-03-30 10:28:02 -04:00
|
|
|
(new-trans-hook (function none))
|
|
|
|
(cur-trans-hook (function none))
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
(user-data uint64)
|
|
|
|
)
|
2024-03-30 10:28:02 -04:00
|
|
|
(:state-methods
|
|
|
|
(wait symbol)
|
|
|
|
release
|
|
|
|
play-anim
|
|
|
|
)
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
(:methods
|
2024-03-30 10:28:02 -04:00
|
|
|
(scene-player-method-23 (_type_ string symbol) none)
|
|
|
|
(scene-player-method-24 (_type_ scene symbol) scene)
|
|
|
|
(scene-player-method-25 (_type_ float float) none)
|
[jak3] More headers! (#3351)
Decomp aligner-h, joint-h, prim-h, debug-h, game-h, penetrate-h,
bones-h, foreground-h, scene-h, script-h.
Also, has a little bit of the joint-mod-h file, but it's not finished
yet.
2024-01-31 19:05:12 -05:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
(define *scene-player* (the-as (pointer scene-player) #f))
|
|
|
|
|
|
|
|
(define *debug-menu-scene-play* (the-as object #f))
|