1
0
forked from mirrors/0ad
Commit Graph

17432 Commits

Author SHA1 Message Date
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
Imarok af0f74074e StatusBar style cleanup
Reviewed By: elexis, bb
Differential Revision: https://code.wildfiregames.com/D719
This was SVN commit r19925.
2017-07-29 17:10:54 +00:00
fatherbushido 4a81397537 Remove the ApplyValueModifiationsToPlayer helper function which is redundant. Reviewed by bb.
Differential Revision: ​https://code.wildfiregames.com/D543
This was SVN commit r19924.
2017-07-29 17:04:01 +00:00
elexis 99b0362edf Bump version number to Alpha 23.
Differential Revision: https://code.wildfiregames.com/D758
Reviewed By: fatherbushido
This was SVN commit r19923.
2017-07-29 16:36:55 +00:00
Itms 816aab94fb Use Sunrise for Gauls.
This was SVN commit r19921.
a22
2017-07-16 08:42:00 +00:00
OmriLahav ad09018d0d This was SVN commit r19919. 2017-07-15 05:10:28 +00:00
elexis 9ec42a77a1 Play more music tracks.
Register the new track "Tale Of Warriors" from 11c6dec383 with the game.
Register "Calm Before the Storm" and "Tavern in the Mist",  which were
not heard in the previous releases.
Play some peace tracks for all civilizations, as intended by Omri (thus
play some music for observers too, refs #4298).
Add more background tracks to the menu as agreed with WhiteTreePaladin.
Keep "Honor Bound" the first one, as proposed by Itms and leper.
Add some tracks that are played only for one civ to other civs, to
reduce the repetition.
Remove duplicate, now unused music code.

Differential Revision: https://code.wildfiregames.com/D732
Fixes #4565.

This was SVN commit r19918.
2017-07-14 18:57:33 +00:00
Itms d56692d9e1 Rewrite the pathfinder dirtiness information system.
Remove all hacks while keeping most optimizations in memory management.
This fixes incomplete grid updates that could cause OOS on rejoin, fixes
#4596.

Tested by: elexis, ffffffff
Reviewers: leper, wraitii
Differential Revision: https://code.wildfiregames.com/D675
This was SVN commit r19916.
2017-07-14 10:09:32 +00:00
elexis 812750ddd7 Cathaginian and Ptolemian Brracks cost 300 resources, just like the other Barracks.
Differential Revision: https://code.wildfiregames.com/D725
Patch By: Grugnas
Reviewed By: borg-, temple
This was SVN commit r19914.
2017-07-13 12:32:15 +00:00
Itms 918a693f0f Update the list of bundled languages for A22.
This was SVN commit r19913.
2017-07-12 13:56:28 +00:00
elexis 930eff1f26 Remove unused function (from 0aaddf62aa) after the only call to it was removed in 78e9fecf92.
Refs #910, D736
Discussed with: Deiz, bb

This was SVN commit r19910.
2017-07-11 00:38:04 +00:00
elexis 81de8a2866 Fix JS error when pressing the unload key when not having selected a garrison holder.
Differential Revision: https://code.wildfiregames.com/D736
Fixes #4674
Patch By: bb
This was SVN commit r19909.
2017-07-10 23:56:31 +00:00
elexis cb268f4a8e The mercenary upgrade technology from D407 is not expected to affect Mercenary Champions since those can't take advantage of the tech.
String should be fixed after the release.

Differential Revision: https://code.wildfiregames.com/D734
Patch By: Grugnas
This was SVN commit r19908.
2017-07-10 22:12:44 +00:00
elexis 53eaef0746 Don't change the copyright headers of other software groups, as reported by leper.
Refs 43137fef3f / D716

This was SVN commit r19907.
2017-07-10 21:53:47 +00:00
elexis 9ba2ba7f5f Fix missing death animation of the rider of the celtic chariots.
Refs #4662, 83680b0dee
Patch By: Stan
This was SVN commit r19906.
2017-07-10 21:40:05 +00:00
elexis 64d1ea9817 Fix a typo in dd9a8706f9.
Differential Revision: https://code.wildfiregames.com/D735
Fixes #4673
Patch By: bb
This was SVN commit r19905.
2017-07-10 19:57:01 +00:00
elexis 37b1ddd2de Revert the Phalanx formation animation change from 83680b0dee that only causes the units to not have any animation while moving, for both Delenda Est and the public mod.
This was SVN commit r19904.
2017-07-10 18:33:45 +00:00
elexis dc12fe1869 Revert the production cost addition of peacocks in 83680b0dee since, contrary to Delenda Est, the mauryan corral (nor any other building) can currently train peacocks in the public mod.
This was SVN commit r19903.
2017-07-10 18:19:40 +00:00
mimo 5a7bf9daf4 Petra: Move land traders to safety when a trade route is destroyed instead of leaving them idle in the open
Patch by Sandarac

Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D730
This was SVN commit r19902.
2017-07-10 16:22:29 +00:00
mimo 5db17931c8 fix comment in 1196ececed
This was SVN commit r19901.
2017-07-10 16:19:13 +00:00
mimo 1196ececed protect possible infinite loop when an order is issued on the same turn as garrisoning is effectively processed
Reviewed By: O2 JS Simulation, elexis, s0600204, bb
Differential Revision: https://code.wildfiregames.com/D686
This was SVN commit r19900.
2017-07-10 16:10:50 +00:00
elexis 43137fef3f Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c).
Differential Revision: https://code.wildfiregames.com/D716
Refs 09e974e1cb
Reviewed By: bb
Change in agreement with leper.

This was SVN commit r19899.
2017-07-10 14:26:24 +00:00
elexis d49bf8b1bf Ensure the camera position being above the water level (without smoothing the water level with the terrain).
Differential Revision: https://code.wildfiregames.com/D700
Fixes #3892, D229, D638

This was SVN commit r19896.
2017-07-10 02:16:57 +00:00