From 56d4fc68a6c8fd43eaa44bbc79ca9d29f3064ef2 Mon Sep 17 00:00:00 2001 From: rexim Date: Sun, 17 Mar 2024 01:50:10 +0700 Subject: Display the duration of the last turn on the screen Along with FPS --- raylib.ads | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'raylib.ads') 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; -- cgit v1.2.3