Commit Graph

5566 Commits

Author SHA1 Message Date
ad9942c532 4.5.0 2023-02-25 21:03:52 +02:00
b6942abbd9 Version rollout (#8746)
* Bump version and create initial changelog entry

* Updated Brazilian_Portuguese.properties (#8745)

* Update French.properties (#8743)

* Update Catalan.properties (#8742)

* Update Italian.properties (#8740)

* Update Spanish.properties (#8735)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@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>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-02-25 20:54:41 +02:00
b3d8415f61 "must be on/next to" unique for buildings can accepts tile filter - #3242 2023-02-25 20:53:54 +02:00
e458b64339 Fix problems with dual save folder support (#8734) 2023-02-25 20:43:59 +02:00
a3f511efd2 Added password authentication as server feature (#8716)
* Added authenticate and setPassword

* Added AuthPopup

* Added auth endpoint to UncivServer

* Fixed merge confict

* Added close button to AuthPopup

+ Fixed crash if no server is available

* Added entries to template properties

* Fixed setting password does not work

if authentication is required

+ Added server check on game startup in case the server has changed its feature set

* Added support for different passwords

on different servers

+ Cleanup for MultiplayerTab

* Added current password as hint

+ removed character hiding in auth popup
+ added popup to indicate auth success on connection check
2023-02-25 20:42:36 +02:00
5d80f50d93 Show UnitTypes in Civilopedia (#8729)
* Show UnitTypes in Civilopedia

* Show UnitTypes in Civilopedia - polish
2023-02-25 20:40:59 +02:00
e69eb5b518 Map exploring disables undo button + ExploredRegion smallfixes (#8741) 2023-02-24 23:44:43 +01:00
04cc091d94 Added conditionals for religion state 2023-02-23 23:05:42 +02:00
1eba9bb4d9 Version rollout (#8732)
* Bump version and create initial changelog entry

* Update French.properties (#8726)

* Update Italian.properties (#8722)

* Updated Brazilian_Portuguese.properties (#8720)

* Updated Brazilian_Portuguese.properties

* Updated Brazilian_Portuguese.properties

* Update Spanish.properties (#8719)

---------

Co-authored-by: yairm210 <yairm210@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>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-02-23 23:05:16 +02:00
09d3094bd8 if tileset or unitset in different in WorldMapHolder compared to GameSetting reload the game on resume (#8519) 2023-02-23 23:05:03 +02:00
713f116400 Limit camera movement within explored region (#8661)
* Load game resets scroll position

* Limit camera within explored region
2023-02-23 22:41:21 +02:00
5d07fd981b Allow filters in the ModOptions "ToRemove" lists (#8730)
* Allow "*" wildcard in the ModOptions "ToRemove" lists

* Allow filters in the ModOptions "ToRemove" lists
2023-02-23 22:40:47 +02:00
33ddb2dc3a Fix tech description items alignment 2023-02-23 14:55:46 +01:00
145811849c Play city-state music if available (#8727)
* City-states now play their music if it exists
More of a fix than anything - before this city state music would only play when declare war button is confirmed

* City-states now play their music if it exists
More of a fix than anything - before this city state music would only play when declare war button is confirmed
2023-02-23 09:31:23 +02:00
16ffae6e00 Fixed world wrap coordinates check (#8724)
* Fixed world wrap coordinates check (#8724)
2023-02-23 00:16:37 +01:00
5077477987 Attempt to fix JDK8 compatibility with TextureArraySpriteBatch 2023-02-23 00:03:05 +01:00
4e662a460b chore: code cleanup 2023-02-22 10:03:28 +02:00
06292bec64 Fix unique parameter type 2023-02-22 09:54:10 +02:00
7b1a5e296c modding: Added "upon gaining a [unitFilter] unit" trigger condition 2023-02-22 09:32:50 +02:00
8565762df3 chore: moved citiesConnectedToCapitalToMediums to cache 2023-02-22 09:29:37 +02:00
7a0f1e4a26 chore: single use of GUI in city button to get viewing civ 2023-02-21 23:53:09 +02:00
cb8d75d23b Version rollout (#8718)
* Bump version and create initial changelog entry

* Update French.properties (#8714)

* Update Ukrainian.properties (#8712)

* Update Italian.properties (#8710)

* Update German translation (#8709)

* Update German translation

* Update German translation

* Update German translation

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Gualdimar <Gualdimar@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
2023-02-21 23:24:03 +02:00
c593056e42 Modding: allow mods to supply custom fonts (#8715)
* Modding: allow mods to supply custom fonts

* Cleanup

* Code cleanup

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-21 23:09:11 +02:00
96fdbbff09 Better error message for multiplayer games that get corrupted data from the server 2023-02-20 20:26:50 +02:00
c50c0a136e Fix TextureArraySpriteBatch missing method issue (#8713)
Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-20 19:07:18 +01:00
a5f2db5ec0 chore: more direct 'can change state' propagations 2023-02-20 20:02:30 +02:00
9371ff5035 Cleanup of policy screen 2023-02-20 18:37:48 +02:00
fff6bc59eb Removed static references from policy buttons 2023-02-20 17:03:20 +02:00
461028deed UI Helper: GUI class (#8707)
Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-20 16:51:40 +02:00
0b507422f0 Option to disable max zoom limit (#8702)
* Option to disable max zoom limit

* Reverted old flickering fix

* Reworked

* Removed redundant import

* Added comment
2023-02-20 16:44:30 +02:00
f99c322319 Slider tip permanent by default (#8711) 2023-02-20 15:07:30 +02:00
2530039c80 Civilopedia entry for policy links to units and buildings that it enables/disables 2023-02-20 13:34:59 +02:00
93d171fd4b Resolved #8693 - wonders with no tech requirement displayed in separate category 2023-02-20 13:03:44 +02:00
2ae6017f48 Attacking of any sort prevents udo of unit move 2023-02-20 11:54:32 +02:00
a4ab0f7f16 Version rollout (#8708)
* Bump version and create initial changelog entry

* Update French.properties (#8703)

* Update Spanish.properties (#8698)

* Updated Brazilian_Portuguese.properties (#8697)

* Update Ukrainian.properties (#8696)

* Update Ukrainian.properties

* Update Ukrainian.properties

* Update Hungarian.properties (#8695)

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@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>
Co-authored-by: Gualdimar <Gualdimar@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
2023-02-20 08:44:49 +02:00
5fcbafda78 Better trade screen for portrait mode 2023-02-19 16:48:58 +02:00
51e223c8ad Removed zoom limit for world-wrap maps (#8684)
* Removed zoom limit for world-wrap maps

* Update min/max zoom after changing options

* Returned zoom limit for world screen
2023-02-19 16:43:35 +02:00
c6b888e6ed Fix android build 2023-02-19 16:35:20 +02:00
1d30336ea5 "Gift" trades to AI civs make them more friendly towards you 2023-02-19 11:49:56 +02:00
0b5ded98c9 chore: diplomatic modifier text auto-translated 2023-02-19 11:20:19 +02:00
90708fe138 chore: diplomatic modifier text as part of class 2023-02-19 11:13:25 +02:00
336e6362ce Added Undo button for unit moves! 2023-02-19 10:50:08 +02:00
119f9715a8 Resolve #8700 - add improvement action image to workers actively building improvement 2023-02-19 08:25:34 +02:00
3a14ac6248 Allow settlers to be captured when worker replacements exist 2023-02-19 08:18:33 +02:00
e40ab3e9da Allow settlers to be captured when worker replacements exist 2023-02-19 08:11:34 +02:00
13be70615d chore: more ui class reorg 2023-02-19 07:54:24 +02:00
70f81d1657 chore: huge code reorg for ui classes
Separated into screens, popups, and UI components, with screen-specific components located together with their screens
2023-02-19 07:47:29 +02:00
85720c97fb chore: moved next turn actions into next turn button
Cleans up worldscreen from non-essential functionality
2023-02-19 07:26:48 +02:00
a244c4f50d Version rollout (#8694)
* Bump version and create initial changelog entry

* Update Hungarian.properties (#8692)

* Update Hungarian.properties

* Update Hungarian.properties

* Update Polish.properties (#8691)

* Update Simplified_Chinese.properties (#8690)

* Minor corrections to translations (#8688)

* Minor corrections

* Additional translations

* Original known translation of the quota

* Update Ukrainian.properties (#8685)

* Update Ukrainian.properties

* Update Ukrainian.properties

* Update French.properties (#8683)

* Update French.properties

* Update French.properties

* Update Spanish.properties (#8680)

* Update Spanish.properties

* Update Spanish.properties

* #8679

* Updated Brazilian_Portuguese.properties (#8678)

* Updated Brazilian_Portuguese.properties

* Updated Brazilian_Portuguese.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: qw142536 <123065131+qw142536@users.noreply.github.com>
Co-authored-by: Jack Rainy <JackRainy@users.noreply.github.com>
Co-authored-by: Gualdimar <Gualdimar@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@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-02-18 20:21:07 +02:00
c6d035929a Display mod categories in mod page 2023-02-18 20:11:03 +02:00