|
|
@@ -20,7 +20,12 @@ procedure main is |
|
|
|
preview_height : integer := 0; |
|
|
|
text_box_height : integer := 0; |
|
|
|
|
|
|
|
player : chad.information := chad.trait (chad.ognjen); |
|
|
|
player : chad.data := ( |
|
|
|
index => chad.ognjen, |
|
|
|
attributes => (1, 2, 3, 4, 5, 6), |
|
|
|
skills => (1, 2, 3, 4, 5, 6, others => 12), |
|
|
|
resources => (1, 2, 3, 4, 5, 6) |
|
|
|
); |
|
|
|
|
|
|
|
------------------------------------------------------------------------------------------ |
|
|
|
|
|
|
@@ -47,10 +52,11 @@ procedure main is |
|
|
|
); |
|
|
|
|
|
|
|
game_title : sprite; |
|
|
|
game_preview : array (world.biome) of sprite; -- sand, grass, rough, snow, swamp |
|
|
|
game_preview : array (world.biome) of sprite; |
|
|
|
|
|
|
|
switch : natural := 0; |
|
|
|
choose : world.biome := world.ash; |
|
|
|
choose : world.biome := world.grass; |
|
|
|
|
|
|
|
------------------------------------------------------------------------------------------ |
|
|
|
|
|
|
|
procedure check_move_camera_up is |
|
|
@@ -144,7 +150,8 @@ procedure main is |
|
|
|
-- |
|
|
|
if view_list (status_preview_panel) then |
|
|
|
ui.draw_tiny_menu (preview_width, 0, side_panel, preview_height); |
|
|
|
ui.draw_state_box (preview_width + 32, 32); |
|
|
|
chad.draw_data (player, preview_width + 32, 32); |
|
|
|
--~ui.draw_state_box (preview_width + 32, 32); |
|
|
|
end if; |
|
|
|
-- |
|
|
|
if view_list (text_box_panel) then |
|
|
@@ -245,6 +252,8 @@ begin |
|
|
|
main_menu; |
|
|
|
end loop main_menu_loop; |
|
|
|
|
|
|
|
ui.active := ui.style'val (faction.enumeration'pos (chad.trait (player.index).kind) + 1); |
|
|
|
|
|
|
|
gameplay_loop: loop |
|
|
|
synchronize; |
|
|
|
-- |
|
|
|