mirror of
https://github.com/open-goal/jak-project
synced 2026-06-17 23:21:41 -04:00
[decompiler] detect seek! and seekl! macros (#1317)
* detect `seek!` and `seekl!` * fancy struct instead of pair mess * fixes * i think this was wrong? * update refs * update source * More logical branching * even better branching
This commit is contained in:
@@ -179,9 +179,7 @@
|
||||
)
|
||||
(set! s3-0 #f)
|
||||
)
|
||||
(set! (-> obj basetrans y)
|
||||
(seek (-> obj basetrans y) (+ (-> obj root-pos) f30-0) (* 40960.0 (-> *display* seconds-per-frame)))
|
||||
)
|
||||
(seek! (-> obj basetrans y) (+ (-> obj root-pos) f30-0) (* 40960.0 (-> *display* seconds-per-frame)))
|
||||
(if (not (= (-> obj basetrans y) (+ (-> obj root-pos) f30-0)))
|
||||
(set! s5-1 #f)
|
||||
)
|
||||
@@ -190,12 +188,11 @@
|
||||
(set! (-> s4-1 quad)
|
||||
(-> (the-as process-drawable (handle->process (-> obj money-list s2-0))) root trans quad)
|
||||
)
|
||||
(set! (-> obj money-pos-actual s2-0) (seek
|
||||
(-> obj money-pos-actual s2-0)
|
||||
(-> obj money-pos-list s2-0)
|
||||
(* 40960.0 (-> *display* seconds-per-frame))
|
||||
)
|
||||
)
|
||||
(seek!
|
||||
(-> obj money-pos-actual s2-0)
|
||||
(-> obj money-pos-list s2-0)
|
||||
(* 40960.0 (-> *display* seconds-per-frame))
|
||||
)
|
||||
(if (not (= (-> obj money-pos-actual s2-0) (-> obj money-pos-list s2-0)))
|
||||
(set! s5-1 #f)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user