equal
deleted
inserted
replaced
15 |
15 |
16 In the default Hedgewars installation, most hats are normal hats, and many hats are animated. |
16 In the default Hedgewars installation, most hats are normal hats, and many hats are animated. |
17 Examples for team hats in the default Hedgewars installation are `cap_team` and `hair_team`. |
17 Examples for team hats in the default Hedgewars installation are `cap_team` and `hair_team`. |
18 |
18 |
19 == Data structure == |
19 == Data structure == |
20 Hats are specified as PNG files with alpha channel. |
20 Hats are specified as PNG files with alpha channel (transparency). |
21 They consist of a set of sub-images of a size 32px×32px each. |
21 They consist of a set of sub-images of a size 32px×32px each. |
22 Hedgewars counts the sub-images, or animation frames, from top-left to |
22 Hedgewars counts the sub-images, or animation frames, from top-left to |
23 bottom-left, then it goes on with the next column, etc. |
23 bottom-left, then it goes on with the next column, etc. |
24 |
24 |
25 === Static normal hats === |
25 === Static normal hats === |