56baae08c3
Fix action-capture icon transparency and optimize with optipng -o 5 and advdef -z -4
...
Refs: #2823
This was SVN commit r17230.
2015-11-11 13:34:15 +00:00
06cb37ff74
Add PlanNextStep back to the unitMotion, in a completely different version. This basically anticipates where we'll probably move next, and checks if static units might block us. Makes paths look slightly better.
...
This was SVN commit r17229.
2015-11-11 13:29:06 +00:00
607955489d
Check if units are in the world in UnitRenderer::PickAllEntitiesAtPoint. Probably fixes #3587 , though I'm not sure as it proved unreproducible.
...
This was SVN commit r17228.
2015-11-11 13:27:13 +00:00
1b00bfc98d
Change the capture icon to something that looks like two flags instead of a weird red blob. Icon by Stan.
...
This was SVN commit r17227.
2015-11-11 13:24:41 +00:00
3b13fb7608
Improve unitMotion behavior. When a unit's path is obstructed, it will now try shortpathing around an increasingly large search range, to optimize behavior in trivial cases where it just needs to go around a unit.
...
Also stop trying too hard when we are close to the destination and our
only order is to move there.
This should result in a slight optimization of the behavior, as well as
slightly more sanity overall.
This was SVN commit r17226.
2015-11-11 12:49:24 +00:00
3ddd72c1a4
Fix a rare case where units might get stuck around other idle entities, and clarify a related comment.
...
Refs #3471
This was SVN commit r17225.
2015-11-11 12:28:38 +00:00
c42160ec10
Fix an issue where units could not go around large obstructions when short-pathing as it ran in the search-space "walls", reported by gamebot. Fixes #3593 .
...
This is also a very slight optimization.
This was SVN commit r17224.
2015-11-11 12:23:11 +00:00
2f6f0bd477
Serialize everything that is needed by UpdateVisibilityData instead of assuming everything as dirty.
...
Fixes #3271 .
This was SVN commit r17223.
2015-11-11 12:15:57 +00:00
8b0bca0556
Fix action-capture icon transparency.
...
Refs: #2823
This was SVN commit r17222.
2015-11-11 11:45:39 +00:00
9e0ef737b2
Fix Athenian town phase description.
...
This was SVN commit r17219.
2015-11-11 03:27:38 +00:00
5f7ce1089a
Fix translation comments.
...
This was SVN commit r17218.
2015-11-11 03:27:34 +00:00
32da740f14
Allow kicking/banning players from gamesetup and session. Patch by elexis. Fixes #3241 .
...
This was SVN commit r17217.
2015-11-11 02:05:23 +00:00
d3ff090ce7
Fix an OOS issue where, on ownership change, units affected by speed-modifying technologies did not update their speed.
...
This was SVN commit r17215.
2015-11-10 23:31:06 +00:00
f0deeab899
Rename commands to g_Commands.
...
This was SVN commit r17213.
2015-11-09 23:25:34 +00:00
51ec6f4728
improve function RasterizeRectWithClearance, about 40% faster, ref #3588
...
This was SVN commit r17212.
2015-11-09 21:16:46 +00:00
35b0478f70
Improve Mauryan corral specific name. Patch by stanislas69. Fixes #3555 .
...
This was SVN commit r17211.
2015-11-09 16:49:53 +00:00
0ba9fa1cc1
Optimize RasterizeRectWithClearance slightly further. Thanks mimo for noticing.
...
This was SVN commit r17209.
2015-11-08 18:08:49 +00:00
313d324fac
Fix some cases of unit "dancing". Thanks to Elexis for nagging me.
...
This was SVN commit r17208.
2015-11-08 17:55:23 +00:00
fe040c695f
Change the shape rasterization to not use DistanceToSquare, which often called sqrt. This apparently reduces total turn time by as much as 5% (!)
...
Refs #3368
This was SVN commit r17207.
2015-11-08 17:24:59 +00:00
cb025bb725
Removes extraneous check from XpartaMuPP. Fixes #3568 .
...
This was SVN commit r17206.
2015-11-08 17:09:59 +00:00
dd6d09521c
Not sure how but I messed up the previous commit.
...
This was SVN commit r17205.
2015-11-08 16:44:08 +00:00
42d0e6d46e
Optimize the hierarchical pathfinder's "makeGoalReachable" slightly. Does not affect simulation results.
...
This was SVN commit r17204.
2015-11-08 16:39:43 +00:00
cd025b2069
fix typo
...
This was SVN commit r17203.
2015-11-08 13:09:49 +00:00
7c2f178634
petra: do not try to train females if not available in templates, only a temporary fix waiting for #3586
...
This was SVN commit r17202.
2015-11-08 13:05:56 +00:00
8f00293a58
Assign proper alternatives to some terrian materials. Fixes #3585
...
This was SVN commit r17200.
2015-11-07 19:43:41 +00:00
d569fe63b4
petra: don't loose time approaching a target entity if it was captured in the meantime
...
This was SVN commit r17199.
2015-11-07 18:12:55 +00:00
c319ff062d
Partial fix to a formation "gliding" issue, unsure so far what is causing this.
...
This was SVN commit r17198.
2015-11-07 17:36:31 +00:00
3163c9d4a2
Fix a rare issue with the short-range pathfinder where units took odd paths when the target was beyond the search zone.
...
This was SVN commit r17197.
2015-11-07 14:33:55 +00:00
ad4edba3dc
move a bit an unreachable tree, fixes #3584
...
This was SVN commit r17196.
2015-11-07 14:22:10 +00:00
eed9739031
Make terrain conform to the materialmgr.quality setting. Make quality 0.0 remove triplanar texturing and tree swaying effect.
...
In consequence, pick a sensible default at 2.0 so that new players have
a somewhat good looking game.
This was SVN commit r17195.
2015-11-06 20:55:07 +00:00
2d7074e8d6
Fix unused variables left behind.
...
This was SVN commit r17194.
2015-11-06 20:42:12 +00:00
596025df71
Fix a bug in [17163] that could get units with a large passability class stuck.
...
This was SVN commit r17192.
2015-11-06 20:33:13 +00:00
e26b59c917
Changes to unitMotion.
...
Make sure we do not treat as circles entities that we really should
treat as squares (such as trees). This fixes an issue reported by Stan.
Make sure we never forget about our destination if we are blocked by
unit obstructions. This makes sure that units in a group but not in
formation will not be blocked by the other units, and probably makes the
general behavior more sane. Helps following [17166]
Refs #3505 , #3471 , #3376
This was SVN commit r17191.
2015-11-06 20:09:18 +00:00
9efd79e240
Fix an issue where square diagonals were incorrectly handled when checking the distance to the target. Fixes #3577 properly. Patch by mimo.
...
Decrease fishing ship gathering range in consequence (revert [17178]).
This was SVN commit r17190.
2015-11-06 19:56:52 +00:00
1ed3761859
Fix style issues and redundant code in [17161] and [17163].
...
This was SVN commit r17189.
2015-11-06 19:48:08 +00:00
2126b53b9d
Fixes interpolation of flying objects.
...
This was SVN commit r17187.
2015-11-06 16:56:39 +00:00
33398baa90
petra: only units which have effectively started an attack should be stopped when the attack is aborted, fixes #3582
...
This was SVN commit r17185.
2015-11-05 20:52:41 +00:00
83bba7bdfc
revert e0771b98dd
which was based on misunderstanding of the algo, and fix the inverted_circle case, refs #3577
...
This was SVN commit r17184.
2015-11-05 19:22:04 +00:00
05547bf36f
Fix an oversight.
...
This was SVN commit r17182.
2015-11-05 16:52:19 +00:00
071c5317f4
I have noticed from walking on a bridge everyday to work that reflections are more distorted when vieved at an angle. This is a quick attempt at imitating this effect.
...
This was SVN commit r17181.
2015-11-04 21:08:24 +00:00
a9323da01b
Fix #3566 by fixing an off-by-one error in the final replay turn logic. Patch by elexis.
...
This was SVN commit r17180.
2015-11-04 20:33:34 +00:00
815b0e4e03
Change tree obstruction sizes following [17161] as it looks better and will help units navigate through forests.
...
This was SVN commit r17179.
2015-11-04 20:14:39 +00:00
12d8753eff
Bump fishing ships gathering range since their obstruction size was effectively increased with the new pathfinder. This resulted in them sometimes not being able to deposit their resources at docks.
...
Fixes #3577 , reported by maxticatrix through elexis.
This was SVN commit r17178.
2015-11-04 19:49:56 +00:00
8f1853b8d8
Prevent accidental overwriting of replays in very rare cases while we wait for a better solution.
...
Refs #3255
This was SVN commit r17177.
2015-11-04 19:26:40 +00:00
f91478c730
Fix an oversight in the obstruction manager that lead to possibly the most insidious OOS error we've seen so far.
...
Fixes #3292 .
This was SVN commit r17176.
2015-11-04 18:51:47 +00:00
bc6727a23a
Show a message about cheats being enabled in gamesetup. Patch by elexis. Fixes #3546 .
...
This was SVN commit r17175.
2015-11-03 20:44:53 +00:00
9138bff64e
Increases pierce armour of ranged siege.
...
This was SVN commit r17174.
2015-11-03 20:14:04 +00:00
9b8180ffe8
Slight nerf reduction.
...
This was SVN commit r17173.
2015-11-03 18:46:12 +00:00
54b405a0d0
Reduces effectiveness of early camel rush
...
This was SVN commit r17172.
2015-11-03 18:19:11 +00:00
e527a5c321
Fix #3525 and #3399 by recalculating territories on request to GetTerritoryPercentage. Patch by elexis
...
This was SVN commit r17171.
2015-11-02 07:32:43 +00:00