1
0
forked from 0ad/0ad
Commit Graph

15747 Commits

Author SHA1 Message Date
eeb07d8231 Don't show bridges on minimap, and don't let them change ownership
This was SVN commit r17989.
2016-04-06 11:44:05 +00:00
fd4e899f11 Remove useless History tags from the templates in preparation of #3212
This was SVN commit r17988.
2016-04-06 09:53:53 +00:00
ccf0f74970 Random-map-script cleanup.
Flatten 37 variables into 3 objects and give them proper names.

This was SVN commit r17987.
2016-04-05 22:32:51 +00:00
138724ce0f Random-map-script cleanup.
Rename biomeID to g_BiomeID.

This was SVN commit r17986.
2016-04-05 18:49:37 +00:00
5744c2c6b0 petra: improve warning and warn only once when garrisonManager gets muddled
This was SVN commit r17985.
2016-04-05 18:44:15 +00:00
7029ddc2dd fix autostart in maps with gaia in PlayerData, fixes #3880
This was SVN commit r17984.
2016-04-05 18:21:10 +00:00
8b0d24048a First unit test for auras
This was SVN commit r17983.
2016-04-05 15:28:38 +00:00
4be96ece08 Implement stackable auras + fix an issue with techs, auras and ownership changes. Patch by fatherbushido. Fixes #3792
This was SVN commit r17982.
2016-04-05 14:13:44 +00:00
70a3201b23 Remove triple X comment pollution from maps.
This was SVN commit r17981.
2016-04-05 11:53:05 +00:00
62b7c07353 Remove unused author and version tag from ardennes forest.
This was SVN commit r17980.
2016-04-05 11:22:16 +00:00
bfa94b87ae Bumps up version number.
This was SVN commit r17978.
2016-04-04 21:20:45 +00:00
a7806675fb This was SVN commit r17977. 2016-04-04 21:18:58 +00:00
6c3964f52a Cleanup of SoundGroup XML files.
Remove some useless settings using the default values.
Remove the obsolete <Replacement> tag.
Update some documentation in the code, fix whitespace and unify line
endings.

Patch by otero, fixes #3268

This was SVN commit r17976.
2016-04-04 20:54:48 +00:00
2a11d3ca7b Interpolate cinematic camera rotation + allow more points in cinematic path + add comments. Patch by Vladislav. Refs #3814
This was SVN commit r17975.
2016-04-04 20:31:18 +00:00
46ead523b8 Cleanup of the Auras code in preparation of stackable auras. Implements auras being enabled by techs. Refs #3792. Patch by fatherbushido
This was SVN commit r17974.
2016-04-04 18:55:44 +00:00
d7b62e0af7 cleanup of the ai api, with removal of some old stuff
This was SVN commit r17973.
2016-04-04 18:12:48 +00:00
f057eb5aba petra now uses corrals on maps with low starting resources
This was SVN commit r17971.
2016-04-03 09:16:14 +00:00
63fad07905 nerf a bit wall towers
This was SVN commit r17970.
2016-04-03 09:13:13 +00:00
1d0c0e00e5 allows destroying animals when controlAllUnits is set
This was SVN commit r17969.
2016-04-02 14:58:31 +00:00
8211f95978 petra cleanup
This was SVN commit r17968.
2016-04-02 14:49:08 +00:00
18960ddcf8 fix petra training of support units, fixes #3864
This was SVN commit r17967.
2016-04-02 14:23:14 +00:00
42b93c45b8 fix playerData of Forest Battle map
This was SVN commit r17966.
2016-04-02 14:21:20 +00:00
3f1b30a8e3 Update Translators credits and add texane to the list of contributors (refs #3863).
This was SVN commit r17964.
2016-03-28 00:23:04 +00:00
a517184150 Update the creditTranslators script for the A20 languages.
This was SVN commit r17963.
2016-03-28 00:18:13 +00:00
d3255168b9 enet backward-compatibility fix, refs #2854. Patch by texane, fixes #3863.
This was SVN commit r17960.
2016-03-27 23:27:37 +00:00
373107898c Update the list of included languages for A20: Bulgarian, Hungarian and Swedish get in the team!
This was SVN commit r17959.
2016-03-27 22:08:25 +00:00
ad34950780 Add a missing check to 347ffabaeb as the previous one throws errors in case a dead sheep lies in the selection rectangle.
Thanks bb for reporting, refs #2407.

This was SVN commit r17957.
2016-03-27 12:46:18 +00:00
6b2a3bb549 Translate the "Observer" choice in the observer mode player selection dropdown.
This was SVN commit r17956.
2016-03-26 19:19:49 +00:00
c777e34cba Properly fix the typo mentioned in 91ed318f0d. The ++i in the for loop already increments i so doing it once more is not wanted.
Fixes #3854.

This was SVN commit r17955.
2016-03-26 13:25:51 +00:00
6b212dc6ad Fix promotion of barrack champions for the Macedonians. Fixes #3853. Patch by fatherbushido.
This was SVN commit r17954.
2016-03-26 11:21:49 +00:00
b0c74fdaa0 petra: fix a misbehaviour spotted by sanderd17, when the defenseManager tries to rescue units performing an attack
This was SVN commit r17953.
2016-03-25 18:21:13 +00:00
c5ede78373 Require players to own a wonder for 10minutes (instead of 5) before declaring them the winner of wonder-victory games.
This was SVN commit r17952.
2016-03-25 18:05:19 +00:00
6f0d0ff8f4 Round max hp of units in simulation. Refs #3855
This was SVN commit r17951.
2016-03-25 12:51:48 +00:00
e8decfbd2b Amend fdf7dabe18: the foundation component won't exist for a mirage (foundation inside the fog-of-war) so the miraged interface to it should be queried.
Fixes #3849.

This was SVN commit r17949.
2016-03-24 21:48:15 +00:00
aa64a92d1a Ignore production hotkeys for observers instead of throwing errors on press.
This was SVN commit r17948.
2016-03-24 21:26:34 +00:00
350422dcae Fix whitespace (leading mixed whitespace, trailing whitespace and missing newlines).
Remove three unused variables area, ix and iz.
Thanks mimo for reporting.

This was SVN commit r17947.
2016-03-24 15:53:53 +00:00
66267cb714 Remove a check for an edge case where the entrance of a bluff would be cutoff by the players territory.
Instead, reserve some space at the bottom of the slope for an entrance.
Finetune the terrain textures of bluffs depending on the biome.
Patch by _kali, refs #3455.

This was SVN commit r17946.
2016-03-24 15:34:36 +00:00
6312b71911 Improve the resource distribution on the map "Ambush" and maps using bluffs in general. Based on patch by _kali, refs #3455.
Bluffs:
Cover half instead of most of the area of bluffs with forests (to allow
placing CCs / forts there).
Proportionally reduce the likelyhood of placing metal/stone on bluffs.
Compensate the absence of forests on the savanna biome with more
straggler trees.

Ambush:
Place forests also on the mainland (so that players are not immediately
forced to expand to bluffs).
Reduce the amount of berries and animals a bit following 91e8248273.

This was SVN commit r17945.
2016-03-24 14:54:47 +00:00
ebfd214a19 Return Infinity instead of undefined in BuildingAI.GetMaxArrowCount. Refs #3196, #3846 and 82fa9d8f5b.
Notice the previous check `if (count > this.GetMaxArrowCount())`
implicitly relied on
numerical comparisons returning false if one of the two arguments is
undefined.

This was SVN commit r17944.
2016-03-24 13:25:47 +00:00
58d3425ad4 Reduce the number of lobby gamelist updates by roughly 60-80% by eliminating duplicate packets, refs #3847.
This was SVN commit r17943.
2016-03-24 12:08:00 +00:00
572847ddd4 Revert 1f34a004e5.
It breaks the Windows build by using time_t and it changes too many
things to the way lobby messages are processed to be entirely safe to
commit now.
Refs #3832.

As a side effect it reverts e514aca599, refs #3350.

This was SVN commit r17941.
2016-03-23 21:58:23 +00:00
c58bbfaa14 Select observer for defeated players, but keep the current player selected on win.
This was SVN commit r17940.
2016-03-23 13:49:59 +00:00
82fa9d8f5b Fix counting issue with previous commit
This was SVN commit r17939.
2016-03-23 10:01:27 +00:00
63d276b73b Fix counting of arrows in buildings: don't remove entities twice from the garrisonholder. Fixes #3846
This was SVN commit r17938.
2016-03-23 09:04:02 +00:00
e7deb587bb Random-map-script cleanup.
Use constants when checking for the biome type.
Remove unused code for nonexistent biomeID 0 from gaia.js.

This was SVN commit r17937.
2016-03-23 03:05:39 +00:00
cfb8a6e30e Fix confusion between concat and push in map Frontier, patch by _kali.
This was SVN commit r17936.
2016-03-23 02:06:06 +00:00
fc14e733bd Change an Object into a Map, this should stop the deserializer of reordering the keys in some cases and stop an OOS on rejoining. Refs #3375
This was SVN commit r17935.
2016-03-22 20:57:27 +00:00
c43ce2ca55 cleanup of missing semicolon
This was SVN commit r17934.
2016-03-21 20:33:05 +00:00
1a02684cf7 Check for GUID, as the playerIndex doesn't distinguish between observers. Refs #1767.
(Avoid private messages where sender and addressee are identical).

This was SVN commit r17933.
2016-03-21 18:58:52 +00:00
f8d05ed5c3 fix petra serialization (add two variables forgotten, and remove two useless ones)
This was SVN commit r17932.
2016-03-21 18:15:39 +00:00