Commit Graph

15085 Commits

Author SHA1 Message Date
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
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
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
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
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
d9e9345be2 fix some indentation of 6e05a00929
This was SVN commit r17164.
2015-11-01 16:47:53 +00:00
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
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
4428c1e690 Fix #3537 with better rating state enforcement. Patch by elexis.
This was SVN commit r17160.
2015-10-31 21:19:58 +00:00
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
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
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
4d804cf26b fix typo in 6e05a00929
This was SVN commit r17155.
2015-10-31 13:42:14 +00:00
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
9a623cb302 only decay towards connected tiles, fixes #3558
This was SVN commit r17153.
2015-10-31 13:26:59 +00:00
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
e895b044e7 Fix #3553 by removing a superfluous warning. Patch by elexis.
This was SVN commit r17151.
2015-10-31 07:21:09 +00:00
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
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
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
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
2a26db2dc2 fix passability of mauryan support elephant, refs #3539
This was SVN commit r17146.
2015-10-26 23:14:26 +00:00
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
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
70d5e4e318 fix the INVERTED_CIRCLE and INVERTED_SQUARE PathGoal, fixes #3405
This was SVN commit r17142.
2015-10-18 20:21:20 +00:00
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
cb7c25768a Petra: some cleanups
This was SVN commit r17140.
2015-10-17 17:01:26 +00:00
496dc13952 remove orphan function after ef4a1e261c, patch by stanislas69
This was SVN commit r17139.
2015-10-17 16:55:21 +00:00
21992c0827 Fixes incorrect build restriction message for MaxDistance, patch by karamel, fixes #3529
This was SVN commit r17138.
2015-10-17 09:47:01 +00:00
82590753d7 fix a moved function, fixes #3531
This was SVN commit r17137.
2015-10-16 17:14:39 +00:00
070a7259ad Fixes more dialog button order issues, based on patch by stanislas69, fixes #3524
This was SVN commit r17135.
2015-10-15 04:07:37 +00:00
b97e565017 Fixes path formatting in Windows OOS error message, patch by elexis, fixes #3498
This was SVN commit r17134.
2015-10-15 03:50:45 +00:00
c0b4e78801 Fixes stream serialization bug on OS X 10.8 and older, which caused instant OOS in multiplayer games, fixes #3108.
Fixes test failures on OS X 10.7 and older, refs #3109

This was SVN commit r17133.
2015-10-15 03:31:30 +00:00
4043c56518 Fixes global init order bug that caused OOS between OS X and other platforms, fixes #3499. May improve pathfinding behavior in some cases, please test!
This was SVN commit r17132.
2015-10-15 02:51:12 +00:00
32dafe707d cleanup and simplification of 38af159598, fixes #3519
This was SVN commit r17130.
2015-10-12 17:12:36 +00:00
78f6551b83 Fixes some incorrect texture references found by checkrefs.pl, refs #2524
This was SVN commit r17129.
2015-10-11 22:28:02 +00:00
3122792da8 Fixes missing reference in Iberian corral, patch by elexis, fixes #3520
This was SVN commit r17128.
2015-10-11 22:01:56 +00:00
4994dfb26a Avoids RuntimeError: dictionary changed size during iteration
This was SVN commit r17127.
2015-10-11 20:47:52 +00:00
9db4fb5ddb fix typo in Game.cpp
This was SVN commit r17126.
2015-10-11 11:12:27 +00:00
93a14b595f var inside loop was not redefined to undef, replace it by let, fixes #3513
This was SVN commit r17125.
2015-10-11 11:04:53 +00:00
b0f267b61c fix typo in UnitMotion, fixes #3474
This was SVN commit r17124.
2015-10-11 11:00:11 +00:00
f5348c6dd6 Introduce less rounding errors in the falloff to allow a more precise territory calculation. Fixes #3334. Based on code by elexis.
This was SVN commit r17122.
2015-10-11 09:01:50 +00:00
fd5f9c547b Updates OS X libs build script to use miniupnpc 1.9.20151008
This was SVN commit r17120.
2015-10-10 23:53:54 +00:00
1ac5ccff0b fix the ceaseFire gui, patch by elexis, fixes #3413
This was SVN commit r17118.
2015-10-10 16:51:52 +00:00
40acf66ba9 Fixes hotkey bugs introduced in a07add11c6, patch by elexis. Fixes #3495
This was SVN commit r17116.
2015-10-10 07:22:07 +00:00
02628b8902 Removes unused pathfinder consts, patch by stanislas69. Fixes #3500
This was SVN commit r17115.
2015-10-10 06:48:42 +00:00
a90d2cd43a fix JS undefined property warning, patch by Evulant (AlThePhoenix), fixes #3496
This was SVN commit r17114.
2015-10-09 21:57:34 +00:00
412779684c improves 38af159598
This was SVN commit r17113.
2015-10-09 18:14:53 +00:00
d73734ff50 fix wrong chat colors, patch by AlThePhoenix, fixes #3489
This was SVN commit r17112.
2015-10-09 17:54:39 +00:00
38af159598 fix UnitAI state of turrets, fix #3481
This was SVN commit r17111.
2015-10-08 21:59:52 +00:00