Commit Graph

10945 Commits

Author SHA1 Message Date
yairm210
ef53f35e0f Fixed "Top" edge tiles not showing - kudos @legacymtgsalvationuser69544 2024-09-28 21:15:07 +03:00
yairm210
1a7e396339 4.13.11 2024-09-25 22:24:06 +03:00
yairm210
f2e65f156e Better AI evaluation for 'win the game' buildings 2024-09-25 22:21:04 +03:00
Yair Morgenstern
04e4b34576
Version rollout (#12241)
* Bump version and create initial changelog entry

* Update Latin translation (#12240)

* Merge a branch

* Add a word

* Fix translation

* Fix translation

* Change names of books

* Update translation

* Update translation

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update Traditional Chinese translation (#12239)

* Merge a branch

* Fix translation

* Change a letter

* Update translation

* Update translation

* Update translation

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update Simplified_Chinese translation (#12238)

* Update Simplified_Chinese.properties

The previous translation, "在下一次投票\n外交胜利票数:[amount]" means you will get [amount] votes in the next diplomacy victory vote, which does not correspond to the original text. Here is a more appropriate translation that would not mislead the player.

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update German translation (#12237)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: czyh2022 <126690022+czyh2022@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
2024-09-25 22:17:00 +03:00
EmperorPinguin
41eab84051
Improve AI tech and policy choices (#12234)
* AI behaviour changes

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update ConstructionAutomation.kt

* Update Automation.kt

* Reverting some changes

* Changes

* revert changes

* revert changes

* revert changes

* revert changes

* Update CityLocationTileRanker.kt

* Citizen assignment for stat conversion

* Update CityLocationTileRanker.kt

* Reduce AI settling

* Avoid AI building units when in negative Supply

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update ConstructionAutomation.kt

* Update build.gradle.kts

* Update gradle-wrapper.properties

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update ConstructionAutomation.kt

* Update CityLocationTileRanker.kt

* AI changes for humans

* Fix puppet focus

* Update Automation.kt

* Puppet focus

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Stats.kt

* Update CityTurnManager.kt

* Remove specialist science modifier

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update CivilianUnitAutomation.kt

* Update ReligionAutomation.kt

* Worker prioritization

Workers are valuable in expand cities.

* Update ConstructionAutomation.kt

Food always important, it's rarely good to skip e.g. granary if we're on 6 pop.

* Update ConstructionAutomation.kt

Should achieve about the same with less lines of code.

* Update Automation.kt

* Update ConstructionAutomation.kt

* Update Policies.json

* Update Policies.json

* Update Policies.json

* Update ConstructionAutomation.kt

* Update Policies.json

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Rename Crop Yield to Growth

* Update worker usage

* Update UnitAutomation.kt

* Tutorials update

* Update Tutorials.json

* Fix spelling error

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* AI tech and policy choices

* Update Techs.json

* Update Policies.json

* Update ConstructionAutomation.kt

* Update UnitPromotions.json

* Update

* Update Policies.json

* Update Tutorials.json

* ReligionAutomation bugfix

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt
2024-09-25 20:46:07 +03:00
yairm210
4394dcda7a internal - Enable writing new format of civ ranking history 2024-09-23 23:57:54 +03:00
yairm210
9c7e5b3ae6 Resolved #11832 - re-activate Thai language, now with diacritic support 2024-09-23 23:53:59 +03:00
yairm210
9cb20449a5 Resolved #12236 - trigger uniques from religious beliefs activate correctly 2024-09-23 23:39:20 +03:00
yairm210
d22bbaab39 Added "removing the [promotion] promotion/status" unit action modifier 2024-09-23 23:35:05 +03:00
yairm210
980126ff06 Added 'upon gaining/losing [promotionName] promotion' unit trigger uniques - see #3242 2024-09-23 23:21:04 +03:00
yairm210
916317a048 Allow comment uniques and timed uniques in event choices 2024-09-23 18:39:26 +03:00
yairm210
db5e45c157 4.13.10 2024-09-21 23:00:56 +03:00
Yair Morgenstern
bdf00eaaee
Version rollout (#12235)
* Bump version and create initial changelog entry

* Update Latin translation (#12233)

* Merge a branch

* Merge a branch

* Change usus to usor

* Update translation

* Update translation

* Change naturæ to naturalis/naturale

* Update translation

* Update translation

* Update translation

* Merge a branch

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update Italian.properties (#12232)

* Update Brazilian_Portuguese.properties (#12231)

* Update French.properties (#12227)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2024-09-21 22:56:33 +03:00
yairm210
430a8ac90f detekt 2024-09-21 22:44:38 +03:00
yairm210
5b627389bf Resolved #12176 - Great prophets bought in city with different religion do not get incorrect warning popup 2024-09-21 22:44:01 +03:00
yairm210
cfd12fb4b8 Resolved #12177 - Getting all resources does not eliminate WLTK day 2024-09-21 22:40:07 +03:00
yairm210
a91d32874b Tilesets: Added edge tile images! 2024-09-21 22:11:18 +03:00
yairm210
c5bf9b387b Added validations for 'replaces' being set when 'uniqueTo' is not 2024-09-18 18:46:24 +03:00
yairm210
9fe9ac3c4e chore: renamed MoveImmediatelyOnceBought -> CanMoveImmediatelyOnceBought 2024-09-18 14:27:12 +03:00
yairm210
b722a62454 Resolved #12230 - MP game with invalid preview cannot be joined 2024-09-18 14:11:45 +03:00
yairm210
51bbe4f961 4.13.9-patch1 2024-09-17 17:31:45 +00:00
Yair Morgenstern
97e6f285e8
Solved crash due to race condition (#12225) 2024-09-17 20:31:37 +03:00
yairm210
bbd7f68a88 Resolved #12220 - Changing rulesets in new game screen no longer leads to fake error warnings 2024-09-17 20:17:10 +03:00
yairm210
9f3f5a3a09 chore: CheckModLinks -> GetErrorList 2024-09-17 20:05:13 +03:00
yairm210
77d0da4029 4.13.9 2024-09-17 19:52:27 +03:00
Yair Morgenstern
4b71c1583c
Version rollout (#12223)
* Bump version and create initial changelog entry

* Update Latin translation (#12222)

* Merge a branch

* Update translation

* Update translation

* Update translation

* Update translation

* Fix translation

* Update translation

* Update translation

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update Italian.properties (#12221)

* Update French.properties (#12218)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2024-09-17 18:30:58 +03:00
yairm210
eb180523d6 More memory perf improvements 2024-09-17 17:54:45 +03:00
yairm210
98c49ecea3 SIGNIFICANTLY decreased memory usage by only initializing overlay images when required 2024-09-17 17:37:23 +03:00
yairm210
7fd1a10a46 Tile.terrainUniqueMap doesn't need to have an initial value set - this is a bogus value that just takes init time and memory (and a lot of memory at that)
Still needs to be set for display purposes though
2024-09-16 08:57:02 +03:00
yairm210
c487a64ba8 Reapply "perf: minor speedup in distance to tiles"
This reverts commit 14115cdea7.
2024-09-16 04:29:55 +03:00
yairm210
0e612ac574 Solve self-introduced bug in unit movement. Thank G-d (literaly) for ConsoleLauncher, may his name (G-d's) be blessed 2024-09-16 04:29:25 +03:00
yairm210
c3d579b278 perf: Decrease getUniques(uniqueType) by adding a EnumMap to store uniques by type, with basically zero lookup time 2024-09-16 04:21:29 +03:00
yairm210
14115cdea7 Revert "perf: minor speedup in distance to tiles"
This reverts commit f78fbfd22d.
2024-09-16 04:13:33 +03:00
yairm210
f78fbfd22d perf: minor speedup in distance to tiles 2024-09-16 04:10:31 +03:00
yairm210
b3e00a7944 Resolved #12213 - escorted unit cannot move if its escort cannot move 2024-09-16 04:07:39 +03:00
Ouaz
7283c647d6
Fix missing brackets (#12219)
Fix some missing brackets in #12192
2024-09-16 01:11:34 +03:00
yairm210
16c4e2fed8 4.13.8-patch1 2024-09-15 18:48:54 +00:00
Yair Morgenstern
d277b0055e
Fix broken start new game (#12215)
* Revert "perf: Decrease getUniques(uniqueType) by adding a EnumMap to store uniques by type, with basically zero lookup time "

This reverts commit 0533347371.

* Fix new game screen crashing if you have no scenarios
2024-09-15 21:48:46 +03:00
yairm210
f5bf655d12 perf: Decrease great general bonus calculation time 2024-09-15 20:09:48 +03:00
yairm210
0533347371 perf: Decrease getUniques(uniqueType) by adding a EnumMap to store uniques by type, with basically zero lookup time 2024-09-15 19:47:43 +03:00
yairm210
95d0b65140 4.13.8 2024-09-15 18:07:51 +03:00
Yair Morgenstern
8946676bc0
Version rollout (#12212)
* Bump version and create initial changelog entry

* Update Galician.properties (#12209)

update new lines

* Update French.properties (#12208)

* Update Latin translation (#12206)

* Merge a branch

* Update translation

* Update translation

* Fix translation

* Fix translation

* Fix translation

* Merge a branch

---------

Co-authored-by: sls1005 <sls1005@github.com>

* Update Italian.properties (#12205)

* Update Indonesian.properties (#12203)

Corrected grammatical errors and translated the new code.

* Update Catalan.properties (#12202)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
2024-09-15 18:00:24 +03:00
yairm210
d6d55c0142 Resolved #12188 - WLTK + continuous rendering no longer cause city tiles to be dimmed 2024-09-15 18:00:09 +03:00
The Bucketeer
affe919378
BNW unit sprites for HexaRealm (#12204) 2024-09-15 17:51:49 +03:00
EmperorPinguin
83dac35a14
Update tutorials (#12192)
* AI behaviour changes

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update ConstructionAutomation.kt

* Update Automation.kt

* Reverting some changes

* Changes

* revert changes

* revert changes

* revert changes

* revert changes

* Update CityLocationTileRanker.kt

* Citizen assignment for stat conversion

* Update CityLocationTileRanker.kt

* Reduce AI settling

* Avoid AI building units when in negative Supply

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update ConstructionAutomation.kt

* Update build.gradle.kts

* Update gradle-wrapper.properties

* Update CityLocationTileRanker.kt

* Update CityLocationTileRanker.kt

* Update ConstructionAutomation.kt

* Update CityLocationTileRanker.kt

* AI changes for humans

* Fix puppet focus

* Update Automation.kt

* Puppet focus

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Automation.kt

* Update Stats.kt

* Update CityTurnManager.kt

* Remove specialist science modifier

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update CivilianUnitAutomation.kt

* Update ReligionAutomation.kt

* Worker prioritization

Workers are valuable in expand cities.

* Update ConstructionAutomation.kt

Food always important, it's rarely good to skip e.g. granary if we're on 6 pop.

* Update ConstructionAutomation.kt

Should achieve about the same with less lines of code.

* Update Automation.kt

* Update ConstructionAutomation.kt

* Update Policies.json

* Update Policies.json

* Update Policies.json

* Update ConstructionAutomation.kt

* Update Policies.json

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Update ReligionAutomation.kt

* Rename Crop Yield to Growth

* Update worker usage

* Update UnitAutomation.kt

* Tutorials update

* Update Tutorials.json

* Fix spelling error

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json

* Update Tutorials.json
2024-09-15 17:51:40 +03:00
yairm210
f096bc0ba5 Allowed starting *multiplayer* Scenarios through the new game screen! :DD 2024-09-15 17:31:08 +03:00
yairm210
b9327b7619 Allowed starting Scenarios through the new game screen! :D 2024-09-15 17:29:13 +03:00
yairm210
fd261e6136 Disabled select boxes *look* disabled 2024-09-15 17:28:14 +03:00
yairm210
f2141d3393 Fixed Scenario mods being undownloadable and needing to restart game to access Scenario picker 2024-09-15 15:52:36 +03:00
yairm210
96addf305b Added Barbarian Musketman and Worker variants for AbsoluteUnits 2024-09-15 15:24:09 +03:00