Cosmetics.

This commit is contained in:
Rod Kay
2025-04-11 21:43:02 +10:00
parent 0e3e3c1d3d
commit 9693041373
10 changed files with 20 additions and 66 deletions

View File

@@ -24,6 +24,7 @@ is
Interfaces,
System;
-----------
-- Globals
--

View File

@@ -15,11 +15,6 @@ is
type Face is
record
texture_Details : texture_Set.Details;
-- Fades : texture_Set.fade_Levels (texture_Set.texture_Id) := [others => 0.0];
-- Textures : openGL.asset_Names (1 .. Positive (texture_Set.texture_Id'Last)) := [others => null_Asset]; -- The textures to be applied to the hex.
-- texture_Count : Natural := 0;
-- texture_Applies : texture_Set.texture_Apply_array := [others => True];
-- Animation : texture_Set.Animation_view;
end record;

View File

@@ -20,27 +20,9 @@ is
type Face is
record
texture_Details : texture_Set.Details;
-- Fades : texture_Set.fade_Levels (texture_Set.texture_Id) := [others => 0.0];
-- Textures : openGL.asset_Names (1 .. Positive (texture_Set.texture_Id'Last)) := [others => null_Asset]; -- The textures to be applied to the hex.
-- texture_Count : Natural := 0;
-- texture_Tiling : openGL.Real := 1.0; -- The number of times the texture should be wrapped.
-- texture_Applies : texture_Set.texture_Apply_array := [others => True];
-- Animation : texture_Set.Animation_view;
end record;
-- type Face is
-- record
-- Fades : texture_Set.fade_Levels (texture_Set.texture_Id) := [others => 0.0];
-- Textures : openGL.asset_Names (1 .. Positive (texture_Set.texture_Id'Last)) := [others => null_Asset]; -- The textures to be applied to the hex.
-- texture_Count : Natural := 0;
-- texture_Applies : texture_Set.texture_Apply_array := [others => True];
-- Animation : texture_Set.Animation_view;
-- end record;
---------
--- Forge
--

View File

@@ -62,17 +62,6 @@ is
-----------
--- Details
--
--
-- type Details is
-- record
-- Fades : fade_Levels (texture_Id) := [others => 0.0];
-- Textures : asset_Names (1 .. Positive (texture_Id'Last)) := [others => null_Asset]; -- The textures to be applied to the hex.
-- texture_Count : Natural := 0;
-- texture_Tiling : Real := 1.0; -- The number of times the texture should be wrapped.
-- texture_Applies : texture_Apply_array := [others => True];
-- Animation : Animation_view;
-- end record;
--
function to_Details (texture_Assets : in asset_Names;
Animation : in Animation_view := null) return Details

View File

@@ -45,8 +45,6 @@ is
Fade : fade_Level := 0.0;
Object : openGL.Texture.Object := openGL.Texture.null_Object;
Applied : Boolean := True; -- Whether this texture is painted on or not.
-- texture_Uniform : openGL.Variable.uniform.sampler2D;
-- fade_Uniform : openGL.Variable.uniform.float;
end record;
type fadeable_Textures is array (texture_Id range 1 .. max_Textures) of fadeable_Texture;