yairm210
ea0738f6e5
Recreate map editor screen when changing ruleset to update all the editing tools
2021-11-19 15:20:28 +02:00
yairm210
ea29458038
Resolved #5668 - Changing base ruleset in map editor removes all terrain references that are no longer viable, including starting locations for nations not in new ruleset
2021-11-19 15:09:01 +02:00
yairm210
bdeccb87e8
Resolved #5692 - exiting Civilopedia always brings you o the previous screen
2021-11-19 14:15:48 +02:00
yairm210
ff3cd7511c
Somehow not all got added?
2021-11-19 12:27:48 +02:00
yairm210
200a62670c
Rename: Changed CameraStageBaseScreen to BaseScreen
2021-11-19 12:26:57 +02:00
yairm210
8ddbe3b2b7
3.18.3
2021-11-19 12:13:23 +02:00
SimonCeder
891ef5b0f1
Update Swedish.properties ( #5684 )
2021-11-19 12:02:35 +02:00
deqtodo
db191acd73
Update Russian.properties ( #5687 )
...
* Update Russian.properties
* Update Russian.properties
* Update Russian.properties
2021-11-19 12:02:20 +02:00
yairm210
422bb58814
Caught out of memory errors on autosave
2021-11-15 21:36:06 +02:00
Xander Lenstra
defa25f254
Updated vanilla policies and fixed a few oversights from G&K policies ( #5681 )
2021-11-15 18:38:49 +02:00
Xander Lenstra
b195f0b92c
Removed the religions file and favoured religions from the vanilla ruleset ( #5682 )
2021-11-15 15:35:45 +02:00
Xander Lenstra
8f89826d03
Removed code that was unreachable after the removal of an exception in BackwardCompatability.kt
for 3.18.2 ( #5680 )
2021-11-15 15:35:32 +02:00
yairm210
38bffb6225
3.18.2
2021-11-14 21:36:03 +02:00
Yair Morgenstern
3e04950b9b
Translations update ( #5676 )
...
* Update Ukrainian.properties (#5669 )
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Indonesian.properties (#5667 )
* Update Indonesian.properties
* Update Indonesian.properties
* Update Italian.properties (#5666 )
* Update Italian.properties
* Update Italian.properties
Co-authored-by: Marerjh <40261003+Marerjh@users.noreply.github.com>
Co-authored-by: kensvin <63847755+Kensvin28@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2021-11-14 20:30:44 +02:00
Xander Lenstra
5a458e93cb
Fixed a crash when changing the base ruleset while in portrait mode ( #5671 )
...
* Fixed a crash when changing the base ruleset while in portrait mode
* Whoops
2021-11-14 14:14:16 +02:00
yairm210
f3115d9f03
Pre-solved potential bugs, unique typing for deprecated uniques
2021-11-14 00:16:01 +02:00
yairm210
297c3d8ba6
Probably resolved #5555 - made tileset config overrides deterministic
2021-11-13 23:32:02 +02:00
yairm210
c41fb3591a
Caught "null values from musicHistory.peekLast" bug
2021-11-13 22:38:58 +02:00
yairm210
5910e52407
Catching out of memory errors when updating tiles with a catch-all popup
2021-11-13 22:33:55 +02:00
yairm210
fda3d32332
Performance improvement for getting civ-wide uniques, should help mitigate existing ANRs
2021-11-13 22:25:07 +02:00
yairm210
4b43ff5b5e
Resolved crashes in game options table when changing base ruleset before the mod list was defined
2021-11-13 22:18:11 +02:00
yairm210
eefe499fff
3.18.1
2021-11-12 00:35:57 +02:00
yairm210
57c033ff34
More error handling for out of memory errors
2021-11-12 00:19:52 +02:00
Yair Morgenstern
c45b6c8f7a
Translations update ( #5665 )
...
* Update Swedish.properties (#5661 )
* Update Russian.properties (#5660 )
* Update Russian.properties
* Fix translation
* Update German translation (#5659 )
* Update Indonesian.properties (#5655 )
* Update Indonesian.properties
* Update Indonesian.properties
* Update Italian.properties (#5653 )
* Update Italian.properties
* Update Italian.properties
Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com>
Co-authored-by: AlimovAR <82767510+AlimovAR@users.noreply.github.com>
Co-authored-by: MartinP <77325495+Mape6@users.noreply.github.com>
Co-authored-by: kensvin <63847755+Kensvin28@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2021-11-12 00:16:08 +02:00
yairm210
8aa99c03e2
Probably solved a bug where brushes would cause non-ruleset terrains for mods without grassland
2021-11-11 23:56:29 +02:00
yairm210
4ce8704969
Solved bug where AI units could expend all movement trying to attack enemy units when moving through fog, and would still try and attack
2021-11-11 23:34:43 +02:00
yairm210
c92381adba
Don't display religion follower table if no one in city follows any religion
2021-11-11 21:57:00 +02:00
SimonCeder
e4f686964e
Regions part 2 - City state placements, start normalization ( #5663 )
...
* start position normalization
* assignLuxuries
* City states placement
* city state normalization
* don't consider tiny islands
* also modify the other json since they are duplicated now
2021-11-11 12:11:48 +02:00
yairm210
bc5ea2d90a
Resolved #5641 - unit upgrade check ONLY removes/adds unit if absolutely necessary
...
This previously was done every time the function was called, leading to updating the civ resources twice per unit check, which is kind of heavy
2021-11-09 23:38:30 +02:00
Xander Lenstra
cda34bf23f
Replace calls to clone
with calls to cloneStats
when that is clearer ( #5656 )
2021-11-09 11:59:24 +02:00
Xander Lenstra
003f2434c1
Differentiating Vanilla & G&K ( #5654 )
...
* Fixed tests checking for mod correctness
* Update G&K jsons to current vanilla versions
* First pass over buildings & beliefs
* First pass over nations
* First pass over eras.json
* Fully updated tech tree
* First pass over units
* Second pass over buildings -- fixed techs
* Fixed last prerequisites and row numbers of tech
* Went through the entire tech tree and moved things to their correct spot
* Fixed tests
2021-11-09 06:23:30 +02:00
Xander Lenstra
2854d88e11
Cleaned up some code from the split ( #5652 )
2021-11-09 06:21:24 +02:00
Xander Lenstra
5cf5e13ffb
Fixed a bug where maps created before the split PR could no longer be opened after ( #5651 )
2021-11-09 06:20:27 +02:00
Xander Lenstra
ac2bc3a404
Second version of G&K / vanilla split ( #5647 )
...
* Copied files for Gods & Kings folder
* Added G&K and unified with mods in dropdown
* Split the baseruleset from the mods list in game parameters
* Mod links are checked again when selecting a mod
* The new map editor screen now also uses the base ruleset
* Updated the ruleset change dialog in the map editor; Fixed a crash
* Refactored some code and fixed some bugs
2021-11-08 22:57:09 +02:00
Xander Lenstra
fb1b494470
It's probably a good idea to actually convert Hanse's to Banks rather than remove them entirely, actually ( #5650 )
...
* It's probably a good idea to actually convert Hanse's to Banks rather than remove them entirely, actually
* Remove checks for the unique as well
* Might as well use the intended function for it too
2021-11-08 22:50:43 +02:00
Xander Lenstra
2250d75b4c
Removed a wrongly implemented BNW-only building ( #5649 )
2021-11-08 22:14:27 +02:00
yairm210
367e0b940d
Solved bug where land units that upgrade to water units would attempt to upgrade where the upgraded unit could not be placed.
...
This was such a cool idea that I decided to let it live :)
2021-11-08 21:35:11 +02:00
yairm210
b87a3b9ace
3.18.0
2021-11-08 19:52:26 +02:00
yairm210
de83383c8b
3.18.0
2021-11-08 19:52:09 +02:00
Yair Morgenstern
8ffd64a71c
Translations update ( #5648 )
...
* Update German translation (#5646 )
* Update Russian.properties (#5644 )
* Update Russian.properties
* Update Russian.properties
* Update Ukrainian.properties (#5638 )
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Swedish.properties (#5635 )
* Update Indonesian.properties (#5628 )
* Update Italian.properties (#5627 )
Co-authored-by: MartinP <77325495+Mape6@users.noreply.github.com>
Co-authored-by: AlimovAR <82767510+AlimovAR@users.noreply.github.com>
Co-authored-by: Marerjh <40261003+Marerjh@users.noreply.github.com>
Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com>
Co-authored-by: kensvin <63847755+Kensvin28@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2021-11-08 19:36:24 +02:00
SimonCeder
73d9179f09
can remove fallout on oases ( #5640 )
...
* can remove fallout on oases
* remove matchesfilter
2021-11-07 18:25:27 +02:00
yairm210
74d1d0451c
Minor linting
2021-11-05 15:07:30 +02:00
SimonCeder
09c40002f0
Regions part 1 - subdivide generated maps into regions, and use to place civs ( #5556 )
...
* json definitions
* create regions, define region types
* count terrains
* terrain qualities
* tilesInRectangle
* use even q coords
* major civ start locations
* move to separate file
* remove printlns
* unused imports
* strings
* strings
* reviews
* conditionalize qualities
* guess qualities of terrain types without explicit definitions
* guess qualities of terrain types without explicit definitions
* Update template.properties
* Update template.properties
* add HideInCivilopedia to technical uniques
* reviews
2021-11-05 07:59:48 +02:00
yairm210
6e6192c369
More field deprecation
2021-11-04 22:43:15 +02:00
yairm210
bad6692207
Deprecated older fields
2021-11-04 22:40:26 +02:00
Xander Lenstra
eb24a8d364
Possibly fixed a bug where replacement buildings would not be granted ( #5636 )
...
* Possibly fixed a bug where replacement buildings would not be granted
* Fixed tests
2021-11-04 18:37:31 +02:00
SimonCeder
010931ca42
Bombard notification ( #5637 )
...
* add notification when able to bombard
* harmonize with enemy unit notification
* use city.range
2021-11-04 18:36:50 +02:00
yairm210
25cad3aef2
Minor performance improvements
2021-11-03 16:12:24 +02:00
yairm210
0065d1052b
Merge remote-tracking branch 'origin/master'
2021-11-03 15:57:56 +02:00
yairm210
198958772c
Fixed error where typed unique map would try and register untyped uniques
2021-11-03 15:57:35 +02:00