Commit graph

2781 commits

Author SHA1 Message Date
Yair Morgenstern
d2cb7173c1 AI now moved ranged units before melee, so that it will attack wil the ranged units first =) 2018-06-14 20:47:23 +03:00
Yair Morgenstern
b3a15d9d6e Merge branch 'master' of https://github.com/yairm210/UnCiv 2018-06-14 20:44:41 +03:00
yairm210
2e804dbd5e
Added notification text to translation json 2018-06-14 13:16:04 +03:00
Yair Morgenstern
5af940858b Added unhappiness tutorial + tutorial text is now a normal size 2018-06-14 08:42:59 +03:00
Fantaziu Ion
14ce37c932
Main translations added
Main translations for italian/russian/french and romanian.
2018-06-13 16:43:24 +02:00
Yair Morgenstern
0468adc130 If the selected unit was a civilian unit of ours that was captured, it is no longer selected. 2018-06-13 13:27:59 +03:00
Yair Morgenstern
0eb28ab679 Select box, text field and picker screens now look much nicer 2018-06-12 22:46:23 +03:00
Yair Morgenstern
66f2ad1f3e Merge branch 'master' of https://github.com/yairm210/UnCiv 2018-06-12 22:44:07 +03:00
Yair Morgenstern
e1df4b4840 Cached fonts for reuse - generating them takes valuable time! 2018-06-12 21:38:40 +03:00
Yair Morgenstern
9e3772a58d All text is now Roboto and much sharper!
Added lots of "Translatable" words
Organized City Screen a little bit
2018-06-12 21:28:17 +03:00
Yair Morgenstern
0c71c39bc2 If you raze your capital and you have another city, it becomes the new capital 2018-06-12 21:21:35 +03:00
yairm210
7261fed191
Added lots of phrases in Translations.json 2018-06-12 13:00:25 +03:00
Yair Morgenstern
a380f7aa95 Battle table now displays "Captured" when attacking a city with no resistance 2018-06-12 09:10:02 +03:00
Yair Morgenstern
c27bcb00c4 Fixed notification when capturing a civilian unit 2018-06-12 09:09:11 +03:00
Yair Morgenstern
4c3231a3fe City health is only visible for cities in visible tiles, not explored tiles 2018-06-11 19:33:28 +03:00
Yair Morgenstern
135a502990 Unit that was set up doesn't lose its Set Up status if it attacks 2018-06-11 18:37:19 +03:00
Yair Morgenstern
9aa41d3d13 Units that can move after attacking (horseman, knight) no longer get deducted movement points for BOTH the movement to the enemy tile AND the attack 2018-06-11 18:32:37 +03:00
Yair Morgenstern
02c74ad8ba Added Set Up action for siege units that require it
Unit cannot attack twice a turn even if it can "move after attacking"
2018-06-11 18:27:23 +03:00
Yair Morgenstern
4b2cefd5f4 Added visual health bars to cities! 2018-06-11 09:34:02 +03:00
Yair Morgenstern
825cffaf05 Increased padding around map, so that no tiles would be unreachable 2018-06-11 08:26:12 +03:00
Yair Morgenstern
7108dcae78 Fixed crashing bug where barbarians would capture civilian units - including settlers! - and try to found cities with them 2018-06-10 20:58:36 +03:00
Yair Morgenstern
8d5fd730a0 Added promotion jsons, icons and organized unit types (scout is now its own!) 2018-06-10 17:44:05 +03:00
Yair Morgenstern
adeaa5907a Added city health in text description of tile 2018-06-10 17:42:16 +03:00
Yair Morgenstern
d695cbd6f1 If we try to place barbs but there's no room then we just don't place. 2018-06-10 17:34:00 +03:00
Yair Morgenstern
98932473eb If we run outof places to place barbarians at the start of the game, of if we randomly select the same tile twice, the gam wil not crash 2018-06-10 17:30:49 +03:00
Yair Morgenstern
b31e7ccc3d Fixed a rare bug where unit would try to "walk" to a conquered city even though it was already in it 2018-06-09 22:59:23 +03:00
Yair Morgenstern
088583bd9d Civilian units are now captured by melee units rather than killed! 2018-06-08 18:07:00 +03:00
Yair Morgenstern
10c5c5f0ef Added back Civilopedia button (it had mysteriously vanished) 2018-06-08 18:06:29 +03:00
Yair Morgenstern
b255b8cf15 You will always generate at least 1 science per turn, so that you don't get strange numbers on the Tech button 2018-06-08 17:52:01 +03:00
Yair Morgenstern
0edbaac53d Changed "Archery" units to "Ranged" because it will also include machine gun in the future 2018-06-08 17:44:49 +03:00
Yair Morgenstern
4b7ec5303a Reorganized the class tree 2018-06-08 15:43:40 +03:00
Yair Morgenstern
95bdcf8dcb Notification scroll height is now limited 2018-06-08 15:28:02 +03:00
Yair Morgenstern
d8652ed510 Fixed bug where completing the Liberty social policy tree left you stuck in a Great Person picker screen 2018-06-08 13:29:31 +03:00
Yair Morgenstern
c3e0d6ac2c You can no longer have negative science per turn, even if you have a huge gold deficit (what does "negative science" even mean?) 2018-06-08 13:19:42 +03:00
Yair Morgenstern
83c235690a Added minimap!
Notifications now take up less of the increasingly valuabe screenspace
2018-06-08 13:18:45 +03:00
Yair Morgenstern
7002b8d55e Fixed save/load game Clipboard problems 2018-06-06 14:47:37 +03:00
Yair Morgenstern
d81768047f Added base for translations - we should now be able to add fan translations for different languages! 2018-06-05 21:58:02 +03:00
Yair Morgenstern
e0f97e584d Added options to save game to clipboard and load game from clipboard - this will allow sharing and modification of games for those who want it 2018-06-05 21:55:48 +03:00
Yair Morgenstern
c088c02b1e Added Roboto font and finally figured out how to make TrueType fonts look good! 2018-06-05 21:53:51 +03:00
Yair Morgenstern
c7e14a0242 Disabled NextTurn button from being clicked twice, and moved rendering to the main thread 2018-06-04 17:14:10 +03:00
Yair Morgenstern
335b7dc1e3 Removed all opening of screens from within game logic, put in the WorldScreen login instead, so that the rendering screen remains the same (OpenGL context problems) 2018-06-04 12:29:02 +03:00
Yair Morgenstern
6d059fb6ed When attacking a tile that has both a military and civilian unit, and defeating the militaryunit, the civilian unit is now destroyed 2018-06-04 10:15:41 +03:00
Yair Morgenstern
0fb3c2256e OKAY FOUND THE BUG!
So, now military units can't enter tiles which have an enemy civilian unit in them.
Honestly I would not have guessed that this was the problem.
2018-06-03 13:56:03 +03:00
Yair Morgenstern
431c5449f3 Added display options, to show/hide worked tiles and resources/tile improvements 2018-05-31 19:46:11 +03:00
Yair Morgenstern
145c908af2 "Raze City" button now placed correctly when there are multiple cities 2018-05-31 18:02:07 +03:00
Yair Morgenstern
f6ca98b1d7 Massive change - Unit in TileInfo now spit to CivilianUnit and MilitaryUnit! 2018-05-31 17:23:46 +03:00
Yair Morgenstern
c50a919e2a Added Happiness display to city screen (both total and detailed) 2018-05-30 13:21:50 +03:00
Yair Morgenstern
0959cc3b69 Added ability to raze cities 2018-05-30 12:40:17 +03:00
Yair Morgenstern
0dab2d6dca Clicking on the unit description label now zooms to map to the unit 2018-05-30 09:04:45 +03:00
Yair Morgenstern
aa0ddd4128 Added colors to notifications, depending on the context (attack, culture growth, tech, city growth, etc.) 2018-05-29 23:43:54 +03:00