text stringlengths 0 234 |
|---|
Put(" • • "); |
Put(Vertical_Line); |
Goto_XY(X_Start, Y_Start + I); |
end if; |
when 6 => |
Put(Vertical_Line); |
Put(" • • "); |
Put(Vertical_Line); |
Goto_XY(X_Start, Y_Start + I); |
when others => null; |
end case; |
end if; |
end loop; |
end dice; |
--------------------------------------------------------------------------------------------- |
--------------------------------------------------------------------------------------------- |
--------------------------------------------------------------------------------------------- |
procedure dice_placement (D1, D2, D3, D4, D5 : in Integer) is |
begin |
-- Only update dice if input is bigger than 0 |
if D1 > 0 then Dice(D1, 8 + 15 * 1, 38); end if; |
if D2 > 0 then Dice(D2, 8 + 15 * 2, 38); end if; |
if D3 > 0 then Dice(D3, 8 + 15 * 3, 38); end if; |
if D4 > 0 then Dice(D4, 8 + 15 * 4, 38); end if; |
if D5 > 0 then Dice(D5, 8 + 15 * 5, 38); end if; |
end dice_placement; |
--------------------------------------------------------------------------------------------- |
--------------------------------------------------------------------------------------------- |
--------------------------------------------------------------------------------------------- |
Procedure logo_background (X_Start, Y_Start : in Integer) is |
begin |
for X in 1..76 loop |
for Y in 1..9 loop |
Put(ASCII.ESC & logo_frame_bg); |
goto_xy((X_Start - 3 + X), (Y_Start - 2 + Y)); |
Put(' '); |
end loop; |
end loop; |
end logo_background; |
--------------------------------------------------------------------------------------------- |
--------------------------------------------------------------------------------------------- |
--------------------------------------------------------------------------------------------- |
--------------------------------------------------------------------------------------------- |
--------------------------------------------------------------------------------------------- |
--------------------------------------------------------------------------------------------- |
Procedure logo (X_Start, Y_Start : in Integer) is |
begin |
Set_Background_Colour(White); |
Set_Foreground_Colour(Blue); |
Set_Bold_Mode(on); |
goto_xy(X_Start, Y_Start); |
Put(" ____ ____ __ _________ ________ ____ ____ "); |
goto_xy(X_Start, Y_Start + 1); |
Put(' '); |
Put(Vertical_Line); |
Put("_ _"); |
Put(Vertical_Line, Times => 2); |
Put("_ _"); |
Put(Vertical_Line); |
Put(" / \ "); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.