35 lines
1.2 KiB
Ada
35 lines
1.2 KiB
Ada
with core;
|
|
|
|
package effect is
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
type codex is (
|
|
none, one
|
|
);
|
|
|
|
------------------------------------------------------------------------------------------
|
|
|
|
type information is
|
|
record
|
|
name : core.short_string;
|
|
make : boolean;
|
|
end record;
|
|
|
|
------------------------------------------------------------------------------------------
|
|
|
|
count : constant natural := codex'pos (codex'last) + 1;
|
|
|
|
trait : constant array (codex) of information := (
|
|
("- ", true),
|
|
("- ", true)
|
|
);
|
|
|
|
------------------------------------------------------------------------------------------
|
|
|
|
procedure draw (value : in codex; x, y : in integer);
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
end effect;
|