Commit graph

1112 commits

Author SHA1 Message Date
Yair Morgenstern
e3bf80091a Added all texts for all nations! Exhausting! 2019-02-10 23:25:19 +02:00
Yair Morgenstern
796284c7e2 Added unique civ text for attacking, being attacked, and being defeated 2019-02-10 19:50:42 +02:00
Yair Morgenstern
07663bfc54 Added "Diplomatic Incidents" for diplomatic messages between civs (as of now, only declaration of war) 2019-02-10 16:34:46 +02:00
Yair Morgenstern
2834752826 Added "change city name" with a popup that appears when clicking on the city name in the ciity screen 2019-02-10 15:32:48 +02:00
Yair Morgenstern
4b7a447eae Civ city name generation now done by a global counter - enables city name changes later 2019-02-10 09:50:36 +02:00
Yair Morgenstern
cc0a999471 Added "exit map editor" button to map editor 2019-02-09 23:26:59 +02:00
Yair Morgenstern
ae7cbcb3c9 Embarked units now have era-based defensive strength (like in original civ) 2019-02-09 23:06:13 +02:00
Yair Morgenstern
d9fb3fdb2c Switched positions of "raze city" and "exit city" buttons - "exit" is a much more common use-case, and therefore should have the more easily-reachable spot 2019-02-09 22:40:52 +02:00
Yair Morgenstern
10e9a5e481 AI units much more cautious when attacking cities - only enter city bombard range if there's a good chance of capturing the city
#416
2019-02-09 21:31:16 +02:00
Yair Morgenstern
3feb231620 Added "deselect" button to unit & city display 2019-02-09 21:25:30 +02:00
Yair Morgenstern
d2a48fae38 Added "current edit" hex to bottom-right of map editor screen 2019-02-08 00:34:46 +02:00
Yair Morgenstern
d42416974c Saving and loading games is now done directly to\from files without becoming strings in the meantime - should help avoid some OutOfMemory exceptions when the games become really huge (the GameInfo as c# classes is much smaller thatn the serialized text for a number of reasons) 2019-02-07 23:06:13 +02:00
Yair Morgenstern
50931a86c1 Resolved #447 - cities now have roads and railroads only when corresponding tech has been researched 2019-02-07 22:56:13 +02:00
Yair Morgenstern
11b2a301cd Add Heroku generated app.json 2019-02-06 23:12:51 +02:00
Yair Morgenstern
6856301504 Resolved #446 - Buildings are now created when production is completed by Great Engineers, so production of the current turn can be added to the next construction 2019-02-05 20:04:07 +02:00
Yair Morgenstern
36ad17db99
Merge pull request #445 from Smashfanful/patch-6
More Translation.json
2019-02-04 21:51:46 +02:00
Smashfanful
cea8a7b566
More Translation.json 2019-02-04 18:29:38 +01:00
Yair Morgenstern
a98ce0d7d9 Auto-load the first map, if any exist
Center the map editor on the map
2019-02-03 20:34:21 +02:00
Yair Morgenstern
d8d2b89e73 Enabled loading maps from the map editor 2019-02-03 19:42:31 +02:00
Yair Morgenstern
81d1a79e19 Can now choose a map name and load a map from those existing on the phone! 2019-02-02 23:26:56 +02:00
Yair Morgenstern
3a990434f3 Added initial map editor! Woohoo! 2019-02-02 22:43:02 +02:00
Yair Morgenstern
8e2c3287f6 CityScreen now also uses TileGroupMap 2019-01-29 23:52:51 +02:00
Yair Morgenstern
8038dd4c4f Separated "Group to hold visual map based on tilegroups" to a separate class, for reuse in CityScreen, the future map editor, and maybe also in the minimap 2019-01-29 21:48:23 +02:00
Yair Morgenstern
24d2a2c320
Merge pull request #443 from ninjatao/free_promotions
Allow to add real free promotions to unit.
2019-01-29 17:49:12 +02:00
Duan Tao
49f0fe725a Free promotions don't affect future xp. 2019-01-29 18:24:28 +08:00
Duan Tao
c69f54408b Allow to add real free promotions to unit. 2019-01-29 14:46:24 +08:00
Yair Morgenstern
3044fb2978 Fixed crashing bug caused by using GameBasics.Technologies.keys directly, and editing it 2019-01-28 20:45:28 +02:00
Yair Morgenstern
7c0f4051b3
Merge pull request #442 from B5656/patch-1
Complete french translation
2019-01-28 20:00:03 +02:00
Yann
20a0deffa9
Complete french translation 2019-01-28 15:40:17 +01:00
Yair Morgenstern
5a78c612ab Fixed errors caused by AI civs not having any non-researched techs to choose from, when all techs are researched - now choose future tech again 2019-01-27 23:45:39 +02:00
Yair Morgenstern
653cb556cf Fixed errors caused by siege unit's movement points not being calculated correctly 2019-01-27 23:38:11 +02:00
Yair Morgenstern
5ab6c6c991
Merge pull request #439 from ninjatao/barbarians
Barbarians
2019-01-27 17:58:58 +02:00
Duan Tao
edc53171cc Barbarian generation improvement. 2019-01-27 21:34:40 +08:00
Yair Morgenstern
1d579e03f7
Merge pull request #440 from ninjatao/fix_purchase_cost
Fix construction cost.
2019-01-27 11:12:29 +02:00
Duan Tao
c2f6637a91 Fix construction cost. 2019-01-27 16:22:57 +08:00
Yair Morgenstern
7497ffd3b6 Added Combined Arms tech with Tank, Anti-Tank Gun units and Pentagon wonder
Tech tree rearrangement - now much closer to original G&K tree
2019-01-26 23:08:20 +02:00
Yair Morgenstern
f80077a412 Resolved #435 - profit from disbanding units 2019-01-26 22:39:48 +02:00
Yair Morgenstern
665af17ae5 Fixed #438 - changing production before answering the "do you want to purchase construction" popup lead to buying the newly chosen production 2019-01-26 22:00:48 +02:00
Duan Tao
624f83d109 Remove unique units from barbarians. 2019-01-26 19:04:13 +08:00
Duan Tao
ddcf3dd83e Remove unit list for barbarians. 2019-01-26 18:58:12 +08:00
Duan Tao
c18cc2476f Generate different type of barbarians. 2019-01-26 18:48:29 +08:00
Yair Morgenstern
478a9e6996 Resolved #429 - display era names only once in tech picker screen 2019-01-23 20:52:26 +02:00
Yair Morgenstern
a4175438a3 Resolved #424 - added confirm box when declaring war 2019-01-23 20:16:34 +02:00
Yair Morgenstern
b60df3ce85 Resolved #428 - missing characters in German translation 2019-01-23 20:07:13 +02:00
Yair Morgenstern
d7324ab30f
Merge pull request #433 from ninjatao/fix_seige_units_targets
Fix seige units finding targets bug.
2019-01-23 18:17:28 +02:00
Duan Tao
0f1221e033 Fix seige units finding targets bug. 2019-01-23 21:10:25 +08:00
Yair Morgenstern
0e5c1843fe
Merge pull request #432 from ninjatao/ai_exchange_tech
Ai exchange tech
2019-01-23 11:28:48 +02:00
Duan Tao
a141cb1f1c Rearrange code for pruchasing stuff. 2019-01-23 16:09:18 +08:00
Duan Tao
fa8c948c04 Allow ai to spend money for building & unit. 2019-01-23 16:09:08 +08:00
Duan Tao
53c0bbb0a3 AI exchange techs strategy change. 2019-01-23 16:08:52 +08:00