From fe3be924cb025194fa88454bae3d6e810c3b6c8c Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Sat, 20 Jul 2024 15:23:06 -0400 Subject: [PATCH] tests: update ref tests --- goal_src/jak1/pc/progress-pc.gc | 8 ++++---- .../reference/jak1/engine/target/target2_REF.gc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/goal_src/jak1/pc/progress-pc.gc b/goal_src/jak1/pc/progress-pc.gc index a2f5f58116..024b2500e3 100644 --- a/goal_src/jak1/pc/progress-pc.gc +++ b/goal_src/jak1/pc/progress-pc.gc @@ -1434,7 +1434,7 @@ (+ -205.4294994422315 (* 245.07283711809043 aspect-ratio) (* -81.04347133064093 aspect-ratio aspect-ratio) - (* 9.423126530695802 aspect-ratio aspect-ratio aspect-ratio))))) + (* 9.423126530695802 aspect-ratio aspect-ratio aspect-ratio))))) (defun pc-sprite-adjust-cross-x ((aspect-ratio float)) (cond @@ -1578,7 +1578,7 @@ (+ -32.088654921966715 (* 56.69193997766507 aspect-ratio) (* -29.856150879331594 aspect-ratio aspect-ratio) - (* 4.401442349782235 aspect-ratio aspect-ratio aspect-ratio))))) + (* 4.401442349782235 aspect-ratio aspect-ratio aspect-ratio))))) (defun pc-sprite-adjust-percent-x ((aspect-ratio float)) (cond @@ -1632,7 +1632,7 @@ (+ -3.26385961093079 (* 6.476532684613467 aspect-ratio) (* -4.083859180614655 aspect-ratio aspect-ratio) - (* 0.819204392897082 aspect-ratio aspect-ratio aspect-ratio))))) + (* 0.819204392897082 aspect-ratio aspect-ratio aspect-ratio))))) (defun pc-sprite-adjust-orb-glow-x ((aspect-ratio float)) (cond @@ -1668,7 +1668,7 @@ (+ -6.52771922186158 (* 12.953065369226934 aspect-ratio) (* -8.16771836122931 aspect-ratio aspect-ratio) - (* 1.638408785794164 aspect-ratio aspect-ratio aspect-ratio))))) + (* 1.638408785794164 aspect-ratio aspect-ratio aspect-ratio))))) (defun pc-sprite-adjust-cell-x ((aspect-ratio float)) (cond diff --git a/test/decompiler/reference/jak1/engine/target/target2_REF.gc b/test/decompiler/reference/jak1/engine/target/target2_REF.gc index 3d39faf8b7..6bfab8884e 100644 --- a/test/decompiler/reference/jak1/engine/target/target2_REF.gc +++ b/test/decompiler/reference/jak1/engine/target/target2_REF.gc @@ -144,7 +144,7 @@ (x-offset int32) ) (:methods - (dumb-15 (_type_) none) + (spawn-particles! (_type_) none) ) (:states hud-coming-in @@ -257,7 +257,7 @@ ;; definition for method 14 of type first-person-hud ;; INFO: Return type mismatch int vs none. -(defmethod dumb-15 ((this first-person-hud)) +(defmethod spawn-particles! ((this first-person-hud)) (dotimes (s5-0 (-> this nb-of-particles)) (set! (-> this particles s5-0 pos x) (+ -256.0 (-> this particles s5-0 init-pos x))) (set! (-> this particles s5-0 pos y) @@ -322,7 +322,7 @@ ) ) :post (behavior () - (dumb-15 self) + (spawn-particles! self) ) ) @@ -355,7 +355,7 @@ ) ) :post (behavior () - (dumb-15 self) + (spawn-particles! self) ) )