Commit Graph

333 Commits

Author SHA1 Message Date
135a502990 Unit that was set up doesn't lose its Set Up status if it attacks 2018-06-11 18:37:19 +03:00
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
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
4b2cefd5f4 Added visual health bars to cities! 2018-06-11 09:34:02 +03:00
825cffaf05 Increased padding around map, so that no tiles would be unreachable 2018-06-11 08:26:12 +03:00
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
8d5fd730a0 Added promotion jsons, icons and organized unit types (scout is now its own!) 2018-06-10 17:44:05 +03:00
adeaa5907a Added city health in text description of tile 2018-06-10 17:42:16 +03:00
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
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
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
088583bd9d Civilian units are now captured by melee units rather than killed! 2018-06-08 18:07:00 +03:00
10c5c5f0ef Added back Civilopedia button (it had mysteriously vanished) 2018-06-08 18:06:29 +03:00
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
0edbaac53d Changed "Archery" units to "Ranged" because it will also include machine gun in the future 2018-06-08 17:44:49 +03:00
4b7ec5303a Reorganized the class tree 2018-06-08 15:43:40 +03:00
95bdcf8dcb Notification scroll height is now limited 2018-06-08 15:28:02 +03:00
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
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
83c235690a Added minimap!
Notifications now take up less of the increasingly valuabe screenspace
2018-06-08 13:18:45 +03:00
7002b8d55e Fixed save/load game Clipboard problems 2018-06-06 14:47:37 +03:00
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
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
c088c02b1e Added Roboto font and finally figured out how to make TrueType fonts look good! 2018-06-05 21:53:51 +03:00
c7e14a0242 Disabled NextTurn button from being clicked twice, and moved rendering to the main thread 2018-06-04 17:14:10 +03:00
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
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
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
431c5449f3 Added display options, to show/hide worked tiles and resources/tile improvements 2018-05-31 19:46:11 +03:00
145c908af2 "Raze City" button now placed correctly when there are multiple cities 2018-05-31 18:02:07 +03:00
f6ca98b1d7 Massive change - Unit in TileInfo now spit to CivilianUnit and MilitaryUnit! 2018-05-31 17:23:46 +03:00
c50a919e2a Added Happiness display to city screen (both total and detailed) 2018-05-30 13:21:50 +03:00
0959cc3b69 Added ability to raze cities 2018-05-30 12:40:17 +03:00
0dab2d6dca Clicking on the unit description label now zooms to map to the unit 2018-05-30 09:04:45 +03:00
aa0ddd4128 Added colors to notifications, depending on the context (attack, culture growth, tech, city growth, etc.) 2018-05-29 23:43:54 +03:00
e1bd1c271e Load screen displays civ, turns and save time; Save screen now displays random noun-adjective combination as default save name 2018-05-29 22:37:31 +03:00
1be235d380 New game screen 2018-05-29 22:03:28 +03:00
3b80cd8450 Creating a city removes the tile improvement that was there (D'oh) 2018-05-29 22:03:08 +03:00
7ca7be5d70 AI cities ressign population when there are better tiles that the population can work on 2018-05-29 22:02:28 +03:00
39b9a65596 Added New Game screen 2018-05-29 22:01:22 +03:00
9316510a07 GameSaver and HexMath are now in "logic" and are not static classes 2018-05-29 13:05:16 +03:00
36f9ba6f8c Moved autosave to a concurrent thread so you won't have to wait for it to finish saving to continue your game
UpdateTiles is now cleaner - doesn't update viewed tiles twice, only once
2018-05-29 12:26:43 +03:00
cd5a3b4741 National wonders can now be built for each civ separately 2018-05-25 18:50:57 +03:00
9389e936fc When the currently selected unit dissapears, the executing action also disappears 2018-05-25 18:38:57 +03:00
4d520c8466 Added "unit upgrade" action for old units 2018-05-25 18:27:54 +03:00
c984704af1 The "Construct improvement" action is now disabled when the unit has no movement or there are no improvements to pick 2018-05-25 13:04:31 +03:00
1a2d3d4421 Fixed bug where unit would try to randomwalk but there wasn't anywhere to go 2018-05-25 12:08:06 +03:00
389c489faf Added icons to improvement picker screen 2018-05-25 12:01:06 +03:00
53ff1290e8 Culture no longer displays 214... turns to next policy when no cities are built 2018-05-25 11:52:07 +03:00
7503c67f18 Added SetFontColor function to Label, because thed default way is a bit annoying 2018-05-25 11:34:55 +03:00