Commit graph

11 commits

Author SHA1 Message Date
Angen
bcf329a884 Shrink selection panel icons
Current gui has no space for more structures/formations to be displayed
and some
civilisations are very close to hit this limit.
Alternative would be scrolling option or pages, but until then this is
acceptable solution.

Differential Revision: https://code.wildfiregames.com/D2875
Patch by: Nescio
Reviewed by: Angen, geneva55
Comments by: wraitii, Stan
This was SVN commit r24028.
2020-09-07 17:36:44 +00:00
elexis
b859195064 Decouple panel entities code from session code and use class notation, refs #5387, #3000, #1902, #1802, d7d1d8ccb5.
Change the logic to only insert/delete buttonhandlers on ownershipchange
and update only the entitystate dependent part on simulation update.

Differential Revision: https://code.wildfiregames.com/D2387
This was SVN commit r23089.
2019-10-22 17:53:22 +00:00
elexis
688a2a00a8 Move researched tech progress overlay to a separate file, use class notation, refs #5387.
Improves performance if no techs are researched from 200 to 50
microseconds per turn (from 500 to 300 microseconds for one tech etc).

Differential Revision: https://code.wildfiregames.com/D2386
This was SVN commit r23088.
2019-10-21 23:05:04 +00:00
elexis
702cdbf0c7 Remove GUI object setting values z="0", size="0 0 100% 100%", hidden="false" in XML page specifications that are redundant with the default style values.
Remove question by brian in single_details_area.xml from b66d1716e7
which is answered by "because the style set it".
Delete BuildNameText style, because it specifies ghost="true" in both
style and sole object using the style.
Don't touch progressbar and structree styles, because there is more to
clean.

Differential Revision: https://code.wildfiregames.com/D2292
This was SVN commit r22957.
2019-09-21 15:54:25 +00:00
temple
6ea532298e Add a countdown timer to the research progress panel
Suggested by: fpre/ffffffff
Reviewed by: elexis, ffffffff
Comments by: vladislavbelov
This was SVN commit r21307.
2018-02-21 19:56:37 +00:00
elexis
4aff6078c9 Display all heroes and relics in the top panel when chosing the "Observer" perspective.
Differential Revision: https://code.wildfiregames.com/D814
Agreed with: Hannibal_Barca, fpre / ffffffff

This was SVN commit r20050.
2017-08-27 16:37:57 +00:00
elexis
1b3f92d6e4 Display relics in the hero panel.
Rename the buttonset to panelEntities and unify related health tooltips.

Differential Revision: https://code.wildfiregames.com/D289
Reviewed By: Sandarac
Refs #3000

This was SVN commit r19398.
2017-04-09 23:10:50 +00:00
elexis
d7d1d8ccb5 Implement buttons for up to 10 heroes. Patch by Clockwork-Muse, fixes #3000.
This was SVN commit r18361.
2016-06-11 13:46:04 +00:00
sanderd17
d21c0026ec Add optional ceasefire time to the game. Patch by elexis. Fixes #2749
This was SVN commit r16624.
2015-05-05 13:38:36 +00:00
leper
e0606468df Translate some tooltips as plurals. Unify aura tooltip code.
This was SVN commit r16571.
2015-04-23 18:58:39 +00:00
sanderd17
1307a9038a Split the selection panels in session.xml into multiple xml files
This was SVN commit r15388.
2014-06-18 13:03:59 +00:00