Commit Graph

8389 Commits

Author SHA1 Message Date
Yair Morgenstern
9988764d4d Added 'trigger upon losing over X HP in single attack' 2023-02-26 22:11:23 +02:00
Yair Morgenstern
faada0ac79 Added 'trigger upon promotion', 'trigger upon conquering city' unit trigger 2023-02-26 22:04:57 +02:00
Yair Morgenstern
67f4704ca2 Added unit trigger for 'upon defeat' 2023-02-26 21:57:52 +02:00
Yair Morgenstern
a47864ecac Special type for unit triggerables 2023-02-26 21:52:18 +02:00
Yair Morgenstern
8c9877365d unit triggers also activate civ triggers 2023-02-26 21:48:46 +02:00
Yair Morgenstern
090c421f9b Introduced "upon defeating [unitFilter] unit" trigger 2023-02-26 20:31:13 +02:00
SomeTroglodyte
7bfaeb274c
City screen displays "free" tile yields undimmed (#8753) 2023-02-26 19:19:18 +02:00
Yair Morgenstern
cff8876ec8 4.5.0-patch3
Fixed 'unitsToRemove' error
2023-02-26 10:13:25 +02:00
Yair Morgenstern
8e17c9ed98 4.5.0-patch2
Lazy loading of system fonts so startup is fast
2023-02-26 09:33:02 +02:00
letstalkaboutdune
fd9fc914bc
AbsoluteUnits - Chu-Ko-Nu, Longbowman, Crossbowman v2 (#8751) 2023-02-26 09:05:36 +02:00
Yair Morgenstern
87403c9472
exploredTiles deprecation, step 1 - do not check exploredTiles when checking if a tile is explored (#8747)
exploredTiles continues to remain updated, to allow
2023-02-26 09:04:14 +02:00
Yair Morgenstern
9acc84ff8e Resolved #8739 - cannot 'undo' if you cannot change state 2023-02-25 22:23:23 +02:00
Yair Morgenstern
0144947bb7 4.5.0-patch1 2023-02-25 21:31:04 +02:00
Yair Morgenstern
ad9942c532 4.5.0 2023-02-25 21:03:52 +02:00
Yair Morgenstern
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
Yair Morgenstern
b3d8415f61 "must be on/next to" unique for buildings can accepts tile filter - #3242 2023-02-25 20:53:54 +02:00
SomeTroglodyte
e458b64339
Fix problems with dual save folder support (#8734) 2023-02-25 20:43:59 +02:00
Leonard Günther
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
SomeTroglodyte
5d80f50d93
Show UnitTypes in Civilopedia (#8729)
* Show UnitTypes in Civilopedia

* Show UnitTypes in Civilopedia - polish
2023-02-25 20:40:59 +02:00
SomeTroglodyte
5d74689b19
Resilient UiElementDocsWriter (#8738) 2023-02-25 20:39:56 +02:00
Gualdimar
e69eb5b518
Map exploring disables undo button + ExploredRegion smallfixes (#8741) 2023-02-24 23:44:43 +01:00
Yair Morgenstern
3278cbc904 4.4.19 2023-02-23 23:11:30 +02:00
Yair Morgenstern
04cc091d94 Added conditionals for religion state 2023-02-23 23:05:42 +02:00
Yair Morgenstern
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
ryg-git
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
Gualdimar
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
vegeta1k95
b5ce086860
Android: use best possible device frame rate (#8728)
* Android: use best possible device frame rate

* Add support for devices with Android 6.0+

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-23 22:40:58 +02:00
SomeTroglodyte
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
vegeta1k95
33ddb2dc3a Fix tech description items alignment 2023-02-23 14:55:46 +01:00
Skekdog
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
vegeta1k95
a31e74dee2 Add "Custom Fonts" section to mod docs 2023-02-23 00:26:37 +01:00
Gualdimar
16ffae6e00
Fixed world wrap coordinates check (#8724)
* Fixed world wrap coordinates check (#8724)
2023-02-23 00:16:37 +01:00
vegeta1k95
5077477987 Attempt to fix JDK8 compatibility with TextureArraySpriteBatch 2023-02-23 00:03:05 +01:00
Yair Morgenstern
4e662a460b chore: code cleanup 2023-02-22 10:03:28 +02:00
Yair Morgenstern
06292bec64 Fix unique parameter type 2023-02-22 09:54:10 +02:00
Yair Morgenstern
7b1a5e296c modding: Added "upon gaining a [unitFilter] unit" trigger condition 2023-02-22 09:32:50 +02:00
Yair Morgenstern
8565762df3 chore: moved citiesConnectedToCapitalToMediums to cache 2023-02-22 09:29:37 +02:00
Caballero Arepa
5da46e727c
Add 'neutral' Flood plains (#8721) 2023-02-22 09:15:05 +02:00
Yair Morgenstern
980dc6b6c8 4.4.18 2023-02-21 23:55:12 +02:00
Yair Morgenstern
7a0f1e4a26 chore: single use of GUI in city button to get viewing civ 2023-02-21 23:53:09 +02:00
Yair Morgenstern
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
vegeta1k95
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
Yair Morgenstern
96fdbbff09 Better error message for multiplayer games that get corrupted data from the server 2023-02-20 20:26:50 +02:00
vegeta1k95
c50c0a136e
Fix TextureArraySpriteBatch missing method issue (#8713)
Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-20 19:07:18 +01:00
Yair Morgenstern
a5f2db5ec0 chore: more direct 'can change state' propagations 2023-02-20 20:02:30 +02:00
Yair Morgenstern
9371ff5035 Cleanup of policy screen 2023-02-20 18:37:48 +02:00
Yair Morgenstern
fff6bc59eb Removed static references from policy buttons 2023-02-20 17:03:20 +02:00
vegeta1k95
461028deed
UI Helper: GUI class (#8707)
Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-20 16:51:40 +02:00
Gualdimar
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
Gualdimar
f99c322319
Slider tip permanent by default (#8711) 2023-02-20 15:07:30 +02:00