Commit Graph

1013 Commits

Author SHA1 Message Date
f237adef4b Avoid pillaged great improvement from being replaced by resource improvement. 2019-01-09 11:09:57 +08:00
730111993e Code cleanup and bug fix. 2019-01-09 10:12:00 +08:00
a7bbea106c Resolved #407 - units cannot pillage when at full health 2019-01-08 18:45:06 +02:00
2fdd3e2628 Fixed #402 - couldn't build wonder if it was being built by a rival civ 2019-01-08 18:43:06 +02:00
c282ffb423 Resolved #410 - land units on lake aren't shown as embarked 2019-01-08 15:43:54 +02:00
a2764d7b91 Ai uses bombardment. 2019-01-08 20:16:18 +08:00
0f16a25cc6 You can actually Bombard! But ai cannot yet. 2019-01-08 19:55:35 +08:00
7a17779bf4 Mark bombard targets. 2019-01-08 18:35:14 +08:00
9054496940 Select city before entering city screen. 2019-01-08 15:34:32 +08:00
eeb494364b Resolved #407 - Add pillaging terrain improvements 2019-01-07 21:56:02 +02:00
b8aa4932a0 Added unique ability for Egypt and France 2019-01-07 18:44:42 +02:00
b11c96ce3f chooseImprovement returns null when there is already better improvement. 2019-01-07 11:58:57 +08:00
84007533fc Resolved #311 - translate victory screen 2019-01-06 22:48:24 +02:00
567786c125 Resolved #399 - lakes act differently than in original game 2019-01-06 22:41:03 +02:00
ae210e05f3 Idle worker try to connect cities with roads. 2019-01-05 23:13:59 +08:00
19906ade75 Added Babylonian civ unique 2019-01-04 11:51:44 +02:00
2f5b6e7be5 Resolved #396 - save game start parameters and use for subsequent games
Later, we could use this info to display to the user in the load game screen
Solved #394 - couldn't scroll map far on edges, some tiles were hard to get to
2019-01-04 10:59:47 +02:00
39d2b5d60c Constucting a great improvement remove unfinished improvement. 2019-01-04 14:15:25 +08:00
0567eb442d Merge pull request #391 from ninjatao/submarine
Submarine, resolves #388
2018-12-31 17:13:21 +02:00
7f9ca0fd3d Merge pull request #386 from ninjatao/worker_automate
Worker automation uses more resource.
2018-12-31 14:49:20 +02:00
19ce158ccb Update wolfpack bonus, icons. 2018-12-31 19:58:24 +08:00
de5610180f Add WaterSubmarine unit type. 2018-12-31 19:42:20 +08:00
8ad37530b2 Solved another 2 rare concurrency problems - CityInfo.workedTiles and CityInfo.tiles are not edited directly but switched out 2018-12-30 20:40:48 +02:00
5f3da79484 Fix evalutate peace treaty bug. 2018-12-30 19:22:40 +08:00
be80aaecda Worker automation leaves great tile improvement alone. 2018-12-30 19:19:06 +08:00
f2e6c1b08f Chinese unique ability. 2018-12-30 12:24:01 +08:00
922a29e60f Worker automation uses more resource. 2018-12-30 11:46:27 +08:00
30e8af1848 Merge pull request #378 from ninjatao/great_general
Great general
2018-12-29 19:54:17 +02:00
b57a6f65fe Improvement part2, for great general actions. 2018-12-29 10:52:01 +08:00
48efb4dcd2 Fixed #362 (Cannot upgrade units at 0 resource)
Great improvements remove terrain features
2018-12-28 10:09:57 +02:00
f70c725b85 Code improvement, part 1. 2018-12-28 09:53:30 +08:00
2e91b9f84e Fix great general automation exception. 2018-12-28 00:00:22 +08:00
05657ea131 Fix : Avoid addGreatPerson exception. 2018-12-27 23:09:54 +08:00
2904ed04eb Fix great general bonus. 2018-12-27 11:45:27 +08:00
6c51073112 Some improvement on ai. 2018-12-27 11:44:30 +08:00
0e77d5b044 Avoid addGreatPerson exception. 2018-12-27 11:01:07 +08:00
aca089fa4a Solved notification concurrency exception 2018-12-26 20:08:57 +02:00
2575ffd01f fix general points. 2018-12-26 23:39:20 +08:00
ae1629fcb0 AI uses great generals. I hope. 2018-12-26 23:30:21 +08:00
60f59fe2aa Great general provides bonus for nearby friendly land units. 2018-12-26 19:25:07 +08:00
7478215353 Add great general generation, overview screen and free pickup. 2018-12-26 18:42:22 +08:00
c3e8563bf2 Add great general unit. 2018-12-26 18:06:36 +08:00
39b09f16b2 Merge pull request #377 from ninjatao/indirect_fire
fix "Indirect Fire" typo.
2018-12-26 11:46:17 +02:00
3e5740563f fix "Indirect Fire" typo. 2018-12-26 16:16:37 +08:00
c967d058d2 Merge pull request #376 from ninjatao/fix_humanism
Humanism should increase happiness, instead of science.
2018-12-26 06:38:47 +02:00
5dae652c0b Humanism should increase happiness, instead of science. 2018-12-26 10:32:50 +08:00
6925b0262f Removed deprecated classes and fields from half a year ago 2018-12-25 22:12:11 +02:00
91630cd687 Victory condition logic moved to VictoryManager
Victory screen now pops up when you fulfill the victory conditions =D
Added "One more turn" mode, if people want to play after the victory conditions have been fulfilled
2018-12-25 21:59:37 +02:00
885070de99 Merge pull request #373 from ninjatao/fix_new_game_crash
Avoid crash from giving ai free techs.
2018-12-24 16:08:13 +02:00
e3c9567904 Avoid crash from giving ai free techs. 2018-12-24 20:01:32 +08:00