diff options
author | rexim <reximkut@gmail.com> | 2024-03-09 02:17:48 +0700 |
---|---|---|
committer | rexim <reximkut@gmail.com> | 2024-03-09 02:17:48 +0700 |
commit | e0c32cf9ee2ba11bbb16c9b253ac0d6d7d4570fa (patch) | |
tree | d1e9db17c642752c230dff446bb0c27b0d40b848 /raylib.ads | |
parent | 73a8bb382c0ca8ecde0edbe7ff0214410949dd7c (diff) |
Implement placing the bombs
Diffstat (limited to 'raylib.ads')
-rw-r--r-- | raylib.ads | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -3,7 +3,7 @@ with Interfaces.C.Strings; use Interfaces.C.Strings; with Raymath; use Raymath; package Raylib is - procedure Init_Window(Width, Height: int; Title: chars_ptr) + procedure Init_Window(Width, Height: int; Title: in char_array) with Import => True, Convention => C, @@ -121,4 +121,14 @@ package Raylib is Import => True, Convention => C, External_Name => "IsKeyDown"; + function Measure_Text(Text: Char_Array; FontSize: Int) return Int + with + Import => True, + Convention => C, + External_Name => "MeasureText"; + procedure Draw_Text(Text: Char_Array; PosX, PosY: Int; FontSize: Int; C: Color) + with + Import => True, + Convention => C, + External_Name => "DrawText"; end Raylib; |