sm00thslp / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Some official team hats have no previews #874

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The following team hats (hats which are colored according team color) have no 
proper preview in the frontend:
- cap_team.png
- hair_team.png

All I see is just the hedgehog, but no hat. In the game itself, the hats are 
shown properly, of course.

What version of the product are you using? On what operating system?
0.9.20 on GNU/Linux, but there is no real difference on development version 
since only 3 hats were added since.

Please provide any additional information below.
I *think* this is more of a general problem in the frontend and not a problem 
specific to those 2 hats. Maybe there is a rationale behind the fact that those 
two image files are completely transparent on the left half.
Maybe a solution would be to show the preview differently for team hats. Maybe 
just showing them like they would appear in the game, but for a fixed example 
color, like red?

Original issue reported on code.google.com by almikes@aol.com on 19 Dec 2014 at 2:03

GoogleCodeExporter commented 9 years ago
Your suspicion is correct.
AFAIR the Qt-Frontend uses the first, so the top left, frame of the Hat file.

This was not changed/extended when Team hats were introduced and some team hats 
happen to not have anything in the top left frame at all.

The suggestion brought forward by you probably is the most reasonable/easy 
solution (other than changing the hat images that is) - the /perfect/ solution 
would be if the team hat preview would rotate through team colors ever half 
second or so :)

Original comment by sheepyluva on 21 Dec 2014 at 8:35