Commit Graph

9 Commits

Author SHA1 Message Date
43d9813ce1 3.12.2-patch1 2020-12-21 20:59:47 +02:00
296da5b205 Unit tests for the TileMap.getViewableTiles() (#3222) 2020-10-04 10:54:48 +03:00
4797b0622b Fixed tile improvement tests 2020-08-07 18:05:04 +03:00
79ff8c2ecf Fixed broken tests due to 'impassible' changes 2020-06-28 20:48:51 +03:00
745d48c2ae Can now permanently disable barbarians in mods 2020-04-18 23:59:26 +03:00
bd5c8130d9 Speedup of canPassThrough() method (#2394)
* Unit tests for "canPathThrough"

* Refactoring of canEnterTiles() and isAtWarWith()

* Do not check isEmpty() twice

* Using of the cached MapUnit uniques
2020-04-13 10:46:28 +03:00
882ca6f22b Removed translation tests that are no longer necessary - 'check' passes successfully
'Wander' now gets its own distance to tiles, solving a really niche bug
2020-03-28 21:29:52 +03:00
7a96a96d73 Unit tests for TileInfo (#1959) 2020-02-18 00:03:59 +02:00
cedb6ff5e3 Added the notification for the third-party civilizations (#1558)
* Added the notification for the third-party civilizations

If a civilizations knows about some two civilizations, it will be notified when:
* They declare the war
* They make a peace
* They sign the declaration of peace
* One denounce the other

Additionally, when civ enters a new era, all civs that know about it get a notification

* Fixed the translation `.properties`

* Cleanup

* Fix: 2 notifications for each peace treaty

Russia and America...
America and Russia...

* Typo

* Code style changes

* Resolved conflicts

* Simple getCommonKnownCivs() tests
2019-12-30 18:12:14 +02:00