summaryrefslogtreecommitdiff
path: root/raylib.ads
diff options
context:
space:
mode:
authorrexim <reximkut@gmail.com>2024-03-17 01:50:10 +0700
committerrexim <reximkut@gmail.com>2024-03-17 01:50:10 +0700
commit56d4fc68a6c8fd43eaa44bbc79ca9d29f3064ef2 (patch)
treeb2eef4c1c3e8d8446ce13260b92d4e17b95e0d00 /raylib.ads
parentf447e5e6b43326645a4990f2039ba728581c6f06 (diff)
Display the duration of the last turn on the screen
Along with FPS
Diffstat (limited to 'raylib.ads')
-rw-r--r--raylib.ads13
1 files changed, 9 insertions, 4 deletions
diff --git a/raylib.ads b/raylib.ads
index 96cbf81..bb18d2a 100644
--- a/raylib.ads
+++ b/raylib.ads
@@ -3,9 +3,9 @@ with Raymath; use Raymath;
package Raylib is
procedure Init_Window(Width, Height: int; Title: in char_array)
- with
- Import => True,
- Convention => C,
+ with
+ Import => True,
+ Convention => C,
External_Name => "InitWindow";
procedure Close_Window
with
@@ -161,9 +161,14 @@ package Raylib is
Import => True,
Convention => C,
External_Name => "ColorFromHSV";
- procedure Set_Exit_Key(Key: Int)
+ procedure Set_Exit_Key(Key: Int)
with
Import => True,
Convention => C,
External_Name => "SetExitKey";
+ function Get_Time return Double
+ with
+ Import => True,
+ Convention => C,
+ External_Name => "GetTime";
end Raylib;