Alexander Korolyov
5356e63249
Refactor UncivGame initialization - add UncivGameParameters. ( #2779 )
2020-06-29 20:05:58 +03:00
Yair Morgenstern
79ff8c2ecf
Fixed broken tests due to 'impassible' changes
2020-06-28 20:48:51 +03:00
Yair Morgenstern
18b2c5868b
Hopefully mitigated some very odd multiplayer-checker-related crashes
2020-06-27 23:57:22 +03:00
Yair Morgenstern
1bb26c579d
All UI changes in MultiplayerScreen now use postRunnable to run on the main thread
2020-06-27 23:51:05 +03:00
Yair Morgenstern
cba9995f99
Fixed natural wonders not being considered 'impassible' for certain things (e.g. ancient ruins spawn)
2020-06-27 23:40:40 +03:00
Yair Morgenstern
3a42be7b77
Merge tag '3.9.6'
2020-06-25 23:04:21 +03:00
Yair Morgenstern
4c0a5d66ce
3.9.6
2020-06-25 23:02:23 +03:00
Alexander Korolyov
4c7970f5d7
Slightly change mechanics of simulateUntilWin ( #2772 )
...
* Slightly change mechanics of simulateUntilWin
* Forgot to turn off some debugging switch
2020-06-25 22:32:00 +03:00
Alexander Korolyov
aa677042dd
New icon for "Load Scenario" ( #2768 )
...
* New icon for "Load Scenario"
* Javadoc comments
2020-06-25 22:30:39 +03:00
Daniel Bälz
5753115c30
Fix not translated notifications ( #2715 )
...
* Translate notification strings before they are shown. Fixes #2703
* Respect translations from active mods for placeholder translations
* Revert translation call to avoid issues in multiplayer. Still works without it.
2020-06-24 23:58:16 +03:00
Alexander Korolyov
de03a727f6
Scenarios editor first part of changes ( #2764 )
...
* Unnecessary line.
* First part of changes
* All features required for basic functionality were implemented.
Additional features:
- Sync between player adding/deleting and it's unit on map editor
- Sync between player's nation change and all it's units
Final prototype ready for beta-test.
* Second part of commits
* Small fix of TileMap.stripAllUnits
* Small post fixes.
Bring back deleting rivers, accidentally removed during merging.
* Fixes by your comments
* reverse if statement for "Random" chosenCiv
* tileEditorOptions take updated this.gameParameters from constructors
* updated unit placement.
Check validity by unit.canMoveTo()
Correct airunit placement in carriers.
* tileMap.stripAllUnits() refactor
2020-06-24 23:47:34 +03:00
uncivbot[bot]
e4a5f2af18
Translations update ( #2766 )
...
* Update Korean.properties (#2755 )
* Update Korean.properties
* Update Korean.properties
* Update Indonesian.properties (#2756 )
* Added translation for "Great improvement" (#2760 )
* Update Russian.properties (#2763 )
Co-authored-by: TG <saud2410@naver.com>
Co-authored-by: Kensvin <63847755+Kensvin28@users.noreply.github.com>
Co-authored-by: alfoirazabal <49956896+alfoirazabal@users.noreply.github.com>
Co-authored-by: Bada <64350251+BadaTheBada@users.noreply.github.com>
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2020-06-24 23:46:36 +03:00
Yair Morgenstern
a23d9ff291
Resolved #2761 - Tutorial titles are auto-added to the translation files
2020-06-24 23:44:17 +03:00
soggerr
213f71def3
Improve performance of multiplayer load poll ( #2758 )
...
* Switch to schedule instead of schedulefixedrate to prevent floodgate of requests after long delays
* Move everything possible off of main thread so user can have smoother interaction with game during poll
2020-06-24 23:13:04 +03:00
Yair Morgenstern
0f09ed2800
3.9.5
2020-06-21 19:26:17 +03:00
uncivbot[bot]
acedcc6da4
Translations update ( #2752 )
...
* Update Italian.properties (#2740 )
* Update Japanese.properties (#2741 )
* Update Japanese.properties
* Update Japanese.properties
* Update Korean.properties (#2743 )
* Update Korean.properties
* Update Korean.properties
* Update Ukrainian.properties (#2751 )
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: paontv <57051667+paontv@users.noreply.github.com>
Co-authored-by: TG <saud2410@naver.com>
Co-authored-by: Prosta4okua <31485341+Prosta4okua@users.noreply.github.com>
2020-06-21 19:21:24 +03:00
lyrjie
e18bfa0053
Replaced the List with MutableList to avoid creating new ones on adding/removing values ( #2746 )
2020-06-20 23:10:02 +03:00
lyrjie
835c0832e2
Fixed strategic resources generation ( #2745 )
...
* Fixed strategic resources generation
* Removed the already PR'd part
2020-06-20 23:09:15 +03:00
alkorolyov
f6b738a04a
Now clearCurrentMapButton and TerrainsAndResources clears rivers.
2020-06-20 23:07:22 +03:00
Yair Morgenstern
b49fba6955
Fixed coast tiles around nat wonders spawning land-type tings, hopefully
2020-06-20 23:04:53 +03:00
Duan Tao
b2d0a10f0e
Fix oil generation in sea.
2020-06-20 23:04:06 +03:00
Duan Tao
3150c1783c
Fix forest display in Default tileset.
2020-06-20 22:57:10 +03:00
Yair Morgenstern
288e6877ba
3.9.4
2020-06-17 20:05:55 +03:00
uncivbot[bot]
ac59584caf
Translations update ( #2738 )
...
* Update Japanese.properties (#2731 )
* Minor update Russian.properties (#2737 )
* Update Indonesian.properties (#2734 )
Co-authored-by: paontv <57051667+paontv@users.noreply.github.com>
Co-authored-by: Bada <64350251+BadaTheBada@users.noreply.github.com>
Co-authored-by: Kensvin <63847755+Kensvin28@users.noreply.github.com>
2020-06-17 20:01:52 +03:00
Yair Morgenstern
1b73aab856
Opening the New Game screen from within a game saves the previous game parameters, map generation parameters work again
...
@alkorolyov
2020-06-17 19:56:20 +03:00
Yair Morgenstern
604a41ca6c
Merge branch 'master' of https://github.com/yairm210/Unciv
2020-06-16 20:35:47 +03:00
Yair Morgenstern
4e0d819d01
Resolved #2662 - left side of the screen no longer becomes unresponsive to player input after changing from a selected unit to a selected city
2020-06-16 20:35:29 +03:00
Alexander Korolyov
62b7138580
Fix error during saving scenario when empty name. ( #2732 )
...
* Fix error during saving scenario when empty name.
Safe saving and check for empty name.
* New Screen instead of popup for Game Parameters, during editing/creating scenario.
* Now game parameters information is correctly loaded with scenario.
2020-06-16 20:26:03 +03:00
Yair Morgenstern
6900e28671
Resolved #2735 - Diplomatic "Friends with friend/enemy" modifiers are recalculated every turn
2020-06-16 20:24:11 +03:00
Yair Morgenstern
ac0c874061
Great improvements are marked as such in the Civilopedia
2020-06-15 20:20:48 +03:00
Alexander Korolyov
9547b82054
Continue work on Scenario functionality ( #2726 )
...
* Hide all scenarios functionality behind switch in Unciv class.
* Refactoring:
1) abstract class changed to interface
2) rulset added to GameSetupInfo class
Fixed screen bug during map editing
* Added Load/Edit/Delete buttons for scenario functionality.
* Hide recently added scenario buttons behind debugSwitch.
2020-06-15 20:12:29 +03:00
Yair Morgenstern
46dd66d343
3.9.3
2020-06-14 23:53:11 +03:00
uncivbot[bot]
a372ed7ed9
Translations update ( #2728 )
...
* Update Russian.properties (#2709 )
New lines are translated
* Update Ukrainian.properties (#2711 )
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Ukrainian.properties
* Update Indonesian.properties (#2720 )
* Update Korean.properties (#2712 )
* Update Korean.properties
* Update Korean.properties
* Update Korean.properties
* Update Korean.properties
* Update Japanese.properties (#2721 )
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Brazilian_Portuguese.properties (#2727 )
Co-authored-by: Bada <64350251+BadaTheBada@users.noreply.github.com>
Co-authored-by: Prosta4okua <31485341+Prosta4okua@users.noreply.github.com>
Co-authored-by: Mulaiz Jorigo <66756998+NexVanca@users.noreply.github.com>
Co-authored-by: TG <saud2410@naver.com>
Co-authored-by: paontv <57051667+paontv@users.noreply.github.com>
Co-authored-by: Werlichz <66792554+Werlichz@users.noreply.github.com>
2020-06-14 23:39:35 +03:00
Yair Morgenstern
9b37f0a907
Resolved #2723 - resource-specific improvement bonuses are *in addition to* the regular improvement bonuses, and not instead.
2020-06-14 20:52:00 +03:00
Alexander Korolyov
c3da044c43
Adding units on map editor. ( #2667 )
...
* Adding units to map editor.
* loadScenario checkbox Prototype added to MapOptions table.
* adds switch for Scenario and Unit editor debug
* New Scenario class
* Background step1:
1. Create a new class Scenario, containing TileMap, GameParameters and string name (doesn't really matter where, we can move it around later)
2. Create SaveScenario and LoadScenario functions in MapSaver (save to/ load from scenario name)
* Prototype of Save/Load scenario implementation.
* Add update method to NewGameOptionsTable
* First working Save/Load scenario prototype
* First working prototype of Load/Save scenario
* Added test conditions for the new debug modes
* Resolve merge conflict
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2020-06-13 22:53:04 +03:00
Yair Morgenstern
1961aa7245
Code for era-based city images is go, the current era city images hide the rivers behind them so it's temporarily disabled
2020-06-10 22:00:32 +03:00
Yair Morgenstern
86d54bd3fe
Resolved #2708 - added rivers to plain tileset
2020-06-08 19:34:25 +03:00
Yair Morgenstern
41355633cd
3.9.2
2020-06-07 22:28:08 +03:00
Yair Morgenstern
21f9df63dd
Clicking the menu button when it is open closes the menu - #2706
2020-06-07 22:19:22 +03:00
Yair Morgenstern
4cbd279713
Resolved #2704 - Rome starts avoid extreme temperatures
2020-06-07 21:55:31 +03:00
Yair Morgenstern
f03c0c6de2
Translation updates
2020-06-07 21:52:29 +03:00
uncivbot[bot]
258b2f587c
Translations update ( #2707 )
...
* Update Korean.properties (#2700 )
* Update Korean.properties
* Update Korean.properties
* Update Korean.properties
* Update Korean.properties
* Update Italian.properties (#2698 )
* Finish spansih translation (#2705 )
* Lithuanian.properties (#2692 )
* Lithuanian.properties
fixed several errors in the text, added translation of diplomacy and cities of states
* Update Lithuanian.properties
Co-authored-by: TG <saud2410@naver.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Álvaro Ferrero <alfedi3867@hotmail.com>
Co-authored-by: teodor24 <65969302+teodor24-real@users.noreply.github.com>
2020-06-07 21:36:35 +03:00
Yair Morgenstern
bc458c72ff
Move units out of cities when liberating
2020-06-07 21:27:27 +03:00
Väinö Mäkelä
05ae6fc81f
Don't draw text on worker threads ( #2701 )
...
Drawing text requires OpenGL context if new characters need to be
rendered.
2020-06-07 19:14:27 +03:00
Yair Morgenstern
31b9faaf23
New translations
2020-06-05 12:40:22 +03:00
uncivbot[bot]
e314475bdc
Translations update ( #2697 )
...
* Update template.properties (#2685 )
* Update template.properties
Also preparing for the Aztecs
* Update template.properties
* Update Russian.properties (#2688 )
New tutorial lines are translated
* Update Italian.properties (#2695 )
* Update Korean.properties (#2694 )
* Update Korean.properties
* Update Korean.properties
* Update Korean.properties
* Update Japanese.properties (#2693 )
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Simplified_Chinese.properties (#2696 )
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Bada <64350251+BadaTheBada@users.noreply.github.com>
Co-authored-by: saud2410 <64586749+saud2410@users.noreply.github.com>
Co-authored-by: paontv <57051667+paontv@users.noreply.github.com>
Co-authored-by: Doubi_TS <48427744+tianshidoubi@users.noreply.github.com>
2020-06-05 12:37:39 +03:00
Yair Morgenstern
677a258375
3.9.1
2020-06-03 19:36:42 +03:00
uncivbot[bot]
6bb555a666
Translations update ( #2687 )
...
* Update Japanese.properties (#2681 )
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Japanese.properties
* Update Spanish.properties (#2682 )
I just checked some Grammar errors that capted my attention while playing and also translated some lines that I consider an Accurate translation
* Update Russian.properties (#2683 )
* Update Russian.properties
New lines are translated
* Update Russian.properties
Translation issue closed
* Update Italian.properties (#2686 )
Fix
Co-authored-by: paontv <57051667+paontv@users.noreply.github.com>
Co-authored-by: WhiteRoar <63148999+WhiteRoar@users.noreply.github.com>
Co-authored-by: Bada <64350251+BadaTheBada@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2020-06-03 19:26:53 +03:00
Yair Morgenstern
713ee08bf9
Buildings requiring a nearby resource can be constructed even when the tile belongs to another city
2020-06-03 19:26:39 +03:00
Yair Morgenstern
35ff2a38f5
Apparently I removed the nat wonders, causing tests to fail. Lucky the tests are there, or the tutorial would be gone!
2020-06-03 19:14:15 +03:00