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
Yair Morgenstern
c26837fdd7
Step-by-step instructions to create a new Civilization mod
2023-07-02 18:10:09 +03:00
Yair Morgenstern
bb22b1de72
Actually generated unique type documentation
2023-07-02 01:36:28 +03:00
Yair Morgenstern
d0643efe6b
Added unique type documentation in wiki
2023-07-02 01:28:27 +03:00
SomeTroglodyte
3187f49e91
UiElementDocsWriter improvement to cope with BorderedTable ( #9506 )
2023-06-11 14:45:59 +03:00
SomeTroglodyte
5f60c887f7
Next-Turn Progressbar ( #9409 )
...
* Next-Turn Progressbar
* Next-Turn Progressbar - doc
* NextTurnProgress: Rethink max on first turn
2023-05-22 17:59:28 +03:00
alexban011
91116f8df3
Fixed more warnings ( #9401 )
...
* fix: fix FunctionParameterNaming warnings
* fix: fix InvalidPackageDeclaration warnings
* fix: fix MatchingDeclarationName warnings
* fix: fix WrongEqualsTypeParameter warnings
* fix: fix UnusedPrivateProperty warnings
* fix: fix UseCheckOrError warningsU
* fix: fix UseRequire warningsU
* detekt: disabled SpreadOperator rule
* fix: resolve MemberNameEqualsClassName rule
* detekt: disabled ForbiddenComment rule
* fix: resolved SwallowedException warning
* fix: resolved ThrowingExceptionsWithoutMessageOrCause warning
* fix: resolved EmptyFunctionBlock warning
* fix: resolved EmptyFunctionBlock warning
* fix: resolved InstanceOfCheckForError warning
* detekt: disable TooGenericExceptionCaught warning
* detekt: disable TooGenericExceptionThrown warning
* fix: resolve part of NestedBlockDepth warnings
2023-05-18 10:12:33 +03:00
SomeTroglodyte
97769b89b6
Combat java.util.star-import ( #9382 )
2023-05-13 21:50:55 +03:00
alexban011
f3e80a4021
Fixed a couple warnings reported by code analysis ( #9364 )
...
* fix: resolve EmptyCatchBlock warnings
* fix: resolve PrintStackTrace warnings
* fix: resolve SwallowedException warnings
* fix: resolve ThrowingExceptionsWithoutMessageOrCause warnings
* fix: resolve ConstructorParameterNaming warnings
* fix: resolve FunctionParameterNaming warnings
* fix: resolve InvalidPackageDeclaration warnings
* fix: resolve ForEachOnRange warnings
* fix: resolve ImplicitDefaultLocale warnings
* fix: resolve MayBeConst warnings
* fix: resolve NewLineAtEndOfFile warnings
* fix: resolve UnusedParameter warnings
* fix: resolve UtilityClassWithPublicConstructor warnings
* fix: resolve WildcardImport warnings
2023-05-10 11:43:53 +03:00
SomeTroglodyte
940fa9a551
Slimming a locally built jar ( #9321 )
2023-05-04 14:21:00 +03:00
SomeTroglodyte
a40e8c31b9
Limit saved window size to available desktop ( #9052 )
...
* Limit saved window size to available desktop
* Defense against corrupted settings file
* LimitDesktopWindowSize - revert unnecessary stuff
* LimitDesktopWindowSize - fix
2023-05-04 09:38:56 +03:00
SomeTroglodyte
2150fc2244
Random nation count ( #9118 )
...
* Fix game starter problems with random number of players
* Some cleanup to use new Player constructor signature
2023-04-04 23:41:45 +03:00
Yair Morgenstern
c4a0f49af3
Solve 'desktop tries to create window of size 0/0' bug
2023-03-29 22:03:39 +03:00
SomeTroglodyte
a56e461595
Prevent duplicate lines from UiElementDocsWriter ( #9040 )
2023-03-26 16:17:01 +03:00
SomeTroglodyte
09cff6e55f
TechPickerScreen colors - skinnable and prettier Future Tech ( #9033 )
2023-03-25 21:34:49 +03:00
SomeTroglodyte
882f6a6ab2
Desktop starting size fix ( #8973 )
...
* Fix initial size jumps of windowed desktop
* Fix window jumping back to previous size on changes to mode
2023-03-21 14:39:55 +02:00
Yair Morgenstern
f66076c2a4
4.5.10
2023-03-19 19:00:26 +02:00
Yair Morgenstern
a76b344aba
Split itch upload to separate job - test4
...
Separated 'packr' gradle task from 'dist' task which builds the JAR
2023-03-07 21:54:41 +02:00
vegeta1k95
b57232c992
Android: selectable orientation ( #8822 )
...
* Android: selectable orientation
* Fix visible rectangle bug, fix auto-rotate behaviour, add translations
* Fix translation
---------
Co-authored-by: vegeta1k95 <vfylfhby>
2023-03-06 10:35:14 +02:00
vegeta1k95
f55e010451
Android: "Screen Mode" option ( #8785 )
...
* Android: "Screen Mode" option
* Fix broken tests, code cleanup
* Fix broken tests, code cleanup
* Fix broken tests, code cleanup
---------
Co-authored-by: vegeta1k95 <vfylfhby>
2023-03-04 19:22:09 +02:00
Yair Morgenstern
66faeb0d15
Preparation for unit action modifiers
2023-03-01 15:26:54 +02:00
vegeta1k95
494fde53cf
Cleaning: platform specifics and UncivGame ( #8773 )
...
* Cleanup: platform specifics + UncivGame
* Fix tests
* Fix requests not clearing
---------
Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-28 18:56:57 +02:00
Yair Morgenstern
c1df32b4e7
Add new uniques to wiki
2023-02-26 22:15:15 +02:00
Yair Morgenstern
a47864ecac
Special type for unit triggerables
2023-02-26 21:52:18 +02:00
SomeTroglodyte
5d74689b19
Resilient UiElementDocsWriter ( #8738 )
2023-02-25 20:39:56 +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
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
vegeta1k95
ec2be2ceca
Fix Desktop window borders
2023-02-17 17:24:59 +01:00