da7786a2cb
More Spectator/Barbarians fixes related to income ( #9011 )
...
* Prevent Barbarians and Spectator having income or Allies
* Prevent Barbarians and Spectator having income or Allies - fix test
2023-03-23 23:57:23 +02:00
11be6e2804
Silently log ranking stats for each major civ every turn ( #8964 )
...
* Record each stat each round for each civilization.
* Implement custom serialization and encapsulate logic in separate CivRankingHistory.kt
* Address comments
* Address comments and add RankingTypeTest.kt
2023-03-21 14:38:22 +02:00
dabd26ac0d
Fix Great Person Create Improvement requiring Resource ( #8979 )
...
* Fix GP create with Improvement requiring Resource
* Unit Test: GP create with Improvement requiring Resource
2023-03-21 14:06:35 +02:00
2d6a88f3e3
Resolved #8968 - stats for notifications string'd without special characters
2023-03-20 00:41:58 +02:00
a37eb28964
UnitMovementAlgorithms -> UnitMovement and modernized city connections tests
2023-03-20 00:20:34 +02:00
a46870c862
Deprecation of old components - ConstructionFilter, Ruleset.maxXpFromBarbarians, GameParameters.gameSpeed
2023-03-16 22:53:22 +02:00
db08c30363
Make City center minimum tile yields moddable ( #8804 )
...
* Slight cleanup of TileStatFunctions
* Make City center minimum tile yields moddable
* Make City center minimum tile yields moddable - patch1
* Make City center minimum tile yields moddable - patch1
2023-03-13 17:02:08 +02:00
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
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
c6b888e6ed
Fix android build
2023-02-19 16:35:20 +02:00
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
4a3f7f0250
Some modifications for performance optimization ( #8631 )
2023-02-09 15:42:37 +01:00
0548b3b472
chore: renamed GameInfo.ruleSet -> ruleset
2023-02-03 13:06:32 +02:00
e84887b8c2
chore: separated unit cached values into separate file
2023-02-02 19:50:00 +02:00
7d93b24d8c
Renamed MapUnit.civInfo -> civ
2023-02-02 19:31:41 +02:00
6414ad95ae
Renamed City.civInfo -> civ
2023-02-02 19:21:12 +02:00
ba097cee9d
Stats serialize to notifications - see #8446
2023-02-02 18:16:51 +02:00
d565bf8f64
Fixed tests
2023-01-23 11:04:32 +02:00
783a469da5
chore: separated unit actions into several files
2023-01-23 00:42:45 +02:00
d662df9e2f
chore: Rename CivilizationInfo -> Civilization
2023-01-22 00:28:15 +02:00
81a5e15413
chore: Rename CityInfo -> City
2023-01-22 00:24:02 +02:00
82010e8564
chore: Rename TileInfo -> Tile
2023-01-22 00:19:25 +02:00
801116551b
Chore: Moved tile stat functions to separate class
2023-01-19 21:56:44 +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
5ebfcc3a90
chore: Split CityInfo functions into CityTurnMAnager and CityFounder
2023-01-18 21:34:41 +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
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
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
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
879a5b230f
Resolved #8387 - Fixed Reliquary belief
...
Got rid of multiple uniques with the same text
2023-01-16 13:05:11 +02:00
864145acbb
Differentiated attackable from visible tiles per Civ V
2023-01-15 11:19:32 +02:00
31acb7e469
Tiles 1 step out of bounds of visibility are visible if they're higher than current tile
2023-01-15 11:05:19 +02:00
d1a9caaa88
New tile visibility framework!
2023-01-15 10:54:41 +02:00
924dbf70d0
Added framework for tile visibility testing
2023-01-15 08:05:43 +02:00
6964c66d73
Fixed tests
2023-01-09 08:56:39 +02:00
f244c36b57
Update all improvement and road writes to use TileInfo setters ( #8136 )
2022-12-15 07:18:47 +02:00
545b4afc5a
Generalized "Stats per policies" unique
2022-11-26 21:39:26 +02:00
2e5e221158
CityStateType overhaul!!!!
2022-11-21 20:30:52 +02:00
7d9db1e119
CityStateType deprecation p1
2022-11-21 20:03:05 +02:00
8530de7de1
Can now use [stats]
unique to add happiness globally
2022-11-21 11:33:29 +02:00
0cf5c33475
Can now use [stats]
unique for e.g. techs, policies, etc, to add gold/faith/culture/science to the global pool
2022-11-21 11:21:42 +02:00
61b98120a8
Fixed tests failing due to removing "crutches"
2022-11-20 00:24:59 +02:00
4522ab4c6b
Added "How to create a UI skin for Unciv" to wiki ( #7976 )
...
* Replaced all occurrences of deprecated NinePatch
function calls
This makes a lot of UI elements already moddable but documentation is still missing
* Added "How to create a UI skin for Unciv" to wiki
* Added image
* Fixed two typos and updated directory image
Old image was missing a folder
2022-11-06 22:53:55 +02:00
f0ad7581bc
Resolved crash when mods make 2 techs require each other
2022-10-13 22:55:12 +03:00