瀏覽代碼

Added 6 faction-based home constructions and their data...

master
父節點
當前提交
381d088268
共有 14 個檔案被更改,包括 8 行新增8 行删除
  1. +1
    -1
      source/construction.adb
  2. +7
    -7
      source/construction.ads
  3. 二進制
      sprite/construction/dwarf/a.png
  4. 二進制
      sprite/construction/dwarf/house.png
  5. 二進制
      sprite/construction/fairy/b.png
  6. 二進制
      sprite/construction/fairy/cottage.png
  7. 二進制
      sprite/construction/gnoll/c.png
  8. 二進制
      sprite/construction/gnoll/shack.png
  9. 二進制
      sprite/construction/goblin/d.png
  10. 二進制
      sprite/construction/goblin/hut.png
  11. 二進制
      sprite/construction/imp/den.png
  12. 二進制
      sprite/construction/imp/e.png
  13. 二進制
      sprite/construction/kobold/f.png
  14. 二進制
      sprite/construction/kobold/homestead.png

+ 1
- 1
source/construction.adb 查看文件

@@ -29,7 +29,7 @@ package body construction is

procedure draw (index : in enumeration; x, y : in integer) is
begin
core.draw (sprite (index), x, y, trait (index).frames, 1);
core.draw (sprite (index), x, y);
end draw;

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


+ 7
- 7
source/construction.ads 查看文件

@@ -9,7 +9,7 @@ package construction is
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

type enumeration is (
a, b, c, d, e, f
house, cottage, shack, homestead, hut, den
);

------------------------------------------------------------------------------------------
@@ -27,12 +27,12 @@ package construction is
count : constant natural := enumeration'pos (enumeration'last) + 1;

trait : constant array (enumeration) of information := (
("A ", faction.dwarf, (others => 0), 1, effect.none),
("B ", faction.fairy, (others => 0), 1, effect.none),
("C ", faction.gnoll, (others => 0), 1, effect.none),
("D ", faction.goblin, (others => 0), 1, effect.none),
("E ", faction.imp, (others => 0), 1, effect.none),
("F ", faction.kobold, (others => 0), 1, effect.none)
("Dwarf House ", faction.dwarf, (others => 0), 1, effect.none),
("Fairy Cottage ", faction.fairy, (others => 0), 1, effect.none),
("Gnoll Shack ", faction.gnoll, (others => 0), 1, effect.none),
("Kobold Homestead ", faction.kobold, (others => 0), 1, effect.none),
("Goblin Hut ", faction.goblin, (others => 0), 1, effect.none),
("Imp Den ", faction.imp, (others => 0), 1, effect.none)
);

------------------------------------------------------------------------------------------


二進制
sprite/construction/dwarf/a.png 查看文件

Before After
Width: 16  |  Height: 16  |  Size: 306B

二進制
sprite/construction/dwarf/house.png 查看文件

Before After
Width: 48  |  Height: 32  |  Size: 466B

二進制
sprite/construction/fairy/b.png 查看文件

Before After
Width: 16  |  Height: 32  |  Size: 626B

二進制
sprite/construction/fairy/cottage.png 查看文件

Before After
Width: 48  |  Height: 32  |  Size: 502B

二進制
sprite/construction/gnoll/c.png 查看文件

Before After
Width: 16  |  Height: 16  |  Size: 336B

二進制
sprite/construction/gnoll/shack.png 查看文件

Before After
Width: 48  |  Height: 32  |  Size: 753B

二進制
sprite/construction/goblin/d.png 查看文件

Before After
Width: 16  |  Height: 16  |  Size: 294B

二進制
sprite/construction/goblin/hut.png 查看文件

Before After
Width: 48  |  Height: 32  |  Size: 810B

二進制
sprite/construction/imp/den.png 查看文件

Before After
Width: 48  |  Height: 32  |  Size: 588B

二進制
sprite/construction/imp/e.png 查看文件

Before After
Width: 16  |  Height: 16  |  Size: 402B

二進制
sprite/construction/kobold/f.png 查看文件

Before After
Width: 16  |  Height: 16  |  Size: 347B

二進制
sprite/construction/kobold/homestead.png 查看文件

Before After
Width: 48  |  Height: 32  |  Size: 564B

Loading…
取消
儲存