mirror of
https://github.com/open-goal/jak-project
synced 2026-07-02 20:47:07 -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:
+1
-1
@@ -1087,7 +1087,7 @@
|
||||
)
|
||||
(set! (-> obj drip-time) (-> *display* base-frame-counter))
|
||||
(set! (-> obj flags) (logand -32769 (-> obj flags)))
|
||||
(set! (-> obj drip-wetness) (seek (-> obj drip-wetness) 0.0 (* 0.001 (-> obj drip-speed))))
|
||||
(seek! (-> obj drip-wetness) 0.0 (* 0.001 (-> obj drip-speed)))
|
||||
(set! (-> obj drip-speed) (* 1.05 (-> obj drip-speed)))
|
||||
(if (= (-> obj drip-wetness) 0.0)
|
||||
(set! (-> obj drip-height) 0.0)
|
||||
|
||||
Reference in New Issue
Block a user