Commit Graph

11293 Commits

Author SHA1 Message Date
yairm210
0655cc63a4 Resolved #12488 - don't reject constructions for missing stockpiled resource costs, AFTER you've already paid them 2024-11-18 10:35:40 +02:00
yairm210
f5b0727732 4.14.7 2024-11-17 11:47:23 +02:00
Yair Morgenstern
239c8deeb7
Version rollout (#12484)
* Bump version and create initial changelog entry

* Update Latin translation (#12480)

* Update translation

* Fix translation

---------

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

* Update Thai.properties (#12478)

I translate more

* Update Bangla.properties (#12475)

* Update Catalan.properties (#12466)

* Update Italian.properties (#12465)

---------

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: BIGREDKIDS <foxhand2540@gmail.com>
Co-authored-by: Shinigami-alt <76843162+Shinigami-alt@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2024-11-17 11:42:02 +02:00
EmperorPinguin
4c4d5ee5d5
Update MotivationToAttackAutomation.kt (#12445)
* Update MotivationToAttackAutomation.kt

* Update MotivationToAttackAutomation.kt
2024-11-17 11:38:29 +02:00
SeventhM
405655d51d
Allow filter uniques to have conditionals and work with modifiers (#12404)
* Allow filter uniques to have conditionals

* Move cache to inside the multifilter

* Move Civ caching to nation

* Might as well remove a use of let

* Forgot to remove check

* Might as well edit these for consistency

* Avoid checking unit filters twice where necessary

* Probably the wrong way to fix this, Idk where I should put the fix instead

* Remove extra parenthesis

* Don't multiFilter if we know it won't do anything

* Apparently, issues for initialized tiles can exist for cities too

* Lower cpu cost for changes - use consistent StateForConditionals, set once when loading map and again every time there is an ownership change

* Resolves #12483 - add gameInfo to tile state so game-wide conditionals will work

---------

Co-authored-by: yairm210 <yairm210@hotmail.com>
2024-11-17 11:37:47 +02:00
SpacedOutChicken
06f6449c6c
Update Unique-parameters.md (#12482) 2024-11-16 22:55:45 +02:00
yairm210
914b9e2f03 Resolved #12467 - Nat wonders land->water conversion no longer causes rivers on water tiles 2024-11-16 20:24:39 +02:00
yairm210
3c7bf97148 Resolved #12477 - Limited, but performant, edge filters
This brings back 'edges below improvements'
2024-11-16 20:21:50 +02:00
EmperorPinguin
f2221ddf43
Update ConstructionAutomation.kt (#12456) 2024-11-14 18:25:00 +02:00
yairm210
5315ddc62a perf(cpu): cheaper, and slightly clearer, 'movement affected by zone of control'
God bless the profiler which can show cpu time of individual lines within if
2024-11-14 15:18:44 +02:00
yairm210
1599db1740 4.14.6-patch1 2024-11-14 11:47:38 +00:00
EmperorPinguin
2812216f3c
Update Automation.kt (#12471) 2024-11-14 13:47:31 +02:00
yairm210
cf7b575329 Resolved #12464 - mod checker accepts civ filters as tile filters 2024-11-14 12:09:05 +02:00
yairm210
8d4a16dd39 Resolved #12468 - great general unique works with conditionals (cache for 'has unique' ignores conditionals) 2024-11-14 08:33:16 +02:00
yairm210
386c0812be Growth nullifying uniques do not nullify starvation 2024-11-14 08:17:27 +02:00
yairm210
a020a2a797 Removed Scenarios button, since the new game screen handles scenarios better 2024-11-14 08:14:49 +02:00
yairm210
1962af4507 4.14.6 2024-11-13 16:18:34 +02:00
Yair Morgenstern
16d56be9c0
Version rollout (#12463)
* Bump version and create initial changelog entry

* Update Latin translation (#12462)

* Update translation

* Update translation

---------

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

* Add Spanish translations and fix typos (#12453)

* Update Italian.properties (#12449)

* Update German translation (#12448)

* Update French.properties (#12447)

* Update Brazilian_Portuguese.properties (#12446)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Russian.properties (#12443)

* Update Russian.properties

* Update Russian.properties

* Update Indonesian.properties (#12442)

* Update Indonesian.properties

Translation and corrections.

* Update Indonesian.properties

---------

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: Víctor <41088609+vuriaval@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-11-13 16:15:05 +02:00
yairm210
e8e87edb29 Resolved #12461 - added 'unit remove all' console command 2024-11-13 16:02:44 +02:00
EmperorPinguin
8ab193b125
Update Automation.kt (#12441)
* Update Automation.kt

* Update Automation.kt

* Update Automation.kt
2024-11-13 15:51:02 +02:00
EmperorPinguin
ba4003bb30
Update ReligiousUnitAutomation.kt (#12444) 2024-11-13 15:50:49 +02:00
EmperorPinguin
08378cb3c8
Update TradeEvaluation.kt (#12440) 2024-11-13 15:50:38 +02:00
yairm210
04ec4f9cdb Remove Tactical AI files - untouched for 2 years and unused, causes confusion to new developers 2024-11-13 15:43:34 +02:00
yairm210
7b075bcf7c Add passthrough functions to all layers for perf work 2024-11-13 12:27:12 +02:00
yairm210
8e0115263b Actual performance change :) 2024-11-13 12:16:00 +02:00
yairm210
1c17a20018 perf(rendering): Don't try to find edge tiles unless we know other images have changes as well
Ths is a trade off - on the one hand it means edge images will be drawn *above* improvements, on the other hand - profiling shows this is 11% of tile update time, which affects evey single user click!

Possible good solution: saving the edge images on the tile itself, and refreshing this and neighboring tiles every time terrains are changed
2024-11-13 12:04:59 +02:00
yairm210
086573b112 perf(rendering): ignore unit layers with no units 2024-11-13 11:57:32 +02:00
yairm210
66357cf729 AI does not offer open borders trade if other side already has open borders 2024-11-12 23:13:15 +02:00
yairm210
cfdfb839c5 Fix tests 2024-11-12 23:09:19 +02:00
yairm210
3edcc29857 Resolve #12459 - don't allow trading away max gold/max gpt to multiple civs 2024-11-12 17:39:27 +02:00
yairm210
e47d72f6b4 chore: resolved #12455 - deprecated 'defence bonus when embarked' unique 2024-11-12 13:20:58 +02:00
Víctor
0ca08695bd
Fix typos in MacOS documentation (#12454) 2024-11-12 09:08:36 +02:00
yairm210
dd98b7ea5d 4.14.5-patch1 2024-11-11 11:19:42 +00:00
Yair Morgenstern
60d5649962
Fix 'raze city' (#12450)
* Fix 'raze city'

* .
2024-11-11 13:19:29 +02:00
yairm210
454a6c357c In trade, if one side has *negative* resources of a certain type, the resource on the other side should be colored green to mark it as attractive 2024-11-10 22:39:46 +02:00
yairm210
6da45f4dd2 4.14.5 2024-11-10 14:47:40 +02:00
Yair Morgenstern
1c4d8786a2
Version rollout (#12439)
* Bump version and create initial changelog entry

* Update Traditional_Chinese.properties (#12438)

* Update Traditional_Chinese.properties

* Update Traditional_Chinese.properties

* Update Catalan.properties (#12433)

* Update Latin translation (#12432)

* Merge a branch

* Update translation

* Fix translation

* Fix translation

* Fix translation

* Update translation

* Update translation

* Fix translation

---------

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

* Update Portuguese.properties (#12429)

* Update Italian.properties (#12428)

* Fix Ukrainian.properties: Fix apostrophe and delete stress mark (#12427)

* Fix Ukrainian.properties: Delete stress mark - 0x301

* Fix Ukrainian.properties: Replace U+0027 with U+02BC

Regexp: ([ЄІ-ЇА-ЩЬЮ-щью-яєіїҐґ])\u0027([ЄІ-ЇА-ЩЬЮ-щью-яєіїҐґ])

* Fix Ukrainian.properties: Replace U+2019 with U+02BC

Regexp: ([ЄІ-ЇА-ЩЬЮ-щью-яєіїҐґ])\u2019([ЄІ-ЇА-ЩЬЮ-щью-яєіїҐґ])

* Update French.properties (#12425)

* Update Indonesian.properties (#12424)

* Update Indonesian.properties

Corrections and translation.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Russian.properties (#12421)

* Update Russian.properties

* Update Russian.properties

* Update Brazilian_Portuguese.properties (#12420)

* Update German translation (#12419)

* Update German translation

* Update German translation

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: 羅少希 <83118946+Tab-Etuc@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: sls1005 <sls1005@github.com>
Co-authored-by: murilozinkkkj <78273099+murilozinkkkj@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Miroslav Belov <miroslavbelov8@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
2024-11-10 14:31:37 +02:00
yairm210
6a171fe89f Resolved #12431 - strength for adjacent enemies parameter combatantFilter -> mapUnitFilter to match behaviour 2024-11-10 14:26:05 +02:00
PLynx
bdcc0bb0d6
Add owned tiles countable (#12423)
* Added owned tiles countable

* Applied yairm210's suggestions

* Added template.properties key
2024-11-10 14:25:48 +02:00
yairm210
c1e52d9073 New Krakatoa tile by legacymtgsalvationuser69544 for edge images to look good 2024-11-10 14:05:53 +02:00
yairm210
868c8bd452 Coast edge images for HexaRealm tiles by legacymtgsalvationuser69544 :) 2024-11-10 12:01:30 +02:00
yairm210
73516e15c9 Place edge images over terrains and under improvements, where possible to distinguish 2024-11-10 11:18:37 +02:00
yairm210
2cfe78a197 Clearer pop change limit redux - kudos @SeventhM
Resolves #12435
2024-11-09 22:27:57 +02:00
yairm210
92fd488301 Clearer pop change limit 2024-11-08 07:06:21 +02:00
yairm210
c87ed50a98 Resolved #12422 - Comment text is displayed on event choices 2024-11-07 18:20:45 +02:00
yairm210
e4253bf007 Resolved #12413 - City-state unique units are not taken from civs within this game 2024-11-07 13:10:44 +02:00
yairm210
0ea175573f Resolved #12426 - Don't allow triggers to decrease city population below 1 2024-11-07 13:06:40 +02:00
yairm210
aa59be298b ConsoleLauncher accepts arbitrary amount of civs to simulate - see #12407 2024-11-07 12:37:29 +02:00
yairm210
c5cab907c1 Resolved #12409 - Don't assume the city-state ally knows the civ that attacked the city-state 2024-11-07 12:33:39 +02:00
yairm210
3ee4cf03fa 4.14.4 2024-11-06 14:57:49 +02:00