Commit graph

582 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
034f6b0860 Finding map tiles now works with a matrix instead of a map - works MUCH faster! 2018-08-20 09:19:37 +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
4c5e6a8a39 TileMap that was saved in memory changed to TileList, to give more freedom with how we save tiles - TileMap now generated on runtime 2018-08-18 21:48:40 +03:00
Yair Morgenstern
06091d640d civ units are now cached and not calculated every time 2018-08-17 14:45:48 +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
749ff90fe0 Policy screen translated 2018-08-17 11:44:20 +03:00
Yair Morgenstern
abef1a64e5 Merge branch 'master' of https://github.com/yairm210/UnCiv 2018-08-17 11:38:42 +03:00
Yair Morgenstern
8b90571a77 Fixed some concurrency problems 2018-08-17 11:38:19 +03:00
yairm210
3d93565582
Merge pull request #229 from Roumaan/master
New policies text lines Russian translation
2018-08-17 00:15:38 +03:00
Roumaan
c1098c19d1 Policies Russian translation complete 2018-08-16 23:50:00 +03:00
Yair Morgenstern
fe67fda906 Performance improvement - Moved all autosaving to save a *clone* of the current game in another thread, thus allowing the user to continue his game without having to wait for the game to save 2018-08-16 23:33:56 +03:00
Yair Morgenstern
b4fece29e0 Slight performance improvements for AI 2018-08-16 09:13:34 +03:00
Yair Morgenstern
1affaa38c2 Clicking the Back button when on diplomacy screen returns you to the world screen 2018-08-16 08:53:34 +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
Roumaan
9aedb6f964 Merge remote-tracking branch 'refs/remotes/yairm210/master' 2018-08-15 00:06:13 +03:00
Roumaan
4e89c037f9 Merge remote-tracking branch 'refs/remotes/yairm210/master' 2018-08-14 23:58:47 +03:00
Yair Morgenstern
26b3366d93 Added all policy translation lines 2018-08-14 19:24:47 +03:00
Yair Morgenstern
f9632b4151 Back button now acts like the "close" button, returning you to the upper-level screen (usually the world screen) 2018-08-14 19:09:58 +03:00
Yair Morgenstern
27b4c2c2ab AI units now fortify when healing and prefer tiles with defensive bonuses while healing 2018-08-13 09:25:29 +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
Roumaan
4016b1125f Translated some new tutorials
+one string translation at main file
2018-08-10 13:28:35 +03:00
Roumaan
3f63c4c107 Merge remote-tracking branch 'refs/remotes/yairm210/master' 2018-08-10 13:15:21 +03:00
Roumaan
d571d09c5e Some new translations 2018-08-10 13:14:07 +03:00
Roumaan
4764eee711 Merge remote-tracking branch 'refs/remotes/yairm210/master' 2018-08-10 12:35:49 +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
yairm210
0054ccc49e
Added credits for Crosshair and City icons 2018-08-09 21:14:13 +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
Roumaan
5dec00f2ae Oh forgot about this one 2018-08-09 17:25:22 +03:00
Roumaan
44bf3b05ec Adding tutorials Russian translation 2018-08-09 17:19:29 +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
yairm210
18b55d8fc0
Merge pull request #217 from Roumaan/master
Russian translation improvments
2018-08-08 22:54:33 +03:00
Roumaan
76d80b30ca Merge remote-tracking branch 'refs/remotes/yairm210/master' 2018-08-08 22:45:15 +03:00
Yair Morgenstern
9b38d0c33e Cities conquered in battle lose population 2018-08-08 18:34:23 +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