* Civ is not defeated while at least 1 settler is alive
* The original capital cannot be razed
* Revert "Civ is not defeated while at least 1 settler is alive"
Defeat condition is: no cities remained
Color goes to Label instead of container
String comparison special casing eliminated
Clearer code structure
Chose different colors - from standard palette but close to associated stat
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Options: Turning on city production autoassign affects world immediately
* Options: Turning on city production autoassign affects world immediately - patch
* Empire overview can open the requested pages
* Open the empire overview screen on the given page
* Open the tech and policies screens
* Turns counter opens the victory status screen
* Options Screen: Next Turn Button was left disabled if...
any setting with 'update worldscreen' on was used
* Options Screen: Unit idle check has visible consequences
* Unit tests for "canPathThrough"
* Refactoring of canEnterTiles() and isAtWarWith()
* Do not check isEmpty() twice
* Using of the cached MapUnit uniques
* Enable the Denmark civilization
* Nation unique ability is implemented
* Units unique abilities are implemented
* Unit icons
* Misprint in the tech name is corrected
* Update Tutorials.json
Added tutorial for Natural Wonders
* Enable displaying the Natural Wonders tutorial
* Display the tutorial when the wonder is found automatically
* Minor performance optimization
* Removing debug leftovers
See also 33da0e3a7f
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* ESC/Back handling with multiple popups
* ESC/Back handling with multiple popups
* ESC/Back handling with multiple popups - clearer code
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Fix for #2358 JR's catch - crash after selection in nation picker
- events can fire after an actor has already been removed from its stage
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Reworked Options Menu: Clarity, No Scroll jump, less repaints
* Reworked Options Menu: Minor cosmetic change
* Reworked Options Menu: Removed test code
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Re-think of the New-Installs Language Picker
* Language picker and new installs - reworked how flag is cleared
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* ScrollPanes steal and release focus automatically
* ScrollPanes steal and release focus automatically: Commented & param names
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Back button fix, ESC, and behaviour of them in popups
* ESC/Back now work if there's no exitEvent
* ESC/Back: JackRainy is right, exit prompt now cancellable with same key
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Fix: Fortify until healed shouldn't be enabled when Fortify isn't
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Discord thread is now a timer and gets notified to shut down
Solved truncated Autosaves: Made it singlethreaded within shutdown.
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Small version: remember window size only, and leave positioning to Gdx
* Update Polish.properties (#2275)
* Update Italian.properties (#2276)
* Update French.properties (#2279)
* Traditional Chinese Update (#2283)
Update for the traditional Chinese translations.
* Update translations + notification about generated translation files (#2280)
* Translations
* Notify about successful creation of the files
* A few more translations
* Misprint is corrected
* Translations for Inca
* Translation updates
Co-authored-by: RadioMagnetofonStereofoniczny <remixionmix@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: RobertGine <61517798+RobertGine@users.noreply.github.com>
Co-authored-by: The Bucketeer <57716526+GeneralWadaling@users.noreply.github.com>
Co-authored-by: Jack Rainy <JackRainy@users.noreply.github.com>
* Ability to place the resources over the terrain features
* Fossils can be found under the forest
* Revert previous commit "Fossils can be found under the forest"
This reverts commit 4e1fcd8c45ffd08090ce4b808d228636bfccfc6b.
* Ignore the vegetation and spawn the resource right under it
* Decrease battery usage: no animation of damage in the health bar
* Decrease battery usage: no WSAD support for Android
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* .gitignore: mods SaveFiles transients
* Simple transposition prevents mod improvements from appearing below roads&removals
should also move modded nations to the top in new game player picker
* Insert the empty lines to split the nations, policies, etc.
* Read the translations from the mod folders
* Refactoring: Get local link to the translations
* Refactoring: Moving percentage calculations into the TranslationFileWriter
* Refactoring: Caching of the generated strings is removed
* Generate the languages files for the mods
* Minor refactoring
* Using local file storage
* Inca abilities for Terrace farm and Great Andean Road
* Language files re-done by manual pull and merge
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* For #2200: Avoid MacOS tripping us
* Second hidden test in packImages
* Clearer message for a specific mod error, UI message for savegames missing mods
* Fixed obsolete imports from rejected experiments
* Tiny lint issue
* Irrelevant change to test push after rebase
* A little more information in civilopedia for improvements and nations
* Differentiate civilopedia and picker use
* Missing lines in translations template
* allTranslationsEndWithASpace test
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Unit can now only be purchased if no other unit of same type is stationed in city center #2081
* #2081
Added unique to landsknecht and changed condition for movement panelty
* Refactored when statement to if
#2081
* Only one plane at a time can be purchased to a maximum of 6 that are NOT transported in a single city
#2081
* removed duplicate code
#2081
* refactor canPurchase() and now track bought units in a city in a mutableList
#2081
* refactor canPurchase() it basicly just tracks if the unit can be placed on the center tile! if it cant then we dont allow the purchase!
#2081
* Changed wording of unique and added translations
#2081
* Changed wording of unique
#2081
* removed unneeded imports
#2081
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Refactoring: Split reading and writing of translation files
* New generator of translation strings from JSONs
* Switch to the new strings generation approach
* Using the regex for similar strings + bugfix for Submarines
* Transfer of the existing translations
* Clean up of the template file and translated files based on it
* Unit tests are updated
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
#2152 is nice but sorts by internal key, thus translations are not
taken into account and cities are sorted by their guid
Also moving larger amounts to the top may not be everyone's taste
so this offers the user a choice
* Make TranslationFileReader as object class
* Generate strings from Tutorials.json
* Simplified storage and loading of the tutorials
* Transfer existing translations
* Snow, Atoll & Ice
* Fix White Hexagon + Small NW refactor
* More Land in Continents #1886
* Atoll can spawn only on Coast
* Added new constants and turned Constant into an object
* Latitude and Longitude utility methods
* New MapGenerator steps
* New MapParameters & MapGenerator cleanup
* Added New Map option to MapEditor menu
* New parameters default values and limits
* archipelagos map type
* Translations & Atlas
* removing unneeded octave displacement
* Fix Archipelago
* Perlin noise parameters & no-elvis in TileMap
* Rebuilt Atlas
Co-authored-by: Eddh <remi.dufour@protonmail.com>
* Rename "translationsByLanguage" folder
* Minor refactoring
* Generate Nations strings
* Use the nations strings while creating the translation files
* Clean up of Nations files
* Transfer existing translations
* Get rid of the nation's translated name
* Transfer just few nations' translations for languages without Nations_Language.json
* Clean up of not used greetings
* Correct marking of not translated strings
* Unique abilities moved to enums
* remove diplomatic victory type WIP
* Address review comments. Translations for unique abilities names aren't used anywhere as far as I can tell, but added them to relevant translation files just in case.
Co-authored-by: nmeze <nicolas.mezeret@gmail.com>
* Issue#2019
Player should not be able to nuke a civilsation that it has a peace treaty with
* wordlscreen is updated when notification shown (#2019)
* Fixed PR comments #2019
* issue #2019
* Fixed PR comments #2019
* Fixed PR comments #2019
* Fixed PR comments #2019
refactoring
* Fixed PR comments #2019
removed unnecessary line
* Initial preparations
* Moving to the separate package
* Calculation and visualization
* Translations
* Using a local function instead of additional class
* Using a local function instead of additional class (part 2)
* Rankings French.properties
* Fixup of the leftover
Co-authored-by: RobertGine <61517798+RobertGine@users.noreply.github.com>