proteus-anguinus
323613ba02
Rework options UI ( #2367 )
...
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Reworked Options Menu: Clarity, No Scroll jump, less repaints
* Reworked Options Menu: Minor cosmetic change
* Reworked Options Menu: Removed test code
2020-04-10 10:22:53 +03:00
SomeTroglodyte
25a5559969
Keyboard support for Next-button and Unit actions redone ( #2372 )
2020-04-10 10:16:22 +03:00
proteus-anguinus
33da0e3a7f
Optimize conditional tutorials ( #2378 )
...
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Optimize-Tutorial-Conditions: Measure 'Before'
* Optimize-Tutorial-Conditions: Deferred tests
* Optimize-Tutorial-Conditions: Remove instrumentation
2020-04-10 10:13:17 +03:00
proteus-anguinus
757fa7eeb7
Language picker and new installs ( #2353 )
...
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Re-think of the New-Installs Language Picker
* Language picker and new installs - reworked how flag is cleared
2020-04-10 10:11:34 +03:00
proteus-anguinus
d15abd66b6
Scroll panes get scrollfocus automatically ( #2358 )
...
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* ScrollPanes steal and release focus automatically
* ScrollPanes steal and release focus automatically: Commented & param names
2020-04-08 16:30:10 +03:00
proteus-anguinus
9f46ceea24
Fix Back=Leave game on Android, ESC=Back, both in Popups ( #2356 )
...
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Back button fix, ESC, and behaviour of them in popups
* ESC/Back now work if there's no exitEvent
* ESC/Back: JackRainy is right, exit prompt now cancellable with same key
2020-04-08 15:55:00 +03:00
Yair Morgenstern
1ebe618761
Merge branch 'master' of https://github.com/yairm210/Unciv
2020-04-08 15:15:16 +03:00
Yair Morgenstern
eabf17186c
Hopefully resolved #2361 - added libdiscord-rpc.so for 32-bit linux
2020-04-08 15:15:04 +03:00
Jack Rainy
73aeaf6ad7
Autosize of the tech buttons ( #2346 )
...
* Autosize of the tech buttons
* Using minWidth parameter
2020-04-07 20:53:05 +03:00
Jack Rainy
e4fab26b43
Display the crosshair in alternate color for distant targets ( #2347 )
2020-04-07 11:37:14 +03:00
proteus-anguinus
5cd75188b3
Fortify until healed: Disable if no more movement points ( #2350 )
...
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Fix: Fortify until healed shouldn't be enabled when Fortify isn't
2020-04-07 11:36:32 +03:00
Jack Rainy
d7f5664efd
Using objects when classes are not needed ( #2329 )
...
* Using objects when classes are not needed
* Not used code cleanup
* Using objects when classes are not needed (part 2)
2020-04-06 20:29:41 +03:00
Jack Rainy
e869eb26f7
Display price for temporary unavailable purchases ( #2344 )
2020-04-06 20:06:24 +03:00
Yair Morgenstern
4bb92e2ffe
Resolved #2340 - cannot open multiple 'disband unit' popups for hash hack
2020-04-06 13:57:49 +03:00
proteus-anguinus
cee794b29c
Discord thread shutdown, last Autosave singlethreaded ( #2318 )
...
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Discord thread is now a timer and gets notified to shut down
Solved truncated Autosaves: Made it singlethreaded within shutdown.
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2020-04-06 13:43:40 +03:00
Yair Morgenstern
adb52acd24
Tutorial tests fixed, this is becoming tedious fast.
2020-04-06 11:57:45 +03:00
Yair Morgenstern
c8c2bbb00a
Policy screen does not auto-open when you have a free policy, instead coming from clicking the 'next turn' button - should help us solve the "screen unresponsive when I have a free policy" problem, if not eliminate it entirely
2020-04-05 10:54:16 +03:00
Jack Rainy
29a077a803
Forts and citadels (with AI) ( #2325 )
...
* Enabled Forts & Citadels
* Friendly territory checks
* Citadel damage & notifications
* Sprites, Icons, Translation & Atlas
* Obsolete tests are removed
* NullReferenceException code is fixed
* Refactoring: using the static object
* AI for the forts and citadels
* Display defence stats
* Exclude enemies tiles as candidates
Co-authored-by: r3versi <fluo392@gmail.com>
2020-04-03 11:22:27 +03:00
proteus-anguinus
10762a3873
Desktop window size restore ( #2319 )
...
* Bring Incas into the main game
(also changes slinger withdraw ability to inheritable)
* Update Nations.json
* Small version: remember window size only, and leave positioning to Gdx
2020-04-03 10:33:46 +03:00
Yair Morgenstern
8f583732aa
Not being able to read the settings file shouldn't make you crash
...
Happened to 2 users out of almost 400K, but it's an easy fix so why not help the 0.005%
2020-04-03 10:28:49 +03:00
proteus-anguinus
0289af28ce
Update GameSettings.kt ( #2320 )
...
__This__ nuclearWeaponEnabled is now a zombie.
2020-04-03 09:59:20 +03:00
Jack Rainy
ec0f41d015
NullReferenceException code is fixed ( #2326 )
2020-04-03 09:58:49 +03:00
Yair Morgenstern
2a23d1db6c
Uncivbot moved to its own repo, for future hosting reasons
2020-04-02 14:50:56 +03:00
Jack Rainy
dde01738de
New wonders: Mausoleum of Halicarnassus, Statue of Zeus ( #2301 )
...
* New wonder: Mausoleum of Halicarnassus
* New wonder: Statue of Zeus
* Obsolete tests are removed
2020-04-01 20:12:25 +03:00
Yair Morgenstern
4ab154ea99
I forgot that tutorials have an Enum, kudos to Travis
2020-04-01 16:52:44 +03:00
Yair Morgenstern
8965074cc3
Resolved #2135 - added tutorials for Research Agreements, Combat and Experience
...
The Pillaging tutorial is now available in Civilopedia
Updated translations to reflect new tutorials
2020-04-01 16:40:07 +03:00
Yair Morgenstern
dffd377510
Nuclear weapons setting moved to a per-game parameter
2020-04-01 16:09:13 +03:00
Yair Morgenstern
567a9446ad
Removed pre-3.0 deprecated fields - there's a limit to how long you can reasonably stay backwards-compatible to older saves
2020-03-31 23:10:48 +03:00
Yair Morgenstern
4e365acd6b
3.6.14-patch1
...
Fixed crash when non-resource trades are made
2020-03-31 14:15:13 +03:00
Yair Morgenstern
93e4888191
AI will not constantly bug you about research agreements
2020-03-30 23:25:35 +03:00
Jack Rainy
b212f2bfd0
UI bugfixes: city info and aircrafts ( #2289 )
...
* Display aircraft icon even for full carriers
* Do not reveal strategic city information like aircrafts or units near by
2020-03-30 23:06:18 +03:00
Yair Morgenstern
c04b450a70
Translations ( #2288 )
...
* Update Polish.properties (#2275 )
* Update Italian.properties (#2276 )
* Update French.properties (#2279 )
* Traditional Chinese Update (#2283 )
Update for the traditional Chinese translations.
* Update translations + notification about generated translation files (#2280 )
* Translations
* Notify about successful creation of the files
* A few more translations
* Misprint is corrected
* Translations for Inca
* Translation updates
Co-authored-by: RadioMagnetofonStereofoniczny <remixionmix@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: RobertGine <61517798+RobertGine@users.noreply.github.com>
Co-authored-by: The Bucketeer <57716526+GeneralWadaling@users.noreply.github.com>
Co-authored-by: Jack Rainy <JackRainy@users.noreply.github.com>
2020-03-30 22:14:49 +03:00
Jack Rainy
fcd25978c9
Display the hidden units indicators ( #2274 )
2020-03-30 09:19:39 +03:00
proteus-anguinus
4064f2c2cf
Fix: Unit Range in Civilopedia Nation Unique Units ( #2286 )
...
unit range when shown as difference to base unit for a unique unit is placed twice.
I haven't checked the impact on translations or playtested.
2020-03-30 09:17:37 +03:00
Jack Rainy
0290051aa0
Ability to place the resources over the terrain features ( #2270 )
...
* Ability to place the resources over the terrain features
* Fossils can be found under the forest
* Revert previous commit "Fossils can be found under the forest"
This reverts commit 4e1fcd8c45ffd08090ce4b808d228636bfccfc6b.
* Ignore the vegetation and spawn the resource right under it
2020-03-29 22:41:27 +03:00
Jack Rainy
f79d01162b
Better handling of WSAD without CPU burden ( #2284 )
2020-03-29 21:24:09 +03:00
Jack Rainy
37e322a631
Decrease of the battery usage ( #2281 )
...
* Decrease battery usage: no animation of damage in the health bar
* Decrease battery usage: no WSAD support for Android
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2020-03-29 16:31:24 +03:00
Yair Morgenstern
0db473e5bc
Constructions requiring missing resources once again shown in city construction choices
2020-03-29 16:19:07 +03:00
Yair Morgenstern
b0a74dfa86
Resolved #1964 - Construction resource consumption is explicitly stated in construction picking and queue
2020-03-29 14:50:40 +03:00
Yair Morgenstern
806a0e2269
Resources in Civilopedia state unit and buildings that consume the resource - #1964
2020-03-29 14:29:19 +03:00
Yair Morgenstern
378f56207c
Resolved #1779 - Can now lock worked tiles to prevent them from being unassigned
2020-03-29 12:42:58 +03:00
Yair Morgenstern
9785cafa54
Resoved #1869 - added WASD support for map panning
2020-03-29 11:37:20 +03:00
Yair Morgenstern
387e415fe9
Resolved #1885 - Both sides of per-turn trades end at the same time, resources offered in trade requests are not considered yours for that turn
2020-03-29 10:20:50 +03:00
Yair Morgenstern
c6d054431c
Cities in unit overview are translated - #2242
2020-03-29 01:51:33 +03:00
Yair Morgenstern
29624bfa12
Revealed resources generate notifications even if they're outside of your current city borders (but close enough)
2020-03-29 01:48:15 +03:00
Yair Morgenstern
4331407398
Harbors immediately connect cities to the trade network
2020-03-29 01:37:52 +03:00
Yair Morgenstern
0387ce4ff6
Translations ( #2273 )
...
* Translations for unit ability withdraw before melee (#2255 )
* update Chinese translation. (#2263 )
* Update Czech.properties (#2262 )
* Update Czech.properties
fixed typo, used better Iver88's translations lost due to conflict
* Update Czech.properties
correct "achaemenid" form
* Portuguese translations (#2271 )
* Updated Portuguese translations
* Fixed typos and missing letters.
* Update Polish.properties (#2258 )
* Update Polish.properties
* fix "x"
* hotfix v2
* Cities Translations
* Update Polish.properties
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Update Italian.properties (#2259 )
* Translations (#2268 )
* Translations
* Withdraw translations
* Translation file generation moved to game options,, so game modders can generate files in-game and not need to build Unciv from scratch
* Translation updates
Co-authored-by: proteus-anguinus <github2015@rheinig.de>
Co-authored-by: lishaoxia1985 <49801619+lishaoxia1985@users.noreply.github.com>
Co-authored-by: stoupa007 <60326342+stoupa007@users.noreply.github.com>
Co-authored-by: W Gomes <42829628+w-gomes@users.noreply.github.com>
Co-authored-by: RadioMagnetofonStereofoniczny <remixionmix@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Jack Rainy <JackRainy@users.noreply.github.com>
2020-03-28 22:32:32 +03:00
Yair Morgenstern
55ffd94af5
All cityinfo functions now work with same definition of 'food we'll get next turn', to avoid silly arithmetic errors
2020-03-28 21:51:09 +03:00
Yair Morgenstern
9f0ee0d578
Merge branch 'master' of https://github.com/yairm210/Unciv
2020-03-28 21:42:32 +03:00
Yair Morgenstern
2c83bd0896
Errors from icorrect pathing were happening in another function, so got rid of all passing around of unitTilesToDistance, for good measure
2020-03-28 21:41:14 +03:00