From d875d13ee6aa437ab699129aee12bb4a9289a11d Mon Sep 17 00:00:00 2001 From: xolatile Date: Wed, 1 May 2024 15:28:30 -0400 Subject: [PATCH] Last change for today... --- source/main.adb | 4 ++-- source/world.adb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/main.adb b/source/main.adb index 96d3ec9..cfddadd 100644 --- a/source/main.adb +++ b/source/main.adb @@ -131,7 +131,7 @@ begin world.configure; ai.configure; - world.make (world.rough, 40, 20); + world.make (world.rough, 140, 120); core.dash; core.echo (core.success, "Successfully initialized game data, entering main gameplay loop."); @@ -169,7 +169,7 @@ begin -- menu_render; -- - --~ui.draw_fill_bar (600, 400, 400, 0.3); + ui.draw_fill_bar (64, core.window_height - 56, 320, 0.7); -- chad.draw_pepe; -- diff --git a/source/world.adb b/source/world.adb index be20c30..a89c17f 100644 --- a/source/world.adb +++ b/source/world.adb @@ -128,8 +128,8 @@ package body world is y => offset.y + (move_y - core.camera.y) * core.base * core.zoom, u => u, v => v, - width => core.base-1, - height => core.base-1); + width => core.base, + height => core.base); -- if core.cursor.x > offset.x + (move_x - core.camera.x ) * core.base * core.zoom and core.cursor.x < offset.x + (move_x - core.camera.x + 1) * core.base * core.zoom