wraitii
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
wraitii
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
mimo
ad4edba3dc
move a bit an unreachable tree, fixes #3584
...
This was SVN commit r17196.
2015-11-07 14:22:10 +00:00
wraitii
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
wraitii
2d7074e8d6
Fix unused variables left behind.
...
This was SVN commit r17194.
2015-11-06 20:42:12 +00:00
wraitii
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
wraitii
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
wraitii
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
wraitii
1ed3761859
Fix style issues and redundant code in [17161] and [17163].
...
This was SVN commit r17189.
2015-11-06 19:48:08 +00:00
scythetwirler
2126b53b9d
Fixes interpolation of flying objects.
...
This was SVN commit r17187.
2015-11-06 16:56:39 +00:00
mimo
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
mimo
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
wraitii
05547bf36f
Fix an oversight.
...
This was SVN commit r17182.
2015-11-05 16:52:19 +00:00
wraitii
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
JoshuaJB
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
wraitii
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
wraitii
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
wraitii
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
wraitii
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
leper
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
scythetwirler
9138bff64e
Increases pierce armour of ranged siege.
...
This was SVN commit r17174.
2015-11-03 20:14:04 +00:00
scythetwirler
9b8180ffe8
Slight nerf reduction.
...
This was SVN commit r17173.
2015-11-03 18:46:12 +00:00
scythetwirler
54b405a0d0
Reduces effectiveness of early camel rush
...
This was SVN commit r17172.
2015-11-03 18:19:11 +00:00
JoshuaJB
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
JoshuaJB
6493974800
Fix #2676 by only acknowledging commands matching the sender's name if cheats are disabled. Based on patch by historic_bruno.
...
This was SVN commit r17170.
2015-11-02 03:20:44 +00:00
mimo
a897fac229
petra: fix a rare serialization bug where an entity inside an army was killed on the same turn it was serialized
...
This was SVN commit r17169.
2015-11-01 18:54:29 +00:00
wraitii
3ba435ae35
Lowers the minrange of towers and the briton fortress, which were too big and resulted in units close to them being impossible to attack. This seems like an oversight and not a feature, as we currently do not have murder holes or similar technologies.
...
I left outpost minrange higher so that it's actually safe to attack
outposts when you reach their foot. Seemed realistic.
Fixes #3559
This was SVN commit r17167.
2015-11-01 17:22:43 +00:00
wraitii
1694913b16
Make "no formation" the default setting but keep formations activated to help pathfinding in A19. Use at your own risk. Refs #3505 and #3565 .
...
Also make rabbit, chicken and shark no longer obstruct movement, to
further help with pathfinding. These may or may not be udpated later.
Refs #3562 . Fixes #3497 .
This was SVN commit r17166.
2015-11-01 17:10:19 +00:00
mimo
e5765ba1ef
petra: do not react to pseudo-attacks (recovering capture points) from allies
...
This was SVN commit r17165.
2015-11-01 17:09:09 +00:00
mimo
d9e9345be2
fix some indentation of 6e05a00929
...
This was SVN commit r17164.
2015-11-01 16:47:53 +00:00
wraitii
357203a90f
Pathfinding changes: unit-unit collisions now allow for some overlap, so units can get closer to each other, which I found improved pathfinding considerably.
...
Also fix a potential issue I noticed in some cases, though that
particular fix implies scrapping waypoints, so if units seem to get
lost, please report so and I'll revert those changes.
I can't find any way to get units stuck with this patch.
This was SVN commit r17163.
2015-11-01 13:38:48 +00:00
wraitii
14038d4cd8
Fix more pathfinding issues.
...
Change the way the long-range pathfinder rasterisation works slightly so
that we have a better compatibility with the short-range pathfinder.
Should fix the "stuck units" issues, though I am not sure so I am not
marking them as fixed so far. Refs #3471 , #3505 , and possibly #3292 .
Caveat: I am now using clearance of 0.8 for "default" class, which might
have side-effects: please report anything weird.
Also fix leftover style issues.
This was SVN commit r17161.
2015-11-01 07:28:43 +00:00
JoshuaJB
4428c1e690
Fix #3537 with better rating state enforcement. Patch by elexis.
...
This was SVN commit r17160.
2015-10-31 21:19:58 +00:00
JoshuaJB
a6111ff8b7
Fix #3309 by capping m_DeltaSimTime in NetTurnManager.cpp. Patch by elexis. Review by Philip.
...
This was SVN commit r17159.
2015-10-31 21:04:47 +00:00
wraitii
6acfec0f44
Fix a logic error in the hierarchical pathfinder that resulted in it not updating all passability classes correctly. Fixes #3538 , refs #3292 (it fixes one of the cases, but not the examples).
...
Also features style fixes, thanks leper for noticing.
This was SVN commit r17158.
2015-10-31 20:47:47 +00:00
wraitii
a3f467ae4e
Make resources have a static, passable obstruction. Ought to be a temporary fix. Fixes #3530
...
See #3530#comment:9 for a proper fix to this issue.
This was SVN commit r17156.
2015-10-31 15:28:42 +00:00
mimo
4d804cf26b
fix typo in 6e05a00929
...
This was SVN commit r17155.
2015-10-31 13:42:14 +00:00
mimo
6e05a00929
fix obstruction of target entity not taken into account in short pathfinder, closes #3539
...
This was SVN commit r17154.
2015-10-31 13:37:34 +00:00
mimo
9a623cb302
only decay towards connected tiles, fixes #3558
...
This was SVN commit r17153.
2015-10-31 13:26:59 +00:00
wraitii
8494e36aa8
Revert the logic change in 9da482ead4. This commit removed the checks in UnitMotion against structures, which should have been fine except the short-range pathfinder and the long-range pathfinder are not entirely compatible (check out #3532 for details). This behavior was probably slightly optimized, but it was too clever for its own good in the current state of the pathfinder, might be reintroduced later.
...
This resulted in ALL "units inside obstructions" issues.
Thanks to elexis for the testing.
Fixes #3532 , #3450 .
Refs #3538 (still OOSes), #3410 (unitmotion remains buggy for
formations, but this is only aesthethic.)
Probably affects #3471 and #3505 , but those are not fixed.
This was SVN commit r17152.
2015-10-31 08:43:31 +00:00
JoshuaJB
e895b044e7
Fix #3553 by removing a superfluous warning. Patch by elexis.
...
This was SVN commit r17151.
2015-10-31 07:21:09 +00:00
JoshuaJB
c517bc2aab
Double-click to join game/load replay. Fixes #3557 . Patch by elexis.
...
This was SVN commit r17150.
2015-10-31 06:05:18 +00:00
JoshuaJB
108633affd
Fix #3415 . Removes 'ghost' scrollbar bounding to enable extreme-right hover and selection in dropdowns. Patch by elexis.
...
This was SVN commit r17149.
2015-10-31 05:40:43 +00:00
JoshuaJB
230654f6ca
Correct celtic champion swordsman running animation speed. Fixes #3542 . Patch by stanislas69.
...
This was SVN commit r17148.
2015-10-31 04:12:43 +00:00
JoshuaJB
3e7dd53aa1
Hotfix #3549 for A19. Don't save ip and player name during lobby-initiated joins.
...
This was SVN commit r17147.
2015-10-31 04:10:04 +00:00
mimo
2a26db2dc2
fix passability of mauryan support elephant, refs #3539
...
This was SVN commit r17146.
2015-10-26 23:14:26 +00:00
mimo
e0771b98dd
fix switch between square or circle approximation in UnitMotion, refs #3539
...
This was SVN commit r17145.
2015-10-26 22:59:26 +00:00
mimo
f4cb822d9d
do the circle approximation also in INVERTED goals in UnitMotion, refs #3405
...
This was SVN commit r17143.
2015-10-18 20:23:02 +00:00
mimo
70d5e4e318
fix the INVERTED_CIRCLE and INVERTED_SQUARE PathGoal, fixes #3405
...
This was SVN commit r17142.
2015-10-18 20:21:20 +00:00
mimo
d7b8e0fb79
do not assume a max number of players in the ai api
...
This was SVN commit r17141.
2015-10-17 17:04:28 +00:00