xhads/source/might.ads

46 lines
1.4 KiB
Ada
Raw Normal View History

-- Copyright (c) 2024 - Ognjen 'xolatile' Milan Robovic
--
-- GNU General Public Licence (version 3 or later)
2024-02-15 21:03:09 -05:00
with core, effect;
package might is
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
type school is (
);
type enumeration is (
2024-02-15 21:03:09 -05:00
);
------------------------------------------------------------------------------------------
subtype level_limit is natural range 0 .. 6;
type information is record
2024-02-15 21:03:09 -05:00
name : core.short_string;
kind : school;
level : level_limit;
evoke : effect.enumeration;
2024-03-13 19:55:53 -04:00
text : core.long_string;
2024-02-15 21:03:09 -05:00
end record;
------------------------------------------------------------------------------------------
count : constant natural := enumeration'pos (enumeration'last) + 1;
trait : constant array (enumeration) of information := (
2024-02-15 21:03:09 -05:00
);
------------------------------------------------------------------------------------------
procedure configure;
procedure icon (index : in enumeration; x, y : in integer);
procedure view (index : in enumeration; x, y : in integer);
2024-03-11 16:36:42 -04:00
2024-02-15 21:03:09 -05:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
end might;