From 620812b5a9edc882ea5ab159914c4ff75a6cf51e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 6 Mar 2026 23:59:52 +0100 Subject: Update the explosions' pool capacity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit More enemies means more possible explosions. Hence, increase the pool's capacity by one to match the recent change in enemies per screen. Signed-off-by: Miquel Sabaté Solà --- src/explosions.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/explosions.s b/src/explosions.s index 58a700e..b5d404c 100644 --- a/src/explosions.s +++ b/src/explosions.s @@ -13,7 +13,7 @@ ;; Maximum amount of explosions allowed on screen at the same time. At ;; maximum it can happen that all enemies explode at the same time (3), plus ;; some animation (e.g. player blasting off). - EXPLOSIONS_POOL_CAPACITY = 3 + 1 + EXPLOSIONS_POOL_CAPACITY = 4 + 1 ;; The capacity of the explosions pool in bytes. EXPLOSIONS_POOL_CAPACITY_BYTES = EXPLOSIONS_POOL_CAPACITY * 3 @@ -32,7 +32,7 @@ zp_pool_base = $70 ; asan:reserve EXPLOSIONS_POOL_CAPACITY_BYTES ;; Number of active explosions at the moment. - zp_active = $7C + zp_active = $7F ;; The amount of time each explosion frame will take. FRAME_TIME = HZ / 20 -- cgit v1.2.3