Commit graph

251 commits

Author SHA1 Message Date
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
Yair Morgenstern
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
Yair Morgenstern
1be235d380 New game screen 2018-05-29 22:03:28 +03:00
Yair Morgenstern
3b80cd8450 Creating a city removes the tile improvement that was there (D'oh) 2018-05-29 22:03:08 +03:00
Yair Morgenstern
7ca7be5d70 AI cities ressign population when there are better tiles that the population can work on 2018-05-29 22:02:28 +03:00
Yair Morgenstern
39b9a65596 Added New Game screen 2018-05-29 22:01:22 +03:00
Yair Morgenstern
9316510a07 GameSaver and HexMath are now in "logic" and are not static classes 2018-05-29 13:05:16 +03:00
Yair Morgenstern
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
Yair Morgenstern
cd5a3b4741 National wonders can now be built for each civ separately 2018-05-25 18:50:57 +03:00
Yair Morgenstern
9389e936fc When the currently selected unit dissapears, the executing action also disappears 2018-05-25 18:38:57 +03:00
Yair Morgenstern
4d520c8466 Added "unit upgrade" action for old units 2018-05-25 18:27:54 +03:00
Yair Morgenstern
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
Yair Morgenstern
1a2d3d4421 Fixed bug where unit would try to randomwalk but there wasn't anywhere to go 2018-05-25 12:08:06 +03:00
Yair Morgenstern
389c489faf Added icons to improvement picker screen 2018-05-25 12:01:06 +03:00
Yair Morgenstern
53ff1290e8 Culture no longer displays 214... turns to next policy when no cities are built 2018-05-25 11:52:07 +03:00
Yair Morgenstern
7503c67f18 Added SetFontColor function to Label, because thed default way is a bit annoying 2018-05-25 11:34:55 +03:00
Yair Morgenstern
c40ebb3942 Added GetImprovementIcon funciton to ImageGetter 2018-05-25 11:24:59 +03:00
Yair Morgenstern
2570c4fd3d Added "GetUnitIcon" function, added icons in GreatPersonPickerScreen 2018-05-24 22:55:11 +03:00
Yair Morgenstern
2f6139e38d Current construction always appears in picker screen and is colored green for indication 2018-05-24 22:35:57 +03:00
Yair Morgenstern
7ee62b7d1c Moved star,circle,shield icons to OtherIcons folder 2018-05-24 22:31:06 +03:00
Yair Morgenstern
2f48586f3e Center icon no longer grayed out in city screen 2018-05-24 22:29:34 +03:00
Yair Morgenstern
c8ddf6dc63 Added icons for unit actions 2018-05-23 22:59:05 +03:00
Yair Morgenstern
9cbdee4b12 White halo around selected unit is now shield-shaped iff the unit is fortified 2018-05-23 21:45:43 +03:00
Yair Morgenstern
5a564f29c3 Separated Unit Actions to its own table, put above the bottom bar 2018-05-23 21:45:01 +03:00
Yair Morgenstern
0bbb7d6254 Tutorial background is now square 2018-05-23 01:00:09 +03:00
Yair Morgenstern
2a2cc9a873 Removed final sum of combat values from BattleTable 2018-05-23 00:55:55 +03:00
Yair Morgenstern
f01b6b665f Can no longer walk through enemy units =) 2018-05-23 00:42:33 +03:00
Yair Morgenstern
db4ad20264 Added Fortification action 2018-05-23 00:37:53 +03:00
Yair Morgenstern
2bcd4a86e7 Defeated cities don't really hit back 2018-05-23 00:20:15 +03:00
Yair Morgenstern
21bb743caf Tiles now closer together - no gaps between them! 2018-05-22 23:16:41 +03:00
Yair Morgenstern
03d452fd42 Added fog on non-viewable tiles 2018-05-22 23:07:12 +03:00
Yair Morgenstern
1b2fa7317e Added unit obsolesence 2018-05-21 23:00:09 +03:00
Yair Morgenstern
1de4c2c9f2 Techs display short info on buildings and units 2018-05-21 22:07:30 +03:00
Yair Morgenstern
398b612d8c Added Medieval era units
Techs now display imformation baed on what's dependant on them
Buildings uniques now in humanspeak
2018-05-18 17:18:47 +03:00
Yair Morgenstern
017d1f3f89 Added star icon to capital city 2018-05-18 15:53:12 +03:00
Yair Morgenstern
cb537b0f84 Icons shrunk (slightly) with pngCrush
Organized Unit table
Added bonus vs barbarians
2018-05-18 15:30:29 +03:00
Yair Morgenstern
f546a49c49 Added icons for Medieval and Renaissance era units 2018-05-17 21:28:41 +03:00
Yair Morgenstern
7155bfb927 Merged all tables at the bottom of the screen to a single bar 2018-05-17 18:09:00 +03:00
Yair Morgenstern
3e0e1b2a43 In-game year is displayed by the number of turns 2018-05-17 15:15:28 +03:00
Yair Morgenstern
e99bf8004f Appropriate notifications when wonders are built in a city you haven't yet seen 2018-05-17 15:14:50 +03:00
Yair Morgenstern
e1018371b3 Major update - enemies can now take over cities (and do!) 2018-05-17 12:24:33 +03:00
Yair Morgenstern
64f8b3fef8 Cities beyond the 15th get "New" names properly 2018-05-17 10:44:27 +03:00
Yair Morgenstern
e267a7a6be Civs no longer spam settlers beyond what they can afford 2018-05-17 10:43:45 +03:00
Yair Morgenstern
d3799a0c64 When settlers have no viable spots within 5 tiles, they random walk to edges of walking ability 2018-05-16 23:45:25 +03:00
Yair Morgenstern
75b6a59ef4 Cities will be called "New $name" if all city names are exhausted 2018-05-16 23:37:56 +03:00
Yair Morgenstern
a1995a3e37 Fixed bugs that prevented picking Gold and Science as city constructions 2018-05-16 23:31:17 +03:00
Yair Morgenstern
9c576d6bdc Added CenterX and CenterY functions for actors 2018-05-16 21:38:09 +03:00
Yair Morgenstern
2c2a4e5da3 The tiles the unit can move to are now displayed when selecting a unit,
The hex borders have been changed to points
Thanks to Mihail Pastuhov for the ideas!
2018-05-15 23:39:04 +03:00