summaryrefslogtreecommitdiff
path: root/eepers.adb
diff options
context:
space:
mode:
authorrexim <reximkut@gmail.com>2024-03-24 00:49:12 +0700
committerrexim <reximkut@gmail.com>2024-03-24 00:49:12 +0700
commitdb659865c1cf6ea44989b0604cbe4df535208363 (patch)
tree47f1e88c23d822bebfd501d8a6501ac16c2c4afe /eepers.adb
parent396c80a13928859ce3d447ec84226b297dfaa3ce (diff)
Set Window Icon
Diffstat (limited to 'eepers.adb')
-rw-r--r--eepers.adb5
1 files changed, 4 insertions, 1 deletions
diff --git a/eepers.adb b/eepers.adb
index 130fc11..d6f8119 100644
--- a/eepers.adb
+++ b/eepers.adb
@@ -1359,14 +1359,18 @@ procedure Eepers is
Palette_Editor_Choice: Palette := Palette'First;
Palette_Editor_Selected: Boolean := False;
Palette_Editor_Component: HSV_Comp := Hue;
+ Icon: Image;
begin
if not Change_Directory(Get_Application_Directory) then
Put_Line("WARNING: Could not change working directory to the application directory");
end if;
+ Icon := Load_Image("assets/icon.png");
+
Set_Config_Flags(FLAG_WINDOW_RESIZABLE);
Init_Window(1600, 900, Title);
+ Set_Window_Icon(Icon);
Set_Target_FPS(60);
Set_Exit_Key(KEY_NULL);
@@ -1551,7 +1555,6 @@ begin
Close_Window;
end;
--- TODO: Window title icon
-- TODO: Loop the music
-- TODO: Sound on Finishing Round
-- TODO: Footstep variation for Mother/Guard bosses (depending on the distance traveled?)