yairm210
fa658e1bd0
chore: Use new tech.isRevealed(resource) in other places
2024-10-25 13:11:24 +03:00
Yair Morgenstern
add48125c7
LibGDX 1.13.0 ( #12338 )
2024-10-25 09:23:24 +03:00
EmperorPinguin
899c5d48ea
Update Citizen Assignment and ConsoleLauncher.kt ( #12267 )
...
* AI behaviour changes
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update ConstructionAutomation.kt
* Update Automation.kt
* Reverting some changes
* Changes
* revert changes
* revert changes
* revert changes
* revert changes
* Update CityLocationTileRanker.kt
* Citizen assignment for stat conversion
* Update CityLocationTileRanker.kt
* Reduce AI settling
* Avoid AI building units when in negative Supply
* Update CityLocationTileRanker.kt
* Update CityLocationTileRanker.kt
* Update CityLocationTileRanker.kt
* Update ConstructionAutomation.kt
* Update build.gradle.kts
* Update gradle-wrapper.properties
* Update CityLocationTileRanker.kt
* Update CityLocationTileRanker.kt
* Update ConstructionAutomation.kt
* Update CityLocationTileRanker.kt
* AI changes for humans
* Fix puppet focus
* Update Automation.kt
* Puppet focus
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update Automation.kt
* Update Stats.kt
* Update CityTurnManager.kt
* Remove specialist science modifier
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update CivilianUnitAutomation.kt
* Update ReligionAutomation.kt
* Worker prioritization
Workers are valuable in expand cities.
* Update ConstructionAutomation.kt
Food always important, it's rarely good to skip e.g. granary if we're on 6 pop.
* Update ConstructionAutomation.kt
Should achieve about the same with less lines of code.
* Update Automation.kt
* Update ConstructionAutomation.kt
* Update Policies.json
* Update Policies.json
* Update Policies.json
* Update ConstructionAutomation.kt
* Update Policies.json
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Rename Crop Yield to Growth
* Update worker usage
* Update UnitAutomation.kt
* Tutorials update
* Update Tutorials.json
* Fix spelling error
* Update Tutorials.json
* Update Tutorials.json
* Update Tutorials.json
* Update Tutorials.json
* Update Tutorials.json
* Update Tutorials.json
* Update Tutorials.json
* Update Tutorials.json
* AI tech and policy choices
* Update Techs.json
* Update Policies.json
* Update ConstructionAutomation.kt
* Update UnitPromotions.json
* Update
* Update Policies.json
* Update Tutorials.json
* ReligionAutomation bugfix
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update ReligionAutomation.kt
* Update AI city settling and science game
* Update ReligionAutomation.kt
* Maybe revert this now the belief picking has improved
* Update ReligionAutomation.kt
* Remove some if-statements
* Update Automation.kt
* Update Automation.kt
* Update ConsoleLauncher.kt
* Update
* Update Automation.kt
2024-10-13 22:32:26 +03:00
Mayeul Cantan
e2d220180a
Improve desktop file for Linux desktop ( #12183 )
...
* Tweak keywords and categories
* Remove GenericName as this is not really a generic app
* Tune the comment to be more relevant to desktop users
* Add French translations
2024-09-05 23:43:49 +03:00
yairm210
ec462f9e86
Fixed unique documentation not updating
2024-08-20 09:08:07 +03:00
Yair Morgenstern
1467610d9e
4.12.14
2024-07-28 00:26:20 +03:00
yairm210
d0a3a0834c
Add CLI argument to specify the data directory
2024-07-27 23:32:52 +03:00
yairm210
4ce6536871
Added CLI arg to specify the data directory. Tests for save/load, downloading mods, creating maps, show success
2024-07-27 23:23:03 +03:00
yairm210
f03c30ed5c
- Desktop: Allow specifying data directory (for "local" files, in GDX terms) separate from installed files directory (What GDX terms "internal").
...
- Added helper functions for common paths
- Does not include a way to specify said directory - pending tests
2024-07-27 23:13:27 +03:00
yairm210
74f59bd627
Mod CI - Really autoupdate uniques
2024-07-14 13:48:28 +03:00
yairm210
4a98eff4d1
Mod CI - Load vanilla ruleset into cache before validation
2024-07-14 12:48:15 +03:00
yairm210
6c9575d271
Mod CI - Place before "screen"-oriented logic to run on CI machines
2024-07-14 12:33:54 +03:00
yairm210
41bd1314b9
Mod CI step 1 - allow running Unciv as a cli tool for linting etc
2024-07-14 11:47:02 +03:00
yairm210
51dbb3e6ed
Modding docs: Show uniques on all targets
2024-07-11 10:05:37 +03:00
yairm210
740f7bdb93
Simulation - Print text on each simulation end, not just once at end of
2024-07-03 18:55:53 +03:00
yairm210
fba4128c02
Simulation civ names are constants, so we can reference them from wherever inside the code for A/B testing
2024-07-03 18:34:50 +03:00
yairm210
2ef7c15538
Added "generic civ" comparisons to ConsoleLauncher, for testing AI changes
2024-07-01 00:13:14 +03:00
yairm210
3dbedf04ba
FINALLY got ConsoleLauncher returning actual simulation results!!
2024-06-30 23:36:56 +03:00
SomeTroglodyte
b5622df92d
Support for languages using Diacritics as multi-codepoint joiners ( #11806 )
...
* Diacritics support - achieving 1-Char-Per-Glyph via a fake alphabet
* Diacritics support - Redesign state engine and polishing
* Diacritics support - Unit test
* Diacritics support - Expand unit test to cover more cases
* Diacritics support - Expand unit test to cover more cases
* Clarify a function name
* Change format of diacritic definitions
* Refactor DiacriticSupport to per-language class with statics in Companion
* Update DiacriticSupport to use CharCategory and enable support of surrogate pairs
* Documentation
2024-06-29 23:39:46 +03:00
yairm210
0f2a697ba6
Many lazies for things that remain permanent, and profiling shows are frequently used
2024-06-29 23:39:10 +03:00
yairm210
6315984da7
perf: sequenceOf() -> emptySequence()
2024-06-28 13:07:08 +03:00
SomeTroglodyte
1c25839ddb
On desktop, replace Gdx clipboard with a proxy using AWT ( #11857 )
2024-06-27 23:26:48 +03:00
Yair Morgenstern
c6620f7470
Re-enable ConsoleLauncher to run simulations
2024-06-21 15:47:20 +03:00
Yair Morgenstern
68e29e9c53
"(modified by game speed)" modifier ( #11696 )
...
* "(modified by game speed)" modifier
* Added missing flags
* Fixed G&K ruleset
2024-06-08 21:58:52 +03:00
SomeTroglodyte
cf7f5a1c52
Remove 'Strategic Balance' and 'Legendary Start' from resource abundance select ( #11699 )
...
* Convert MapResources into an Enum
* Fix IsPartOfGameInfoSerialization where actually only the String is part of serialization
* Refactor MapResources to own file, package mapgenerator
* Refactor MapSize/MapSizeNew to own file and rename
2024-06-08 21:58:19 +03:00
SomeTroglodyte
ec253a5886
ImagePacker detects changed settings file, improve documentation. ( #11625 )
2024-05-21 19:55:22 +03:00
SomeTroglodyte
65b519cb1f
Mod checker reports some problems with texture atlases or their source images ( #11620 )
...
* ImagePacker reports exception cause
* Mod checker reports some problems with texture atlases
2024-05-21 19:55:10 +03:00
Yair Morgenstern
d41a18ecd4
More movement uniques that have problems with conditionals
2024-05-05 20:39:48 +03:00
Yair Morgenstern
adccee0b2e
'cached unique' documentation is within collapsible block
2024-02-25 21:25:01 +02:00
Yair Morgenstern
6b9c98edc5
Compile to jre 8 target ( #11122 )
...
* Allow Java 8 to run this seamlessly, because really, why not?
Resolves #11121
Resolves #11074
* Apparently
* Correct version-to-string
2024-02-12 00:49:08 +02:00
Yair Morgenstern
e7a2b94c60
SomeTrog's versioning test - compile on jdk 17 FOR jre 11, includes gradle upgrade ( #11111 )
2024-02-10 19:44:47 +02:00
Yair Morgenstern
875da6cd48
Added unit conditional support to pillage yield uniques
...
Added doc note in cached uniques so modders can know ahead of time
See #11060
2024-02-01 23:02:31 +02:00
Yair Morgenstern
a215685b57
4.10.5
2024-01-30 20:17:51 +02:00
Yair Morgenstern
52a9eebe28
Gradle 8.2, remove all IOS references due to robovm bug (which we don't use)
2024-01-28 12:35:29 +02:00
SomeTroglodyte
351917709c
ImagePacker lint and allow it to run on an assets folder devoid of atlases ( #10929 )
2024-01-15 18:55:56 +02:00
Yair Morgenstern
b3cdd4fbab
game.png is no longer a special boy
2023-12-31 16:22:12 +02:00
Yair Morgenstern
783f846761
Remove source compatibility to java 8, in preparation for Gradle 8.5 upgrade
...
See #10740
2023-12-28 23:07:24 +02:00
SomeTroglodyte
b61c9de39e
Comment unique ( #10575 )
...
* Comment Unique
* Comment Unique translations
* Comment Unique more descriptive documentation
* New languages
2023-11-25 20:11:30 +02:00
SomeTroglodyte
b8facadf7a
Fix OpenAL error Windows Events after application ends ( #10551 )
...
* Move exitProcess to a better place
* Fix OpenAL error Windows Events after application ends
* Extensive commenting
2023-11-25 18:22:39 +02:00
SomeTroglodyte
987f67d9cd
[code quality] Reorg, clean up and comment a few things ( #10527 )
...
* UncivGame is a pure class file again, GUI split off
* Purify GameSettings step 1 - non-multiplayer nested classes
* Purify GameSettings step 2 - multiplayer nested classes
* Purify GameParameters - BaseRuleset to own file
* Rework WindowState to centralize minimum/maximum treatment
* Rename MultiplayerTurnNotifierDesktop to UncivWindowListener
* Clarifications on what the WindowListener actually does (and now the attention-getting does something on non-Windows too)
2023-11-19 23:52:15 +02:00
Yair Morgenstern
6c6fe3de1b
docs: Added more documentation for uniques
2023-11-05 23:21:51 +02:00
SomeTroglodyte
eb33b7d513
Custom save/load UI tweaks and blocking saving online MP games locally ( #10358 )
...
* Allow typing Y and N in file names in Linux custom save file dialog
* Fix default custom save location suggestion on X11
* Minor linting
* Allow clean reactivation of custom buttons after cancelling the file chooser
* User-Cancel support on Android and non-X11 desktop
* Block custom save for online multiplayer games
* Fix X11 custom save remembering location
* Fix X11 custom save "Save" button enabling, forbid potentially bad names
* Add overwrite confirmation to X11 custom save
* Redefine how local saving of online multiplayer games is blocked
2023-10-29 19:00:45 +02:00
SomeTroglodyte
13e3baac74
Split Fonts.kt ( #10267 )
...
* Fix font "symbols" not showing
* Move Fonts.kt to sub-package
* Re-sort imports
* Move top-level constants to prepare split
* Split Fonts.kt each existing class to its own file
* Split off FontRulesetIcons
* Linting and comments
2023-10-08 22:03:53 +03:00
SomeTroglodyte
49e2979427
Align ruleset icons in text to font metrics ( #10233 )
...
* Try to respect actual font layout, so fontSizeMultiplier works for ruleset icons too
* Replace font-based nation symbol in top bar with statically sized actor
* Reuse getReadonlyPixmap in extractPixmapFromTextureRegion
* Tweak topbar selected civ vertical align to be more pleasing to the human eye
* FasterUIDevelopment missing implementation of FontMetricsCommon
* Address hardcoded pixel coordinates comment
* Readability and comment cleanup
* More readability changes
2023-10-07 22:00:30 +03:00
Yair Morgenstern
b6f3c8571f
chore: Move files to correct folders
2023-09-27 13:19:13 +03:00
SomeTroglodyte
29e32303ec
Replace incorrect GraphicsEnvironment.maximumWindowBounds ( #10117 )
2023-09-18 09:46:44 +03:00
SomeTroglodyte
cc43a41ec7
Consistent UTF-8 where possible ( #9927 )
...
* Consistent UTF-8 where possible
* Remove one import
2023-08-21 18:17:21 +03:00
Yair Morgenstern
915238ed1a
#9886 - Set initial screen color on Desktop so it's not black-to-blue
2023-08-04 09:52:08 +03:00
SomeTroglodyte
a29cdc91e8
Unique target compliance test v2 ( #9802 )
...
* Split off some UniqueType helper classes, make regions work in Android Studio and linting
* Fix wrong UniqueType.Stats target
* Fix two Pantheon uniques
* BeliefType a little nicer to read
* More linting
* Implement UniqueTarget validation
* Validation of UniqueTypes allowed as conditionals
2023-07-15 22:06:12 +03:00
Yair Morgenstern
06377feaeb
4.7.6-patch2
...
Resolved crash when moving cities between civs, added tests to ensure future changes do not break city moving functionality
2023-07-03 14:13:31 +03:00