Commit Graph

6034 Commits

Author SHA1 Message Date
Yair Morgenstern
e558ebcc59 Workers try to build roads utilizing existing roads, and railroads overriding existing roads 2023-06-14 09:31:32 +03:00
SomeTroglodyte
46a84c23b0
Make mod categories curated in Json (#9542)
* Dynamic mod categories from online query

* Move Working string to Constants

* Move Mod categories to json

* Move Mod categories to json - UI

* Move Mod categories to json - initial json
2023-06-14 09:12:24 +03:00
SomeTroglodyte
b0a1eed872
Scene2D debug tool (#9579) 2023-06-14 08:20:34 +03:00
SomeTroglodyte
c56644cd6d
Fix vulnerability of new NationPickerPopup icon view (#9587) 2023-06-14 07:28:45 +03:00
SomeTroglodyte
6a387fc7d2
Long press support (#9558)
* Refactor input-related components into own package

* Unified input event system with common routing for keys and gestures

* Minor Linting

* Apply input system to World map right-click

* Replace UnitActionsTable Upgrade info tooltip with UnitUpgradeMenu

* Optimize ShortcutListener's full-stage scan

* Post-merge fixes
2023-06-13 08:58:44 +03:00
SomeTroglodyte
d666c44697
Keyboard bindings - collision check (#9580) 2023-06-13 07:31:02 +03:00
Yair Morgenstern
02d7325576 UnitFilter also matches TechFilter for that unit 2023-06-12 23:13:47 +03:00
Yair Morgenstern
624eefccab 4.7.0-patch1 2023-06-12 23:02:38 +03:00
Yair Morgenstern
c27bb5d74d Revert "Make ExpanderTab "expand" properly (#9522)"
This reverts commit ae74dca074.
2023-06-12 22:54:37 +03:00
Yair Morgenstern
dc030bfbad 4.7.0 2023-06-12 19:25:40 +03:00
Yair Morgenstern
235fe86b72
Version rollout (#9573)
* Bump version and create initial changelog entry

* Updated Brazilian_Portuguese.properties (#9572)

* Update Polish.properties (#9568)

* Update French.properties (#9567)

* Update Italian.properties (#9566)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2023-06-12 19:14:19 +03:00
Yair Morgenstern
320309aadd Don't kill the multiplayer updater on *pause*, instead on destroy() "exit early" 2023-06-12 18:36:34 +03:00
Yair Morgenstern
61a90a4193 Fixed user-invisible crash on multiplayer updating thread when resuming game 2023-06-12 18:19:45 +03:00
Yair Morgenstern
1bd8c4fde7 Fixed crash when resuming EmpireOverviewScreen 2023-06-12 17:34:56 +03:00
Yair Morgenstern
685df48f5a AI more willing to take happiness risk to create a new city 2023-06-12 12:10:10 +03:00
Yair Morgenstern
71828349df AI only constructs Settler if it already has worker / improvements 2023-06-12 11:27:27 +03:00
Yair Morgenstern
e5232494a0 Improved AI city location picking
Done by ignoring tiles already belonging to another civ / within work range of another city
2023-06-12 10:27:26 +03:00
SomeTroglodyte
404a148cfb
Key bindings - unit actions, world screen and grouped UI (#8986)
* Keyboard Bindings: Simpler Widget

* Keyboard Bindings: Reset binding

* Keyboard Bindings: Simpler Widget - revert opening feature

* Keyboard Bindings Step 6: Unit Actions

* Keyboard Bindings Step 7: Grouped UI

* Keyboard Bindings Step 7: Grouped UI-TFW

* Keyboard Bindings Step 6: Unit Actions - patch

* Keyboard Bindings Step 9: World Screen

* Keyboard Bindings - German

* Keyboard Bindings: Fix merge errors

* Keyboard Bindings: Tiny forgotten things

* Merge fixes
2023-06-12 10:13:57 +03:00
SomeTroglodyte
e109848e28
Nation picker gets an Icon View, keyboard selection, and fixed sort (#9553)
* Nation picker gets an Icon View, keyboard selection, and fixed sort

* Minor linting

* Proper centering in the selection circle

* Fix merge mistakes

* Nation picker Icon View - reviews and layout tweaks
2023-06-12 09:55:25 +03:00
Yair Morgenstern
f25637c619 Global politics table includes current civ (GOOD version) 2023-06-12 09:24:42 +03:00
Yair Morgenstern
42041647f8 Revert "Global politics overview table includes current civ"
This reverts commit cfc292eb0a.
2023-06-12 09:24:42 +03:00
WhoIsJohannes
6c8754adbd
Always select military unit first, don't select great people or settl… (#9569)
* Always select military unit first, don't select great people or settlers first.

* Make diff less intrusive
2023-06-12 07:24:34 +03:00
SomeTroglodyte
4bf319b36a
Improve connected to / disconnected from Capital handling (#9545)
* Improve connected to / disconnected from Capital handling

* Improve connected to / disconnected from Capital handling - typo
2023-06-12 07:18:15 +03:00
SomeTroglodyte
ae74dca074
Make ExpanderTab "expand" properly (#9522)
* Make ExpanderTab "expand" properly

* Make ExpanderTab "expand" properly - patch1

* Make ExpanderTab "expand" properly - new signature

* Make ExpanderTab "expand" properly - enable dynamic content

* Minor WorldScreenMusicPopup visual tweaks

* Make ExpanderTab "expand" properly - tweaks

* Make ExpanderTab "expand" properly - Kdoc and types review

* Post-merge fixes
2023-06-12 07:16:06 +03:00
Yair Morgenstern
8d2af7af78 Resolved #8736 - AI Workers remove fallout 2023-06-11 17:16:47 +03:00
Yair Morgenstern
cfc292eb0a Global politics overview table includes current civ 2023-06-11 17:00:20 +03:00
SomeTroglodyte
3187f49e91
UiElementDocsWriter improvement to cope with BorderedTable (#9506) 2023-06-11 14:45:59 +03:00
Yair Morgenstern
0d02100e51
Version rollout (#9565)
* Bump version and create initial changelog entry

* Update Spanish.properties (#9530)

* Update Spanish.properties

* Update Spanish.properties

* Update Brazilian_Portuguese.properties (#9529)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2023-06-11 12:49:23 +03:00
WhoIsJohannes
edac7bcd04
Show line color in more cases (#9550) 2023-06-11 12:41:40 +03:00
WhoIsJohannes
d0acedd092
Only consider attackable enemies within visible tiles. (#9551) 2023-06-11 12:38:09 +03:00
SomeTroglodyte
7fb8bae251
Fix translated sorting (#9563)
* Fix translated sorting

* Minor linting, missing pedia icon, missing tooltip template

* Wiki on icons for Beliefs
2023-06-11 12:37:25 +03:00
SeventhM
c506331dcc
Pantheon Mod Constants (#9562)
* Religion Mod Constant

* Update mistake in wiki
2023-06-11 12:36:41 +03:00
SomeTroglodyte
8b72dba4fb
Refactor input-related components into own package (#9552) 2023-06-11 12:36:09 +03:00
Yair Morgenstern
a853851cb8 Resolved #9556 - Transform uniques accept conditionals correctly 2023-06-11 12:22:36 +03:00
Yair Morgenstern
4dad953db9 bugfix: AI evaluation of ButItemsDiscount no longer crashes 2023-06-11 11:10:33 +03:00
SomeTroglodyte
86aa3b842b
Only *display* first 5 missing mods but auto-download all (#9543)
* Only *display* first 5 missing mods but autodownload all

* Fix removeMissingTerrainModReferences

* Linting
2023-06-08 12:13:22 +03:00
Yair Morgenstern
fe1b5825bb
Resolves #9533 - double movement unique accepts conditionals (#9538) 2023-06-07 15:49:59 +03:00
SomeTroglodyte
936b9e34ef
Fix and unit-test Hakkapeliitta TransferMovement ability (#9539) 2023-06-07 13:35:53 +03:00
Yair Morgenstern
edccbf6273 "before adopting / after adopting" uniques accept belief as well as policy - #3242 2023-06-07 10:21:12 +03:00
Yair Morgenstern
e44af219eb 'random generated map type' is actually random 2023-06-07 10:14:15 +03:00
Yair Morgenstern
17ad432228 Resolved #9531 - only display first 5 missing mods 2023-06-07 09:58:32 +03:00
Yair Morgenstern
cf3d5d3fdb 4.6.18-patch1
Revert palace mod checks due to incompatibility with Rekmod
2023-06-05 23:22:48 +03:00
Yair Morgenstern
d2c0ce5229 Revert "Mod checks against sellable, missing or multiple Palace(s) (#9516)"
This reverts commit 2d02e69d24.
2023-06-05 23:21:23 +03:00
Yair Morgenstern
5a652dc0d4
Version rollout (#9528)
* Bump version and create initial changelog entry

* Update German translation (#9525)

* Update Japanese.properties (#9523)

* Update Japanese.properties

*Add new translations
*Fixed some translations

* Update Japanese.properties

*Add new translations
*Add Carthage city names
*Add translations for messages - Netherlands, Carthage
*Fix translations

* Update Japanese.properties

* Netherlands, Carthage message - revert translations to null

* Update Japanese.properties

*Fixed lack of praceholders

* Update Italian.properties (#9520)

* Update Polish.properties (#9517)

* Update French.properties (#9512)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: namazulake <130637228+namazulake@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2023-06-05 19:38:11 +03:00
SomeTroglodyte
2d02e69d24
Mod checks against sellable, missing or multiple Palace(s) (#9516)
* Mod checks against sellable, missing or multiple Palace(s)

* Fix Studio adding quotes unasked
2023-06-05 19:04:27 +03:00
SomeTroglodyte
e036d27935
Fix tooltips on Android with physical keyboard detected (#9527) 2023-06-05 19:03:50 +03:00
Yair Morgenstern
688872b5b1 Resolved #9494 - Pillaged improvements have a visual indication on the icon 2023-06-04 16:56:05 +03:00
Yair Morgenstern
7602aa4d0d Fixed great engineer automation trying to reach cities it can't 2023-06-04 13:42:15 +03:00
Yair Morgenstern
c0bd8c12fb Fixed later civs not getting any CS quests 2023-06-04 11:58:27 +03:00
SomeTroglodyte
13619d18a1
Upgraded music player popup (#9514)
* Popups get the ability to scroll only the content without the buttons

* Centralize LoadingPopup

* Split non-WorldScreenMenuPopup classes off from that file

* Linting

* Nicer music playback dialog

* Translation templates
2023-06-04 11:53:56 +03:00