Yair Morgenstern
16ea8fe8f0
Re-added stat values to be a known part of buildingFilter - see #6430
2022-04-19 14:14:39 +03:00
SomeTroglodyte
9e3df8605e
Request for take-over: Rewritten Map Editor ( #5694 )
...
* New Map editor - attempts 1
* New Map editor - attempts 2
* New Map editor - attempts 3
* New Map editor - attempts 4
* New Map editor - attempts 5
* New Map editor - attempts 6
* New Map editor - attempts 7
* New Map editor - attempts 8
* New Map editor - attempts 9
* New Map editor - attempts 10
* New Map editor - merge
* Revert included Stat icons in favour of #f90b22a
* Adapt to renamed TileGroup methods
* Manual merge of some baseruleset code for the map loader only
* Kludge for disappeared `getBaseRuleset`
* Fix after-merge conflicts, run convertTerrains in stepwise map generation
* Fix merge error
* Adapt to latest merge
* Baseruleset control - unpolished draft + max zoom out
* MapEditorV2 - merge fixes, base ruleset and mod control, texture loader fix, pedia links, translation, load mod maps, continent visualization, minor improvements and fixes
* MapEditorV2 - removed old editor
2022-04-19 13:17:44 +03:00
Yair Morgenstern
5ad258ca47
Added very basic "flash red on attack" battle animations
2022-04-19 12:39:14 +03:00
Yair Morgenstern
dbaf4edb2f
Resolved #6559 - Air units with no space in the city cannot be selected for construction
2022-04-18 12:26:35 +03:00
Yair Morgenstern
e296604b24
Resolved #6560 - unpillagable improvements removed entirely on nuke
2022-04-18 11:55:43 +03:00
Xander Lenstra
a92057eed5
Made 'go to on map' translatable & fixed crash ( #6565 )
2022-04-18 11:48:03 +03:00
Yair Morgenstern
3d93dafb13
AIs don't add double agreements to counteroffers
2022-04-18 11:46:48 +03:00
Xander Lenstra
e11a32bb41
Fixed two small bugs ( #6558 )
2022-04-17 18:06:39 +03:00
Yair Morgenstern
06569e6c5f
Clearer "owned" resource
2022-04-17 14:18:16 +03:00
Yair Morgenstern
8b5665a73f
Resolved #6445 - problems in hosting Unciv server
...
Solution from https://stackoverflow.com/questions/56533497/how-to-replace-blocking-code-for-reading-bytes-in-kotlin
2022-04-17 13:26:04 +03:00
Yair Morgenstern
6b99b11179
Resolved #6527 - replacementTextForUniques activates for units when picking nations
2022-04-17 13:22:57 +03:00
Xander Lenstra
0230575473
Tested and reworked the 'unit upgrades for free' unique till it worked ( #6555 )
2022-04-17 08:01:22 +03:00
Xander Lenstra
d3b17117da
Added a 'go to capital'-button in the diplomacy overview screen ( #6546 )
2022-04-16 23:31:13 +03:00
itanasi
7a89c84790
Air Units take damage in Combat ( #6533 )
...
* Changes required
Add isAirUnit to iCombatant
* Updating XP Rewards to match Civ5
Add isAirUnit() Boolean for ICombatant
* Air Units can only Intercept if they haven't moved this turn
* Change Intercept to only have the highest chance unit take the chance
* Exempt the defending unit from being able to Intercept
Add back in tryInterceptAirAttack() for all units of a civ to attempt intercept
* Combine back to 1 function.
Add filtering for defender
* Fix logic bug
* Change base damage to be centered on 25f (instead of 30f) if City is attacking. addRandomDamage is a guess
* Revert dmanageModifier code
* XP fix
Co-authored-by: itanasi <spellman23@gmail.com>
2022-04-16 23:06:30 +03:00
Leonard Günther
8457c7ab1d
Fixed TurnChecker crash when using custom server ( #6554 )
2022-04-16 23:06:07 +03:00
itanasi
e5ef660157
Updating XP Rewards. Interception now gives XP ( #6543 )
...
* Updating XP Rewards to match Civ5
Add isAirUnit() Boolean for ICombatant
* Revert Melee XP
Co-authored-by: itanasi <spellman23@gmail.com>
2022-04-16 23:04:17 +03:00
itanasi
0e8a22a1e8
When capturing Civilian, stop current action ( #6542 )
...
* On captureCivilianUnit, stop current action
* Remove excess import
Co-authored-by: itanasi <spellman23@gmail.com>
2022-04-15 16:23:00 +03:00
Yair Morgenstern
94e8264d36
4.0.6-patch1
...
Better timesaving for arrows that doesn't keep arrows when we disable view
2022-04-13 21:17:41 +03:00
SomeTroglodyte
04c9be38c7
MusicController - Can catch exceptions from Gdx.app.loop and replaces Timer on desktop with a callback from OpenALLwjgl3Audio.update ( #6526 )
2022-04-13 18:30:01 +03:00
Xander Lenstra
b45a2f471e
Fixed a bug where production would not be retained when changing from an obsolete unit to its upgraded version when that upgraded version was unique to the nation ( #6520 )
...
* Fixed a bug where production would not be retained when chaing from an obsolete unit to its upgraded version when that upgraded version was unique to the nation
* Removed function
* Extracted to val
2022-04-13 18:29:50 +03:00
Yair Morgenstern
84ca296a5c
Discord suggestion - have allied city states see all tiles of their ally, so they can support them militarily
2022-04-10 22:13:27 +03:00
Yair Morgenstern
a46923a187
Bad import got in
2022-04-09 23:15:48 +03:00
Yair Morgenstern
9169ec1e42
Hopefully got rid of ANRs when entering a link when the app has been closed for too long? I think that's the problem?
2022-04-09 23:08:12 +03:00
Yair Morgenstern
76284c923e
Hopefully got rid of ANRs on shutdown
2022-04-09 23:00:33 +03:00
Yair Morgenstern
15f3e47809
Don't update arrows if the user isn't displaying arrows - this is most users
2022-04-09 22:57:48 +03:00
Yair Morgenstern
b8d9dd1af3
Hopefully improved continuous rendering's framerate, to solve some ANRs
2022-04-09 22:51:18 +03:00
Yair Morgenstern
a8484eea6f
Resolved #6513 - Diplomatic Victory check not triggering for human player
2022-04-09 22:37:40 +03:00
Yair Morgenstern
1c13201a23
Added borders to minimap ( #6506 )
...
* Added borders to minimap
* Heavier borders
* Minimap improvements after @SomeTroglodyte's comments
2022-04-09 22:35:15 +03:00
SomeTroglodyte
fe82f773da
Make Icons clickable in religions per city display ( #6497 )
...
* Make Icons clickable in religions per city display
* Add tutorial mention of the religious icon click feature
* Fix merge import mistakes
2022-04-09 22:18:19 +03:00
SomeTroglodyte
eaef02bac6
Nicer NotificationScroll ( #6511 )
...
* Nicer NotificationScroll
* Nicer NotificationScroll - patch1
2022-04-09 21:21:32 +03:00
Yair Morgenstern
286e800b96
Resolved #6492 - package reorg
2022-04-08 13:01:37 +03:00
Xander Lenstra
c45885c763
Fixed a bug where crosshairs are everywhere with the 'attack when embarked' unique ( #6507 )
2022-04-08 12:26:45 +03:00
Leonard Günther
a2a8c0aab5
Fixed turn checker crashes ( #6508 )
...
* Fixed turn checker failure
when UncivGame.current goes out of scope
* Cleanup
* Less changed lines
* Added documentation
2022-04-08 12:26:29 +03:00
Yair Morgenstern
3a5900b442
Cities that become capital no longer continue being razed
2022-04-08 00:45:11 +03:00
Yair Morgenstern
5a368e47d9
Resolved #6490 - custom User-Agent for requests
...
Also solved default port override, which is not ideal
2022-04-06 23:17:53 +03:00
Yair Morgenstern
9ef42f2a56
Caught bad URL parsing exceptions
2022-04-06 23:04:15 +03:00
Yair Morgenstern
360d739b97
Resolved ANRs when opening Options menu
...
Was due to system fonts taking a long time to load
2022-04-06 22:57:27 +03:00
SomeTroglodyte
83327dabe8
Fix Goddess of Protection - maybe ( #6493 )
...
* Fix Goddess of Protection - maybe
* Improve TextSimilarity for case-only differences
2022-04-06 20:24:35 +03:00
SomeTroglodyte
a4babeda0b
Move SimpleHttp object ( #6479 )
...
* Change TabbedPager mechanism to communicate page activation
* Change TabbedPager mechanism for fixed content
* OptionsPopup better use of TabbedPager
* TabbedPager arrow keys
* After-merge patch
* Move SimpleHttp
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2022-04-05 21:05:59 +03:00
SomeTroglodyte
8385f814a6
Tabbed pager architecture update ( #6460 )
...
* Change TabbedPager mechanism to communicate page activation
* Change TabbedPager mechanism for fixed content
* OptionsPopup better use of TabbedPager
* TabbedPager arrow keys
* After-merge patch
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2022-04-04 18:06:58 +03:00
Yair Morgenstern
5876047bda
Resolved #6469 - solved check server connection errors on Android
2022-03-31 23:36:42 +03:00
SomeTroglodyte
357800a80e
Missing translations cleanup ( #6452 )
2022-03-31 23:14:35 +03:00
Xander Lenstra
d417556720
Added a unique for attacking when embarked ( #6464 )
...
* Added a unique for attacking when embarked
* Implemented requested changes
* Fixed withdrawel probability
2022-03-31 23:06:42 +03:00
청하늘
d87d83f686
Improved city name generation ( #6446 )
...
* Improved city name generation
* Improved city name generation 2
* Optimized city name generation
2022-03-31 23:05:54 +03:00
Xander Lenstra
72b4d2069e
Typed denmarks unique and generalized it ( #6463 )
...
* Typed denmarks unique and generalized it
* Added support for deprecated unique
2022-03-31 23:05:37 +03:00
SomeTroglodyte
90a172ab02
Remove re-orientation for OptionsPopup ( #6466 )
2022-03-31 23:03:57 +03:00
Yair Morgenstern
6315a16d98
Changed server connection to URL-based to allow connection to uncivserver.xyz
2022-03-31 23:03:14 +03:00
SomeTroglodyte
133e3f72f9
Fix enabled buildings not displaying in games without nukes ( #6454 )
2022-03-29 20:57:25 +03:00
Yair Morgenstern
5ab44dd945
4.0.2
2022-03-28 22:03:23 +03:00
SomeTroglodyte
477ac78856
City Info Table Expanders - fix persistence and resizing, close/open all button ( #6441 )
...
* Fix CityInfoTable expander persistence and resizing issues
* CityInfoTable button to close/open all expanders
2022-03-28 17:34:40 +03:00