Commit Graph

5710 Commits

Author SHA1 Message Date
f201799a0f Include forked repos in github search. (#8426)
* Include forked repos in github search.

* Include forked repos in github search, the right way.
2023-01-21 19:35:31 +02:00
29decb5f67 AI doesn't declare war until it's sufficiently built up 2023-01-21 19:30:04 +02:00
35a60d4903 fixed even more warnings (#8428)
* unused parameter `tile`

* unchecked cast KMutableProperty0

* replaced Enum.declaringClass with declaringJavaClass to avoid errors in Kotlin 1.9

* removed unused parameter 'previousScreen'

* removed usages of deprecated `religionEnabled`
2023-01-21 19:22:50 +02:00
be995b3c3e Deprecated 'religion enabled' 2023-01-20 11:14:31 +02:00
63d40e3f8a Better 4-corner maps 2023-01-19 23:39:02 +02:00
e38521f5a9 Chore: Moved map normalization functions from TileInfo into MapEditor where they belong 2023-01-19 22:22:03 +02:00
84fd29b294 Chore: Move map editor tabs to separate folder 2023-01-19 22:13:47 +02:00
801116551b Chore: Moved tile stat functions to separate class 2023-01-19 21:56:44 +02:00
98f64b1fd4 Chore: Moved tile improvement functions to separate class 2023-01-19 21:43:21 +02:00
69393eafce Chore: Moved tile improvement functions to separate class 2023-01-19 21:32:58 +02:00
504a15b9a5 map file reorg 2023-01-19 18:42:24 +02:00
508ce0681d Better generation for all map types
Removed 'smoothed random'
2023-01-19 18:33:32 +02:00
4a3ef08324 Better Pangaea generation, no Default map 2023-01-19 18:17:46 +02:00
8fb2d7363f Version rollout (#8416)
* Bump version and create initial changelog entry

* Update Simplified_Chinese.properties (#8415)

* Update Simplified_Chinese.properties

* Update Simplified_Chinese.properties

* Update Hungarian.properties (#8414)

Add few Hungarian translations, fix several existing ones

* Update French.properties (#8413)

* Update Italian.properties (#8411)

* Updated Brazilian_Portuguese.properties (#8409)

* Update German translation (#8406)

* Update German translation

* Update German translation

* Update Spanish.properties (#8402)

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: CrispyXYZ <64761703+CrispyXYZ@users.noreply.github.com>
Co-authored-by: Zoltán Varga <1575861+vargazol@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: MartinP <mape6@posteo.de>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-01-19 12:24:40 +02:00
2ba79d85db Add options to use random number of players and city states. (#8394)
* Add option to use random number of players and city states.

* Fix spaces after =

* Update clone() and toString() of GameParameters

* Make sure at least one AI player when using random players.

* Fix typo in random players initial values.

* Fix for if user chooses random of 0 or 1 city states.

* Move random player and city state toggles to advanced. Move random city state choice to where it will not cache and reveal on next game. Change random city states to use min and max sliders that can be used inverted.

* Add random players min and max sliders.

* Change random players option to use min and max sliders that can be used inverted.
2023-01-19 12:21:39 +02:00
4267816880 Resolved #8378 - can pick a policy with enough culture even if you have no cities 2023-01-19 12:16:30 +02:00
32772c7f73 Korea's unique applies to Library 2023-01-19 12:01:12 +02:00
668fc04a67 Notifications scroll retains position 2023-01-18 22:03:45 +02:00
9caef68866 More cityinfo cleanup 2023-01-18 21:53:00 +02:00
6dd0bf51c7 Move more context-specific functions out of CityInfo 2023-01-18 21:41:56 +02:00
5ebfcc3a90 chore: Split CityInfo functions into CityTurnMAnager and CityFounder 2023-01-18 21:34:41 +02:00
211a637e31 Fixed Android build, hopefully 2023-01-18 19:28:16 +02:00
4b9ee165b3 chore: More cleanup 2023-01-18 18:24:05 +02:00
e56d53dcd9 chore: Moved diplomacy functions to DiplomacyFunctions 2023-01-18 18:11:18 +02:00
4488a6fe51 chore: Moved unit functions to UnitManager 2023-01-18 17:32:47 +02:00
1b497c6941 chore: More civinfo cleanup 2023-01-18 16:07:04 +02:00
a5a50a30e1 chore: More civinfo cleanup 2023-01-18 16:02:21 +02:00
e4fd6ff069 chore: More civinfo cleanup 2023-01-18 15:57:26 +02:00
e272a1408d chore: Removed turn management functions from CivInfo 2023-01-18 15:51:25 +02:00
e8f54cc2f5 chore: File reorg 2023-01-18 15:25:25 +02:00
5279a11c2f chore: File reorg 2023-01-18 15:17:32 +02:00
2bd07652b1 chore: removed city state functions from civinfo 2023-01-18 15:05:15 +02:00
bdc239fd34 chore: moved statsForNextTurn and happiness transients into civ stats 2023-01-18 14:49:25 +02:00
1ae75f22be Better indication of cached-updating functions for civinfo 2023-01-18 13:35:01 +02:00
002dd951f6 Displayed Great Person point requirements always take game speed into account 2023-01-18 13:09:10 +02:00
48bf588b48 Conditioned trigger uniques do not 'go off' without the trigger (e.g. when tech researched, building built) 2023-01-18 10:40:47 +02:00
cfca929e73 Resolve #8403 - global alerts not translated properly 2023-01-18 10:32:14 +02:00
b84290de1b Refactor Cannot Move Unique (#8168)
* Add buildCheck flags

* Catch issues in Swap Units

* Move all code to movement code

* Add back in Red Attack Range for Air Units

* Remove useless parameter
Be more specific for Air Attack range highlight
2023-01-18 10:25:33 +02:00
e758c9bad7 Version rollout (#8401)
* Bump version and create initial changelog entry

* Update Catalan.properties (#8397)

* Update German translation (#8392)

* Update Italian.properties (#8391)

* Patch 1 (#1) (#8390)

* New Hungarian translations of descriptions

Edited entries are:
StartWithCapitalLetter
Fastlane_short_description
Fastlane_full_description

* Fixed Catalan translation error

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: MartinP <mape6@posteo.de>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
2023-01-17 23:05:08 +02:00
68daac5660 Advanced game options hidden by default for faster initial game
Better alignment on new game screen for options and mods
2023-01-17 22:30:24 +02:00
0ada7c476e Fixed broken test, faster local tests 2023-01-17 21:49:12 +02:00
509d179d19 War -> war with major civ 2023-01-16 23:11:17 +02:00
2185036682 Trigger upon declaring friendship 2023-01-16 23:07:31 +02:00
d07c77fa2b Added building trigger with city filter 2023-01-16 23:02:48 +02:00
239a6e238f Added religion triggers 2023-01-16 22:58:46 +02:00
1c64844c1e Added trigger conditional for constructing building 2023-01-16 22:51:37 +02:00
7c52e25a1d Added trigger conditional for capturing city 2023-01-16 22:39:52 +02:00
a045114dc6 Added trigger conditional for entering era 2023-01-16 22:28:42 +02:00
3f3235c1af Actually no 2023-01-16 22:07:05 +02:00
f89c2330aa Conditional triggers now work with timed uniques 2023-01-16 22:03:17 +02:00