elexis
0d06fd00ab
Modern style cleanup.
...
Unify three textPanel style copies in a new ModernTextPanel theme,
following the Credits page in bcf2c75513 and the Splash Screen in
5ce5ef9286 and the Manual in 4b06ebd52d .
Remove the unused textcolor_selected and the (because of a source/gui
bug) defacto unused font property.
Rudimentary scrolling support for the Splash Screen.
Remove now empty files for the time being.
This was SVN commit r19992.
2017-08-18 19:33:05 +00:00
elexis
0c43deaae4
Modern style cleanup.
...
Rename ModernTabLabelText and ModernLeftTabLabelText following
dc2b2aeff4 and 5582409973 ,
because these common styles are not inherently recommended to be used by
Tab pages, nor do only Tab pages use it.
Remove the unused ModernRightTabLabelText introduced by 5582409973 .
This was SVN commit r19991.
2017-08-18 18:37:39 +00:00
elexis
f08ccf2a43
Remove unused ModernPanel style introduced by 5582409973 that duplicates some properties of the widely used ModernWindow.
...
This was SVN commit r19990.
2017-08-18 17:39:54 +00:00
elexis
0063aca6b5
Simplify Tab handling of the credits page.
...
Differential Revision: https://code.wildfiregames.com/D785
Reviewed By: Vladislav
This was SVN commit r19989.
2017-08-18 16:30:11 +00:00
bb
7e1646afd5
Fix the attack cursor when the target is outside FoW and restrictedClasses are specified in the attack component by miraging the restrictedClasses data.
...
refs: d5db047c9a
Differential Revision: https://code.wildfiregames.com/D750
Reviewed By: mimo
This was SVN commit r19987.
2017-08-16 17:59:58 +00:00
fatherbushido
d35fdbd542
Add some tests for Attack component. Some cleanup. Reviewed by Mate-86.
...
Differential Revision: https://code.wildfiregames.com/D782
This was SVN commit r19985.
2017-08-14 15:57:56 +00:00
mimo
36464f7fa7
a few petra cleanup, mainly useless parentheses
...
This was SVN commit r19984.
2017-08-14 11:16:04 +00:00
mimo
48c2e789b0
AI:fix typo spotted by s0600204, fixes #4720
...
This was SVN commit r19981.
2017-08-12 18:09:48 +00:00
elexis
cb18830a81
Remove CinemaManager input handler to allow user interaction on other GUI pages like message boxes and possibly few selected hotkeys.
...
Disable gameview/camera hotkeys while cinematic paths are playing.
Differential Revision: https://code.wildfiregames.com/D697
Refs #3301 , #3814 , 89aef0b6eb
Reviewed By: Vladislav
This was SVN commit r19980.
2017-08-12 10:32:07 +00:00
fatherbushido
1eca31cda6
Add a test for testing circular splash damage. That test would have protected for the regression introduced in 1fc4f55e38 and fixed in 1fc4f55e38. Reviewed by elexis.
...
Differential Revision: https://code.wildfiregames.com/D784
This was SVN commit r19979.
2017-08-12 08:59:05 +00:00
fatherbushido
ac84d5b2eb
Fix an oversight in 1fc4f55e38.
...
This was SVN commit r19978.
2017-08-12 06:52:25 +00:00
elexis
316a8848a0
Ignore few Ownership changes in the Selectable and RallyPointRenderer component.
...
Properly support capturing in the RallyPointRenderer component, even
though RallyPoints are typically deleted upon capturing.
Differential Revision: https://code.wildfiregames.com/D776
Refs D687
Reviewed By: Stan
This was SVN commit r19976.
2017-08-11 20:05:03 +00:00
mimo
756d3b4a7c
AI: remove some old unused functions
...
This was SVN commit r19975.
2017-08-11 19:26:39 +00:00
elexis
83528d0859
Allow Danubius CC attackers to actually use the secondary gates by leaving a gap there following d724347812 / D380.
...
This was SVN commit r19974.
2017-08-11 18:44:44 +00:00
elexis
00e7d49368
Profile Footprint calls that can easily consume 90% of the simtime on a turn ("sunken ship lag").
...
Differential Revision: https://code.wildfiregames.com/D778
Refs #4713
Reviewed By: Vladislav
This was SVN commit r19973.
2017-08-11 18:08:30 +00:00
elexis
fe9cc4a150
Don't spawn Danubius attackers (indefinitely) at the Gaia Civic Center if all targeted player buildings on that riverside were destroyed or captured by gaia.
...
Differential Revision: https://code.wildfiregames.com/D777
Fixes #4715
Reviewed By: bb
This was SVN commit r19972.
2017-08-11 17:05:32 +00:00
Imarok
1a792b31c9
[Summary] Move the resource total to the left
...
Reviewed by: bb
Differential Revision: https://code.wildfiregames.com/D775
This was SVN commit r19970.
2017-08-10 11:41:53 +00:00
fatherbushido
1fc4f55e38
Fix a confusion with 2D and 3D vector for linear splash damage which silently appeared in 4b7ab63172. Add back a comment and slightly change the related damaged area. Add a test for linear splash damage. Patch by temple.
...
Differential Revision: https://code.wildfiregames.com/D767
This was SVN commit r19969.
2017-08-10 08:10:09 +00:00
mimo
ced0a71782
Add a cost for unsuccessful bribe attempts.
...
Patch By: mmoanis
Reviewed By: mimo
Trac Tickets: #4623
Differential Revision: https://code.wildfiregames.com/D624
This was SVN commit r19967.
2017-08-09 16:09:34 +00:00
bb
e9a2334298
Make the buildTime tooltip return the correct value when worker with a rate different then 1 work on it.
...
Differential Revision: https://code.wildfiregames.com/D522
Patch By: temple
This was SVN commit r19966.
2017-08-09 11:19:15 +00:00
elexis
343ec21e75
Update the color of the selection ring, rallypoints and territory outline when the playercolor is changed in atlas.
...
Merge duplicate Selectable component playercolor code.
Differential Revision: https://code.wildfiregames.com/D687
Fixes #4643
Refs D623
Patch in cooperation with: Stan
This was SVN commit r19965.
2017-08-09 11:19:14 +00:00
Imarok
dde09b491a
Scythian Archer has no capture animation
...
Patch by: Stan
Fixes #4711
Differential Revision: https://code.wildfiregames.com/D771
This was SVN commit r19964.
2017-08-09 09:45:53 +00:00
fatherbushido
3d0bfc7e1b
Forgotten years replacement in 3a3bcca0c5.
...
This was SVN commit r19962.
2017-08-09 07:11:53 +00:00
s0600204
b80a255a0a
Purge all History strings from entity templates.
...
This is so when we mark them for translation (as we will do soon) our
wonderful translators are not inundated with a couple hundred new
strings, many of which will need to be changed
in some way.
Patch by: fatherbushido
Change agreed upon by: elexis
Prep work for: D297
Refs: #3212
This was SVN commit r19960.
2017-08-08 21:52:49 +00:00
fatherbushido
3a3bcca0c5
Refactor the code for cutting a circle into chords for textured line overlay in Selectable component. Don't compute useless arccos and avoid compound rounding errors. Reviewed by Itms.
...
Differential Revision: https://code.wildfiregames.com/D673
This was SVN commit r19959.
2017-08-08 17:48:44 +00:00
bb
1f42f65eb0
Restructure and cleanup the teamdata code for the summaryscreen
...
Fixes the 0 values for k/d, feminization and vegetarian ratio
Makes teams better displayed
Patch By: Imarok
Differential Revision: https://code.wildfiregames.com/D482
This was SVN commit r19958.
2017-08-08 14:20:24 +00:00
elexis
505a10cef6
Display rallypoints in the playercolor instead of plain blue.
...
Differential Revision: https://code.wildfiregames.com/D623
Fixes #4618
Patch By: Stan
This was SVN commit r19957.
2017-08-08 12:48:57 +00:00
elexis
c9c30b29b1
Only 2 relics by default, as having more makes it very unlikely to achieve the Capture The Relic victory.
...
Differential Revision: https://code.wildfiregames.com/D766
Reviewed By: Imarok
This was SVN commit r19956.
2017-08-08 11:35:01 +00:00
elexis
d2d43ab46f
Victory and defeat reason strings.
...
Clarify the victory / defeat reason by using a custom string for each
defeat and victory reason.
Group chat notifications instead of posting one for each player.
This also slightly improves lobby performance upon win.
Differential Revision: https://code.wildfiregames.com/D762
Fixes #4382
Based on patch by: Angen
This was SVN commit r19955.
2017-08-08 11:32:00 +00:00
fatherbushido
eff4e12656
Add unit tests for DeathDamage component. Refs 523ae47ee2.
...
Differential Revision: https://code.wildfiregames.com/D772
This was SVN commit r19954.
2017-08-08 11:12:56 +00:00
fatherbushido
ba71cf5ea9
Complete support of civ replacement in Builder list as in ProductionQueue list. Reviewed by s0600204.
...
Differential Revision: https://code.wildfiregames.com/D707
This was SVN commit r19952.
2017-08-07 20:00:29 +00:00
mimo
37c2f18b9e
Add AI engine function for template loading
...
Partial commit of https://code.wildfiregames.com/D639 , taken from
Sandarac patch
Reviewed by mimo
This was SVN commit r19951.
2017-08-07 19:35:43 +00:00
fatherbushido
523ae47ee2
Splash damage on death. When an entity dies, it can do a splash damage. Fire ship and fire raiser templates provided as example. Fix #1910 .
...
Patch by Mate-86.
Advices from leper.
Reviewed by fatherbushido.
Differential Revision: https://code.wildfiregames.com/D451
This was SVN commit r19950.
2017-08-07 12:38:57 +00:00
elexis
6e513069ad
GarrisonHolder simulation tests.
...
Differential Revision: D90 (style fixes committed in 1638727c23 )
Patch By: Stan
This was SVN commit r19949.
2017-08-07 11:26:18 +00:00
elexis
af274111b8
Fix detached heads of Spartan elite spearmen.
...
Differential Revision: https://code.wildfiregames.com/D752
Fixes #4686
Patch By: Stan
Reported in
https://wildfiregames.com/forum/index.php?/topic/22635-spartan-hoplite-headless/
Incidentally 83680b0dee replaced the reported headless unit bug with a
different headless unit bug.
This was SVN commit r19948.
2017-08-07 10:31:50 +00:00
elexis
9a5e1ddedb
Fix BSD and OSX build that don't provide the AT&T version of timezone used by 6141c5c4fa. Refs #3832 , D514.
...
Mostly reviewed by: leper
Tested on Windows by: Stan
This was SVN commit r19947.
2017-08-07 09:56:31 +00:00
mimo
79537fee3b
Fix AI error in ApplyEntitiesDelta()
...
Patch by Sandarac
Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D751
This was SVN commit r19945.
2017-08-05 17:27:06 +00:00
elexis
9641d0cdb0
Fix typo in 39fcd1d031 reported by Imarok.
...
This was SVN commit r19941.
2017-07-31 16:33:14 +00:00
s0600204
cdf6109713
Relocate and Rearrange the structree codebase
...
Makes it possible to reuse the more generic parts of the `structree`
codebase in other pages without including `structree`-specific logic.
This sets the stage for further reference/encyclopedia-type pages.
Reviewed By: fatherbushido, elexis
Differential Revision: https://code.wildfiregames.com/D295
This was SVN commit r19940.
2017-07-31 12:49:00 +00:00
fatherbushido
be5b300abd
Add a test for the DeriveModificationsFromTech script. It emphasizes the syntax to use for editing specific affects in technologies files. Reviewed by s0600204.
...
Differential Revision: https://code.wildfiregames.com/D696
This was SVN commit r19939.
2017-07-31 11:21:34 +00:00
leper
00fafda955
Stop copying the territory grid when recomputing the texture.
...
Before inlining territories it was changed to be a const reference, thus
avoiding the copy.
Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D741
This was SVN commit r19936.
2017-07-30 23:37:05 +00:00
Imarok
f1894418aa
Fix metal mines in latium
...
Reviewed by: FeXoR. Refs #4695 .
Differential Revision: https://code.wildfiregames.com/D486
This was SVN commit r19935.
2017-07-30 10:18:51 +00:00
leper
98d7763765
Remove code that doesn't do anything.
...
Reviewed By: Imarok
Differential Revision: https://code.wildfiregames.com/D743
This was SVN commit r19933.
2017-07-29 23:27:28 +00:00
leper
5ab426d621
Remove commented out code.
...
Reviewed By: Sandarac
Differential Revision: https://code.wildfiregames.com/D742
This was SVN commit r19932.
2017-07-29 23:27:14 +00:00
leper
781cec163e
Remove CTerritoryManager pointer from CWorld, a relic from before simulation2.
...
Patch By: Sandarac
Differential Revision: https://code.wildfiregames.com/D731
This was SVN commit r19931.
2017-07-29 23:27:02 +00:00
leper
27e5c5b25a
Mark a few functions const.
...
Reviewed By: Itms
Differential Revision: https://code.wildfiregames.com/D499
This was SVN commit r19930.
2017-07-29 23:26:44 +00:00
Imarok
a639050a41
Fix SimpleGroup and RandomGroup placement retries
...
Reviewed by: FeXoR. Fixes : #4294
Differential Revision: https://code.wildfiregames.com/D249
This was SVN commit r19929.
2017-07-29 21:02:09 +00:00
Imarok
3fca871fd6
Take gui.scale into account when repositioning tooltips
...
Patch by: joskar
Differential Revision: https://code.wildfiregames.com/D749
This was SVN commit r19928.
2017-07-29 18:30:59 +00:00
Imarok
1638727c23
Garrison Holder code style fixes
...
Reviewed By: Imarok, bb
Refs #4102 , D90
This was SVN commit r19927.
2017-07-29 17:19:58 +00:00
Imarok
7605b00c0e
Fix af0f74074e
...
This was SVN commit r19926.
2017-07-29 17:16:04 +00:00