Merge lp:~widelands-dev/widelands/buildicon_playercolors into lp:widelands
Status: | Merged |
---|---|
Merged at revision: | 6909 |
Proposed branch: | lp:~widelands-dev/widelands/buildicon_playercolors |
Merge into: | lp:widelands |
Diff against target: |
202 lines (+60/-37) 4 files modified
src/constants.h (+3/-0) src/graphic/animation.h (+4/-3) src/graphic/image_transformations.cc (+18/-2) src/wui/fieldaction.cc (+35/-32) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/buildicon_playercolors |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Widelands Developers | Pending | ||
Review via email: mp+211401@code.launchpad.net |
Description of the change
Ok, new try for the player-colored build-icons. Now with the code merged by the sprite-maps branch.
We now have one main advantage - we really do not need all those menu.png for the buildings anymore.
But there are two disadvantages - some of the icons are really barely distinguishable from the background, like the Barbarian Well; and the details of the large buildings somehow distract the eye in the menu, but this could also only be me.
I can imagine making the menu slightly bigger allowing for bigger buttons (like 50x50px). But the problem with the Well persists.
Before merging, we need to remove all menu.png in the tribes (not done yet, I just want code and design review; if you approve, I will remove those files and the sources related to them).
looks good and works great. I changed the code to use get_animation( "idle") instead of main_animation() - which should probably be removed anyways. I also dropped a NOCOM(#qcs) for you.
I would also suggest doing a side by side comparison between the new menu and the old to see if quality has decreased before submitting.
When you remove the menu.png, keep in mind that they sometimes are used as idle animation too - so you'll need to check the conf files real quick too.
I suggest making the images bigger - resolutions have changed over the years. But that can be done separately if you prefer.