Commit graph

263 commits

Author SHA1 Message Date
Yair Morgenstern
5e1bccdc47 Organized clone functions
Found one last place where the unit was destroyed manually and not using the destroy() function =\
2018-08-20 22:36:01 +03:00
Yair Morgenstern
040866609e Added effects of Militarism, Total War and Facism 2018-08-20 21:58:01 +03:00
Yair Morgenstern
f820b75fff Json is apparently not thread safe, so we now create a new instance for each stringify 2018-08-20 09:17:40 +03:00
Yair Morgenstern
1957c4ca80 Code reorganization - separated variables, pure functions and state-changing functions in all main logic classes 2018-08-17 13:36:23 +03:00
Yair Morgenstern
abef1a64e5 Merge branch 'master' of https://github.com/yairm210/UnCiv 2018-08-17 11:38:42 +03:00
Roumaan
c1098c19d1 Policies Russian translation complete 2018-08-16 23:50:00 +03:00
Yair Morgenstern
b1e17a67c6 Added Range, Sentry, Siege and Indirect Fire promotions
Units now get experience when capturing a city
2018-08-16 08:52:29 +03:00
Yair Morgenstern
26b3366d93 Added all policy translation lines 2018-08-14 19:24:47 +03:00
Yair Morgenstern
fee0b718ec Shrunk game size by 15% by including the images only when packed 2018-08-13 08:56:15 +03:00
Yair Morgenstern
bb25616b69 Fixed bug when playing with translations and constructing science, gold or nothing in a city 2018-08-12 20:45:17 +03:00
Yair Morgenstern
4c0372a8b5 When cities expand, units that aren't allowed to enter there are pushed to the closest moveable tile 2018-08-12 08:56:10 +03:00
Yair Morgenstern
4a35d2f3db Merge branch 'master' of https://github.com/yairm210/UnCiv 2018-08-10 18:31:39 +03:00
Yair Morgenstern
847bf9650d Changed the basic stat icons to not use the original Civ's 2018-08-10 18:31:18 +03:00
Roumaan
e5342de6cd I belatedly translated the tutorials +some minor translations (#227)
* Adding tutorials Russian translation

* Oh forgot about this one

* Some new translations

* Translated some new tutorials

+one string translation at main file
2018-08-10 13:47:36 +03:00
Yair Morgenstern
3515b0f6bd Added instructions to deal with situations where the game has crashed but we've noticed it 2018-08-10 11:35:56 +03:00
Yair Morgenstern
e51ac717d7 Better circle image, images no longer look all pixellated 2018-08-10 11:34:30 +03:00
Yair Morgenstern
c67d515ec4 Organized all game images and added TexturPacker to pack them all into a single image, with an atlas to find the texture regions -
MASSIVE boost in rendering performance!
2018-08-10 11:05:21 +03:00
Yair Morgenstern
4d27f7f769 Added icon to city tiles 2018-08-09 21:52:28 +03:00
Yair Morgenstern
4f727df216 Added crosshair image on attackable enemies 2018-08-09 21:04:25 +03:00
Yair Morgenstern
39cd9c9fa7 Merge branch 'master' of https://github.com/yairm210/UnCiv 2018-08-09 19:08:25 +03:00
Yair Morgenstern
6f2b845e13 Civilization class renamd to Nation, to have it be distinct from CivilizationInfo 2018-08-09 18:44:43 +03:00
Yair Morgenstern
186feab0c6 Added notification when enemy declares war on us 2018-08-09 18:36:37 +03:00
Yair Morgenstern
e6bc3a1ab7 Added tutorials when first encountering barbarians and other civilizations 2018-08-09 18:33:47 +03:00
Yair Morgenstern
b79b682376 Added "conquer defeated city with melee unit" tutorial 2018-08-09 10:23:10 +03:00
Yair Morgenstern
97bb4e05b9 Fixed bug where you could buy the same buildings multiple times - thanks vita10g! 2018-08-09 10:10:49 +03:00
Roumaan
76d80b30ca Merge remote-tracking branch 'refs/remotes/yairm210/master' 2018-08-08 22:45:15 +03:00
Roumaan
ca64d361f4 Adding Russian translation
policies, remove actions +minor additions. I think i finnally did it
2018-08-08 18:17:23 +03:00
Roumaan
07280104cc Merge remote-tracking branch 'refs/remotes/yairm210/master' 2018-08-08 17:23:08 +03:00
Roumaan
969e16787e Fixing out fixes 2018-08-08 17:16:49 +03:00
Yair Morgenstern
9d0035a8a6 AI now considers war on multiple civs, starting with the closest 2018-08-08 08:23:20 +03:00
Yair Morgenstern
3b83627386 Left side of diplomacy screen now scrolls 2018-08-07 07:39:44 +03:00
Yair Morgenstern
02fd349243 Massive AI combat improvements!
Added translations
2018-08-06 21:58:30 +03:00
Yair Morgenstern
a199801c82 Merge branch 'master' of https://github.com/yairm210/UnCiv 2018-08-06 21:23:52 +03:00
Roumaan
12d3d9f2e1 Merge remote-tracking branch 'refs/remotes/yairm210/master' 2018-08-06 19:14:08 +03:00
Roumaan
353ce16360 Fixing Ryssian translation 3
Fixed translation of  Eras, unique buildings effects, unit types, unit
uniques, policy picker screen, trade categories.
2018-08-06 19:09:28 +03:00
Yair Morgenstern
99c0abd24d Fixed crash when you would melee attack an enemy unit that was in a friendly civ's (unenterable) territory 2018-08-06 13:08:45 +03:00
Roumaan
ef60f86ab0 Fixing Russian trahslation 2
Fixed translatiaon of notifications, technologies and eras
2018-08-06 04:28:19 +03:00
Fantaziu Ion
f302bd412b
Major translations it/ru/fr/ro
Some units not translated cause never encountered and not know if exist. May be duplicates in other languages... Not shure.
//Check comments inside file
2018-08-06 01:59:43 +02:00
Roumaan
1f622e01c4
My first commit trying to fix russian translation
Just fixed some of the first lines. Commiting just to save changes from my browser, and continue working with files on my computer tomorrow. The translation we have now is very bad. And all I can do is just try to fix it with my terrible knowledge of English, enough that this translation at least started to make sense, hoping someone would be able to finish it completely. I hope you understood me.
2018-08-06 02:18:09 +03:00
Yair Morgenstern
2be6a5c15c AI construction choices now better and change between peacetime and wartime.
AIs now declare war on each other if they think they can defeat the other side
(Returned movement alg. to the way it was because the new way didn't allow ais to find enemy units, added comment)
2018-08-05 23:08:50 +03:00
Yair Morgenstern
e655d6620a Added LOADS of words to be translated - all buildings and units! 2018-08-05 16:12:46 +03:00
Yair Morgenstern
c3cdae12d4 Tutorials are now defined per language! 2018-08-04 23:57:53 +03:00
Yair Morgenstern
7983901435 Info on translation percentage in language picker screen 2018-08-04 21:50:56 +03:00
Yair Morgenstern
ec0ebc73f0 Expanded translation for new game screen and overview screen 2018-08-04 21:36:08 +03:00
Yair Morgenstern
215310b413 Diplomacy screen, declaring war, no entering frienly enemy territory 2018-08-02 21:21:30 +03:00
Yair Morgenstern
bf9e06445c All diplomacy now done from a separate screen 2018-08-02 14:59:53 +03:00
Yair Morgenstern
023c4cd1c6 Trade now almost entirely separate from Trade Screen, so the Trade screen can become a Diplomacy screen! 2018-08-01 22:41:23 +03:00
Yair Morgenstern
d8bb0eb9e5 Can now trade Peace Treaty! Which leads to actual fukken peace! 2018-07-31 17:48:57 +03:00
Yair Morgenstern
82c42e8528 Trade classes re now separate files 2018-07-30 13:30:13 +03:00
Smashfanful
28e068801a
Updated translation
Corrected Italian translation.
2018-07-29 11:23:50 +02:00