Commit Graph

14712 Commits

Author SHA1 Message Date
c5814ef76c Fixes tests adding system components without using the SYSTEM_ENTITY id - this caused assertion failures in debug builds
This was SVN commit r16803.
2015-06-21 19:22:12 +00:00
ae4dfe294d Actually state the file instead of the directory in some error messages.
This was SVN commit r16802.
2015-06-21 18:46:33 +00:00
5a0b9b0e70 Fix some issues found by static analysis (clang-analyzer and cppcheck).
This was SVN commit r16801.
2015-06-21 18:46:31 +00:00
caa8f51c2e Annotate custom assert for clang-analyzer.
This was SVN commit r16800.
2015-06-21 18:46:23 +00:00
30d96af5a2 a bit of cleanup in petra naval code
This was SVN commit r16799.
2015-06-20 20:49:31 +00:00
92832b1dc7 Petra fixes for naval maps
This was SVN commit r16797.
2015-06-19 21:09:41 +00:00
bbafed7fbf Lobby code cleanup.
This was SVN commit r16796.
2015-06-19 17:25:28 +00:00
cc4af6d2d4 Allies only share vision when researching a tech. Based on patch by niektb. Fixes #2055
This was SVN commit r16795.
2015-06-19 09:24:55 +00:00
1830c6346b Revert most of 989f164500, and add a comment to prevent people from making the same mistake.
This code used to make units with the pass class "ship-small" blocked
nearly everywhere.

This was SVN commit r16794.
2015-06-18 19:54:30 +00:00
eeee79e7f3 AI fix for building placement + some cleanings
This was SVN commit r16793.
2015-06-18 19:19:24 +00:00
c6ca83949c Prevent players from rejoining that were not present on game start. Patch by elexis. Fixes #3305.
This was SVN commit r16792.
2015-06-18 18:20:54 +00:00
9701a85554 Fix a possible problem with grid updates. Refs #3296.
This was SVN commit r16791.
2015-06-18 16:31:38 +00:00
e7707f0f0c Fix issue with OOS in replays. Patch by elexis
This was SVN commit r16790.
2015-06-18 15:29:03 +00:00
008fb80855 AI: remove code from old pathFinder
This was SVN commit r16789.
2015-06-17 21:03:49 +00:00
989f164500 Make the terrain analysis slightly more efficient for pathfinding passability classes, and fix a mistake introduced in 1709353e2c.
This was SVN commit r16787.
2015-06-17 20:48:41 +00:00
155c6e6ccd Properly initialize the AI pathfinder, and clean whitespace.
This was SVN commit r16786.
2015-06-17 20:35:23 +00:00
1c29b21b69 adapt the AI to 1709353e2c, fixes #3295
This was SVN commit r16785.
2015-06-17 20:30:57 +00:00
1709353e2c Changes the general behavior of non-pathfinding passability classes, in order to make the handling of foundation obstructions less difficult. This will allow the AI to be fixed, as reported in #3295.
Also some cleanup and comments updates.

Refs #3295.

This was SVN commit r16784.
2015-06-17 20:19:53 +00:00
4b8f0c9fb9 Change ResourceTrickle schema to match all other resource schemas. Patch by s0600204. Fixes #3303.
This was SVN commit r16783.
2015-06-17 15:26:06 +00:00
b8fce56821 Implement sortable columns for the gui, and use them in the lobby. Patch by Vladislav. Fixes #2405.
This was SVN commit r16781.
2015-06-17 09:10:50 +00:00
2ff4c60859 Adjusts some capturing parameters.
This was SVN commit r16779.
2015-06-16 19:41:08 +00:00
a568b42bf9 Code cleanup.
This was SVN commit r16778.
2015-06-16 14:35:16 +00:00
c8a5708654 Fix tests.
This was SVN commit r16777.
2015-06-15 19:48:42 +00:00
fcf7344537 Nerfs fire rate of garrisoned ships.
This was SVN commit r16776.
2015-06-15 16:39:42 +00:00
fdb99a5c8c Buffs melee cavalry HP.
This was SVN commit r16775.
2015-06-15 16:36:26 +00:00
dc97eeb5e5 Re-enables promotions.
This was SVN commit r16774.
2015-06-15 16:31:26 +00:00
8380b67f94 Move GUI schemas to the mod mod. Fix some validation related errors in the mod mod.
Check if the used directory exists before trying to add a validator.
Refs #245.

This was SVN commit r16773.
2015-06-15 16:00:26 +00:00
7887734ef0 Add attack notifications for capture attacks. Patch by Vladislav. Fixes #3257.
This was SVN commit r16772.
2015-06-15 01:16:51 +00:00
68ea5f37f4 Remove unused ctors. Fixes compilation with GCC 4.6.
This was SVN commit r16771.
2015-06-14 23:50:38 +00:00
4af117434d Fixes clang unused parameter warning
This was SVN commit r16770.
2015-06-14 23:45:15 +00:00
25a7d79d1e FIXE ERROR: CCmpPosition::GetPosition called on entity when IsInWorld is false, when you save a map with garrisoned units, thx to daniel for report
This was SVN commit r16769.
2015-06-14 22:17:39 +00:00
0a67de37bc Fixes clang warning about unknown warning group -Wunused-but-set-variable
This was SVN commit r16768.
2015-06-14 21:07:42 +00:00
47b4530245 Replaces usage of readlink -f in update-workspaces.sh with a perl one-liner, for compatibility with BSD and OS X, fixes #916
This was SVN commit r16767.
2015-06-14 20:43:12 +00:00
2128cfbcb8 Updates readme.txt with new visual replay option, refs #9
This was SVN commit r16765.
2015-06-14 19:59:19 +00:00
473b282265 Refactor the grid update code. Should give a significant performance boost to the simulation update.
Also fixes some bad code that could lead to hidden bugs.

Fixes #3296, thanks elexis for testing ;)

This was SVN commit r16764.
2015-06-14 19:22:07 +00:00
0e7f0f861b Fixes A19 map converter script to be compatible with Python 2 (uses struct instead of to_bytes and from_bytes)
This was SVN commit r16763.
2015-06-14 17:53:12 +00:00
d676b047a0 Move ~LongPathfinder after the declaration of LongOverlay.
Also improve the style.

This was SVN commit r16762.
2015-06-13 21:02:01 +00:00
c3546cbf51 Fixes Polybolos template inconsistencies.
Fixes Palisade Angle Spike obstruction size failing new minimum
requirement.

This was SVN commit r16761.
2015-06-13 19:01:59 +00:00
6b9b863747 Increases fortress build time and cost and nerfs attack and armour of crush-dealing Mauryan champion swordsmen.
This was SVN commit r16760.
2015-06-13 16:50:01 +00:00
d52a71ae31 Nerfs ranged units, though to a lesser extent for skirmishers/javelinists.
This was SVN commit r16759.
2015-06-13 16:48:37 +00:00
a9ac2edce5 Decrases phasing time and costs.
This was SVN commit r16758.
2015-06-13 16:46:29 +00:00
e5419cf19b Decreases HP of peacocks and both HP and crush armour of female citizens.
This was SVN commit r16757.
2015-06-13 16:44:47 +00:00
2a657a7eb7 Fix changing ownership to -1
This was SVN commit r16756.
2015-06-13 13:02:10 +00:00
204dcf201c Improve ownership changes by only giving the cp of the old owner to the new owner.
This was SVN commit r16755.
2015-06-13 09:53:15 +00:00
30efa73a38 FIX error: comparison between pointer and integer ('IReplayLogger *' and 'int') introduced in [16727] over osx
This was SVN commit r16754.
2015-06-13 02:42:21 +00:00
534b8076e4 Petra: check if the location of a new foundation is under enemy fire (only implemented for some structures for the time being)
This was SVN commit r16753.
2015-06-12 20:30:25 +00:00
6581796103 New long-range pathfinder.
Based on Philip's work located at
http://git.wildfiregames.com/gitweb/?p=0ad.git;a=shortlog;h=refs/heads/projects/philip/pathfinder
Includes code by wraitii, sanderd17 and kanetaka.

An updated version of docs/pathfinder.pdf describing the changes in
detail will be committed ASAP.

Running update-workspaces is needed after this change.

Fixes #1756.
Fixes #930, #1259, #2908, #2960, #3097
Refs #1200, #1914, #1942, #2568, #2132, #2563

This was SVN commit r16751.
2015-06-12 18:58:24 +00:00
aa1512a662 code cleaning in petra
This was SVN commit r16750.
2015-06-11 20:11:08 +00:00
1442b7e913 Petra: fix some capture cases not handled by 61f3d80ab0
This was SVN commit r16749.
2015-06-11 19:20:52 +00:00
fd3d697edf Make it easier to add different backgrounds
This was SVN commit r16747.
2015-06-11 09:08:46 +00:00