summaryrefslogtreecommitdiff
path: root/game.adb
diff options
context:
space:
mode:
authorrexim <reximkut@gmail.com>2024-03-17 01:51:10 +0700
committerrexim <reximkut@gmail.com>2024-03-17 01:51:10 +0700
commitd945fda158882b733a896c54401833ff293cfb13 (patch)
tree550bb4514d376b0377956a0219cb04dadfd76767 /game.adb
parent56d4fc68a6c8fd43eaa44bbc79ca9d29f3064ef2 (diff)
Instantiate Double_IO
Diffstat (limited to 'game.adb')
-rw-r--r--game.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/game.adb b/game.adb
index ed7a8e4..22890c0 100644
--- a/game.adb
+++ b/game.adb
@@ -1,3 +1,4 @@
+with Ada.Text_IO;
with Text_IO; use Text_IO;
with Interfaces.C; use Interfaces.C;
with Raylib; use Raylib;
@@ -55,6 +56,8 @@ procedure Game is
Palette_RGB: array (Palette) of Color := [others => (A => 255, others => 0)];
Palette_HSV: array (Palette) of HSV := [others => [others => 0]];
+ package Double_IO is new Ada.Text_IO.Float_IO(Double);
+
procedure Save_Colors(File_Name: String) is
F: File_Type;
begin