From 666f4f3ced5003f24c048e6bacee8ffdb649a56e Mon Sep 17 00:00:00 2001 From: noxe-jkl Date: Wed, 1 Apr 2026 16:14:51 -0400 Subject: [PATCH] bug: re-implement bounce_speed and grounded vars --- physics_engine.vhd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/physics_engine.vhd b/physics_engine.vhd index 549f6ab..ddb42a1 100644 --- a/physics_engine.vhd +++ b/physics_engine.vhd @@ -148,7 +148,9 @@ begin variable vx, vy : std_logic_vector(9 downto 0); variable px, py : std_logic_vector(10 downto 0); variable bounced : std_logic; - variable bounce_wall : std_logic; + variable bounce_wall : std_logic; + variable bounce_speed : std_logic_vector(9 downto 0); + variable grounded : std_logic; variable c_left, c_right, c_top, c_bot : std_logic_vector(10 downto 0); variable c_prev_top, c_prev_bot, c_prev_left, c_prev_right : std_logic_vector(10 downto 0); variable tcx, tcy, dcx, dcy : std_logic_vector(10 downto 0); -- 2.51.2