Work on texturing and animation.

This commit is contained in:
Rod Kay
2025-04-09 00:19:38 +10:00
parent 1612ddf208
commit 0e3e3c1d3d
7 changed files with 141 additions and 68 deletions

View File

@@ -87,6 +87,29 @@ 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 := [1 => True, others => False];
Animation : Animation_view;
end record;
function to_Details (texture_Assets : in asset_Names;
Animation : in Animation_view := null) return Details;
--------
--- Item
--