mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 02:14:07 -04:00
[decomp] game-info (#779)
* support more process stuff * more of game info * add ref file * progress on save
This commit is contained in:
+17
-44
@@ -939,11 +939,7 @@
|
||||
(set! (-> obj preload-stream name) arg0)
|
||||
(set! (-> obj preload-stream parts) arg1)
|
||||
(set! (-> obj preload-stream priority) arg3)
|
||||
(let ((v1-8 (if arg2
|
||||
(-> arg2 ppointer)
|
||||
)
|
||||
)
|
||||
)
|
||||
(let ((v1-8 (process->ppointer arg2)))
|
||||
(set!
|
||||
(-> obj preload-stream owner)
|
||||
(new 'static 'handle
|
||||
@@ -1010,11 +1006,7 @@
|
||||
(set! (-> obj rec 0 name) arg0)
|
||||
(set! (-> obj rec 0 parts) arg1)
|
||||
(set! (-> obj rec 0 priority) arg3)
|
||||
(let ((v1-34 (if arg2
|
||||
(-> arg2 ppointer)
|
||||
)
|
||||
)
|
||||
)
|
||||
(let ((v1-34 (process->ppointer arg2)))
|
||||
(set!
|
||||
(-> obj rec 0 owner)
|
||||
(new 'static 'handle
|
||||
@@ -1029,12 +1021,7 @@
|
||||
(set! (-> obj rec 1 name) arg0)
|
||||
(set! (-> obj rec 1 parts) arg1)
|
||||
(set! (-> obj rec 1 priority) arg3)
|
||||
(let* ((a0-18 arg2)
|
||||
(v1-40 (if a0-18
|
||||
(-> a0-18 ppointer)
|
||||
)
|
||||
)
|
||||
)
|
||||
(let ((v1-40 (process->ppointer arg2)))
|
||||
(set!
|
||||
(-> obj rec 1 owner)
|
||||
(new 'static 'handle
|
||||
@@ -1048,12 +1035,7 @@
|
||||
(set! (-> obj rec 2 name) arg0)
|
||||
(set! (-> obj rec 2 parts) arg1)
|
||||
(set! (-> obj rec 2 priority) arg3)
|
||||
(let* ((a0-22 arg2)
|
||||
(v1-44 (if a0-22
|
||||
(-> a0-22 ppointer)
|
||||
)
|
||||
)
|
||||
)
|
||||
(let ((v1-44 (process->ppointer arg2)))
|
||||
(set!
|
||||
(-> obj rec 2 owner)
|
||||
(new 'static 'handle
|
||||
@@ -1101,18 +1083,13 @@
|
||||
(set! sv-56 0)
|
||||
(set! spool-sound (new-sound-id))
|
||||
(dummy-17 *load-state* (-> arg0 command-list))
|
||||
(let* ((a0-2 *setting-control*)
|
||||
(t9-2 (method-of-object a0-2 set-setting!))
|
||||
(a1-2 self)
|
||||
(a2-1 'spooling)
|
||||
(v1-6 self)
|
||||
)
|
||||
(t9-2 a0-2 a1-2 a2-1 (the-as symbol (if v1-6
|
||||
(-> v1-6 ppointer)
|
||||
)
|
||||
)
|
||||
0.0 0
|
||||
)
|
||||
(set-setting!
|
||||
*setting-control*
|
||||
self
|
||||
'spooling
|
||||
(the-as symbol (process->ppointer self))
|
||||
0.0
|
||||
0
|
||||
)
|
||||
(logior! (-> self skel status) 7)
|
||||
(kill-current-level-hint '() '() 'die)
|
||||
@@ -1168,11 +1145,7 @@
|
||||
)
|
||||
)
|
||||
)
|
||||
(let ((v1-46 (if self
|
||||
(-> self ppointer)
|
||||
)
|
||||
)
|
||||
)
|
||||
(let ((v1-46 (process->ppointer self)))
|
||||
(set!
|
||||
(-> *art-control* spool-lock)
|
||||
(new 'static 'handle
|
||||
@@ -1181,7 +1154,7 @@
|
||||
)
|
||||
)
|
||||
)
|
||||
(set! sv-48 (the-as int (-> *display* base-frame-counter)))
|
||||
(set! sv-48 (-> *display* base-frame-counter))
|
||||
(while (< spool-part (-> arg0 parts))
|
||||
(let* ((a0-27 *art-control*)
|
||||
(t9-13 (method-of-object a0-27 spool-push))
|
||||
@@ -1286,7 +1259,7 @@
|
||||
)
|
||||
)
|
||||
(set! sv-72 (current-str-pos spool-sound))
|
||||
(set! sv-40 (the-as int (-> *display* base-frame-counter)))
|
||||
(set! sv-40 (-> *display* base-frame-counter))
|
||||
(until (>= (the float v0-39) f28-0)
|
||||
(if (= (-> self skel root-channel 0) (-> self skel channel))
|
||||
(logior! (-> self skel status) 32)
|
||||
@@ -1296,7 +1269,7 @@
|
||||
(arg3 self)
|
||||
(and
|
||||
(<= sv-72 0)
|
||||
(>= (the-as int (- (-> *display* base-frame-counter) sv-40)) 1200)
|
||||
(>= (- (-> *display* base-frame-counter) sv-40) 1200)
|
||||
)
|
||||
(and (< 300 sv-56) (<= sv-72 0))
|
||||
)
|
||||
@@ -1338,14 +1311,14 @@
|
||||
)
|
||||
)
|
||||
)
|
||||
(set! sv-40 (the-as int (-> *display* base-frame-counter)))
|
||||
(set! sv-40 (-> *display* base-frame-counter))
|
||||
)
|
||||
(else
|
||||
0
|
||||
)
|
||||
)
|
||||
(set! sv-32 sv-72)
|
||||
(set! sv-48 (the-as int (-> *display* base-frame-counter)))
|
||||
(set! sv-48 (-> *display* base-frame-counter))
|
||||
(suspend)
|
||||
(let
|
||||
((f0-14 (* (- (the float (current-str-pos spool-sound)) sv-24) f30-0))
|
||||
|
||||
Reference in New Issue
Block a user