378c8ab511
Separated the unit image rendering from the background rendering to avoid texture swapping when rendering unit + background
2020-11-19 23:34:03 +02:00
223da7f531
More framerate improvement tricks - this was more than enough to offset the harm of the building and unit images, and went the other way!
...
The framerate started out before the image games as ~17-18 on the tested game, dropped to ~14-15 with the image changes, and is now at ~20-21~
2020-11-19 23:04:09 +02:00
2e668ddeb5
Made sure that labels are rendered after each other in the city button, so save on texture switches between the font and the image textures
2020-11-19 22:29:50 +02:00
35554f3ec6
Resolved #3330 - Texture is back to 2048*2048, by taking flags buldings and units out of the main image.
...
The cost is that there are texture swaps, and so framerate is hurt.
2020-11-19 21:44:09 +02:00
3176cd147a
We now check compatibility of newly selected mods to the existing mod ruleset
2020-11-16 21:18:17 +02:00
03193e4f61
Resolved #3071 - Disabled annoying camera momentum on Desktop
2020-11-16 20:42:24 +02:00
952e4cb958
Resolved #3341 - City-state diplomacy screen is shown properly when entering from a city button
2020-11-15 21:58:16 +02:00
f7a1633c33
Probably solved the Mysterious Disappearing C's this time for realz! #3327
2020-11-15 20:38:52 +02:00
9b2c1b2ace
We now try to load the last tturn-autosave whn loading the regular autosaves failed (e.g. when the save file is corrupt)
2020-11-14 22:58:05 +02:00
89751ca6ec
3.11.12
2020-11-14 22:55:19 +02:00
bf4216578a
3.11.12
2020-11-14 22:35:12 +02:00
fa887cf206
Spectator can handle free-policy-giving techs
2020-11-14 22:14:54 +02:00
96269c5c29
AI no longer nukes single units
...
Nuking is considered a declaration of war from the attacker, not the defender
2020-11-13 00:04:23 +02:00
62c42851ed
Can right-click to attack when a unit is selected
2020-11-12 21:13:24 +02:00
961579fd3d
City states can now conquer cities, as per Civ V
2020-11-12 19:41:48 +02:00
82fb9ee9fc
Mods can now remove promotions between versions without breaking existing saves
2020-11-12 19:35:52 +02:00
d3aabfb669
Fixed archaeological dig being built by workers in Civ V expansion mod
2020-11-11 23:48:07 +02:00
582cbeb932
Fixed key shortcuts in improvement picker screen
2020-11-11 21:52:48 +02:00
e8e9c97c92
AI won't declare war if it doesn't know the location of any enemy city
2020-11-11 21:22:15 +02:00
9693bf0dd6
Resolved #3324 - Great Person units no longer require a military unit to accompany them if they're close enough to the destination
2020-11-09 21:45:58 +02:00
86c6624f8e
Resolved #3326 - Settling a city removes the improvement in progress
2020-11-09 21:26:26 +02:00
5e116867e6
Resolved #3323 - improvement uniques are no longer added twice
2020-11-08 23:40:10 +02:00
e3fc967216
3.11.10-patch1
2020-11-08 23:39:05 +02:00
965b865422
Changed the tileGroup improvement image conparison from strings to lists, to save both time and (more importantly) string concating
2020-11-06 11:45:05 +02:00
4f344b65f8
We now remove resources and improvements that are not in the ruleset from the map when loading the game
2020-11-06 11:43:49 +02:00
1f1a2fe7bc
Mod repositories where the main branch is not "master" are not shown in the UI, since we can't download them
2020-11-05 21:46:04 +02:00
4e0c88cc20
AI no longer tries to construct work boats that can't reach their intended destination
2020-11-05 20:02:02 +02:00
d0dce25590
Fixed SetUserID ( #3319 )
...
SetUserID couldn't be used in main menu
2020-11-04 21:59:31 +02:00
ff8221de2d
Diplomatic penalty of stealing lands decreases by time. ( #3318 )
2020-11-04 10:25:55 +02:00
65524cb7dd
Removed exitEvent from the UncivGameParameters, since Gdx.app.exit() does the same thing :)
2020-11-04 00:09:11 +02:00
315a55f972
Resolved #3317 - mod management screen displays properly again
...
3.11.9-patch2
2020-11-03 23:23:02 +02:00
b5c9fb79bf
FIx bug Carrier-based aircraft not healing ( #3316 )
...
With reference to issue #3307
I think that aircraft on aircraft carriers were being treated at land units at sea.
I have added the check to test whether they are being transported so that they should now heal whilst on aircraft carriers.
2020-11-03 20:10:54 +02:00
d240c12292
Merge branch 'master' of https://github.com/yairm210/Unciv
2020-11-03 19:17:34 +02:00
a92d35eba1
3.11.9-patch1
...
Fixed silly crash from test code that shouldn't have been there...
2020-11-03 19:16:51 +02:00
23cab0d50c
Polynesia's unique "+[10]% Strength if within [2] tiles of a [Moai]" was not working correctly. The matchesUniqueFilter function didn't check for improvement on the tile. This was corrected and now Polynesia's unique works correctly. Any other improvement besides Moai will also work. ( #3315 )
2020-11-03 19:12:34 +02:00
f957dee357
Can no longer see other players' IDs in a multiplayer game through the new game screen
...
Moved the building mod check to all mods, not only ruleset mods
2020-11-02 23:00:45 +02:00
fb3048442c
Added mod check for upgrading to a unit with no required tech
2020-11-02 22:21:54 +02:00
cea8bdf12c
Added mod check for unit promotions
2020-11-02 22:02:22 +02:00
b495398c0e
Tile editor can handle resources that don't naturally appear on any terrain
2020-11-02 21:49:42 +02:00
1568ce90da
Updated to latest LibGDX
2020-11-02 21:48:43 +02:00
87b0af6c1c
AI can no longer raze capital cities
2020-11-02 20:21:44 +02:00
da5935e5c8
Stats unique can no longer crash badly defined mods
2020-11-01 19:37:29 +02:00
88ac6330dc
-"Unable to capture cities" unique prevents the unit from conquering/capturing a city. ( #3309 )
...
-Units with "All tiles costs 1" unique now spend all movement points when embarking.
Technically, in CIV 5, helicopters do not embark or spend all movement units when moving to water, if embarkation (Optics) isn't researched.
IMO, though, it is so unlikely that someone will have helicopters researched but not embarkation, that I don't think it is worth editing the code for this fringe case.
2020-10-30 10:01:27 +02:00
247350d6a1
Revert "-Terracotta Army, Alhambra, Hanse, Leaning Tower of Pisa, Neuschwanstein, and Hubble Space Telescope are no longer buildable or displayed in the pedia since they are not part of vanilla Civ 5. ( #3300 )" ( #3301 )
...
This reverts commit 49cdf09b44
.
2020-10-27 00:22:02 +02:00
49cdf09b44
-Terracotta Army, Alhambra, Hanse, Leaning Tower of Pisa, Neuschwanstein, and Hubble Space Telescope are no longer buildable or displayed in the pedia since they are not part of vanilla Civ 5. ( #3300 )
...
Their entries were kept in the json files so as to not break pre-existing save files.
-Units and buildings that are unbuildable are not shown in the pedia or tech picker as being unlockable by tech
2020-10-27 00:20:48 +02:00
b2c6cc59b7
All stat-based uniques are parsed EXACTLY once, for performance reasons and to avoid ANRs
2020-10-26 23:38:29 +02:00
a3bed178d0
Avoided another rare crash
2020-10-26 23:37:44 +02:00
250d7debb5
Avoided more badly-defined-mod crashes
2020-10-26 23:20:16 +02:00
64fc57e6d2
Helicopter Gunship uniques ( #3294 )
...
* Preparation for Helicopter unit
-"All tiles costs 1" unique makes every tile cost 1. Used by Helicopter in CIV 5.
-"Can pass through impassable tiles" unique allows unit to pass through any tile. Used by Helicopter in CIV 5. Does not let units cross ocean if they couldn't already, just terrain that is considered "impassable"
-Mountains now do 50 damage to units that end turn on it. In civ 5 and its expansion this is what happens to any unit that is able to pass mountains.
This is "hard coded" for now. Also added the notification text to template.properties
* mountains do not give sight bonus when on them
* Revert "mountains do not give sight bonus when on them"
This reverts commit 83ad3df5d4
.
2020-10-26 20:28:44 +02:00
3713923caf
Added mods to crash report, many crashes are caused by incorrectly defined mods
2020-10-24 23:16:16 +03:00