gel: Cosmetics.

This commit is contained in:
Rod Kay
2023-04-20 10:14:22 +10:00
parent c3a536b37b
commit b06d612c34
4 changed files with 17 additions and 3 deletions

View File

@@ -235,6 +235,7 @@ is
procedure add_new_World (Self : in out Item; Name : in String; procedure add_new_World (Self : in out Item; Name : in String;
space_Kind : in physics.space_Kind) space_Kind : in physics.space_Kind)
is is
@@ -266,6 +267,7 @@ is
function is_Open (Self : in Item) return Boolean function is_Open (Self : in Item) return Boolean
is is
begin begin
@@ -389,6 +391,9 @@ is
end last_Keypress; end last_Keypress;
-------------- --------------
--- Operations --- Operations
-- --
@@ -413,6 +418,8 @@ is
procedure freshen (Self : in out Item) procedure freshen (Self : in out Item)
is is
use type gel.Dolly.view; use type gel.Dolly.view;

View File

@@ -9,7 +9,7 @@ with
gel.Window, gel.Window,
openGL.Renderer.lean, openGL.Renderer.lean,
opengl.Font, openGL.Font,
lace.Event, lace.Event,
lace.Response, lace.Response,
@@ -19,6 +19,7 @@ with
ada.Containers.Vectors; ada.Containers.Vectors;
package gel.Applet package gel.Applet
-- --
-- Provides an application model, configured with a single window. -- Provides an application model, configured with a single window.

View File

@@ -27,4 +27,5 @@ is
return ""; return "";
end to_String; end to_String;
end GEL; end GEL;

View File

@@ -1,11 +1,13 @@
with with
openGL, openGL,
Physics, Physics,
float_Math.Geometry.D2, float_Math.Geometry.D2,
float_Math.Geometry.D3, float_Math.Geometry.D3,
float_Math.Algebra.linear.D2, float_Math.Algebra.linear.D2,
float_Math.Algebra.linear.D3; float_Math.Algebra.linear.D3;
package GEL package GEL
-- --
-- A game engine library. -- A game engine library.
@@ -15,6 +17,7 @@ is
Error : exception; Error : exception;
-------- --------
--- Math --- Math
-- --
@@ -28,16 +31,18 @@ is
package linear_Algebra_3D renames linear_Algebra.D3; package linear_Algebra_3D renames linear_Algebra.D3;
--------------- ---------------
--- Constraints --- Constraints
-- --
max_Worlds : constant := 1000; max_Worlds : constant := 1_000;
max_Cameras : constant := 1000; max_Cameras : constant := 1_000;
max_graphics_Models : constant := 2**32 - 1; max_graphics_Models : constant := 2**32 - 1;
-- max_physics_Models : constant := 2**32 - 1; -- max_physics_Models : constant := 2**32 - 1;
max_Sprites : constant := 2**32 - 1; max_Sprites : constant := 2**32 - 1;
------- -------
--- Ids --- Ids
-- --