Commit graph

44 commits

Author SHA1 Message Date
Yair Morgenstern
24a71b16f2 Trade button changed to "Negotiate Peace" when at war, and peace treaties are a must when "trading" in this situation 2019-05-11 23:32:12 +03:00
Yair Morgenstern
cf2580b8ed Solved #670 - civ starting locations are given as much space as possible 2019-05-06 20:46:48 +03:00
Yair Morgenstern
cdfdbb40b8 More massive performance boosts 2019-05-03 16:59:46 +03:00
Yair Morgenstern
7400f6e874 Performance boost - moved TileInfo.isLand and .isWater to transient bools instead of functions, since the base terrain doesn't change
isBarbarianCivilization performance boost - called A LOT!
2019-05-02 23:15:22 +03:00
Duan Tao
f2333b5839 Added City states (#681)
* Add Milan as 1st city state. Choose box for number of city states.

* City states don't get settlers.

* Added diplomancy relationship. Now increase by gift and decreases every turn.

* Friendly culture city states provides culture bonus.

* 0 city states by default.

* Disable many trade items for city states.

* Fix part 1.

* Fix diplomacy screen and pop-ups.

* City state doesn't build world wonders.

* City states destroy city when conquering.

* Fixed : Trying to move into border of uncountered civs caused crash.

* City states don't exchange tech or declare war on others.

* Fix a very strange problem : you could trade introduction of AI to itself.

* City states automatically get all invented techs.

* Pops defeat msg before AI founds any city.

* Fix conquest victory with city states.

* Fixed : AI city under seige change production every turn.
2019-04-30 19:33:32 +03:00
Yair Morgenstern
c81c81fe8f Resolved #525 - Added Open Borders agreement 2019-04-24 10:19:47 +03:00
Yair Morgenstern
8bf09420e0 Resolved #647 - Starting locations should not be on tiny Islands 2019-04-14 22:13:55 +03:00
Yair Morgenstern
cd6806d07e Removed our getRandom() extension, because it now comes built-in in Kotlin, yay! 2019-04-14 22:12:54 +03:00
Yair Morgenstern
0539890a4d Added "No barbarians" starting option - part of #559 2019-04-13 22:49:17 +03:00
Yair Morgenstern
5444fd705b Greatly increased distance between civ starting locations 2019-04-01 23:00:05 +03:00
Yair Morgenstern
064488ca37 Solved a crash situation when clicking on "Future Tech" when it has already been researched 2019-03-28 23:51:39 +02:00
Yair Morgenstern
115aef50ad Better starting locations on tiny map with lots of players 2019-03-10 23:03:25 +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
2df64861d1 Added Infantry, Machine Gun units
Added Railroad, Ballistics techs
Added Statue of Liberty wonder
2019-01-15 22:17:34 +02:00
Yair Morgenstern
53c5c6d5ab Can now choose to start a game with multiple human players! 2019-01-14 20:48:30 +02:00
Yair Morgenstern
401aa942eb Can now play with multiple human players!
Need to find a way for all human players to choose their civs in a simple manner
2019-01-11 09:58:32 +02:00
Yair Morgenstern
8bf84393fc More changes to enable multiplayer - save the current player in the civInfo, distinguish between "current player" and "human player" 2019-01-10 21:29:24 +02:00
Yair Morgenstern
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
Duan Tao
e3c9567904 Avoid crash from giving ai free techs. 2018-12-24 20:01:32 +08:00
Yair Morgenstern
f19750409d Buying techs now enables their uniques immediately - kudos ingvart! 2018-12-19 19:20:57 +02:00
Yair Morgenstern
e3926764f2 Difficulty is now game-wide, in preparation for multiplayer
Apparently choosing difficulty...didn't actually do anything until now, which is an embarrasing oversight and explains why people thought the game was too hard even on easy mode...
2018-12-18 19:26:56 +02:00
Yair Morgenstern
6bdd0da3ea Notifications are now per-civ instead of game-wide, in preparation for multiplayer
Added player type to civinfo, in preparation for multiplayer
2018-12-18 18:57:13 +02:00
Yair Morgenstern
c706fa455a Code inspection and other general fixes - gotta clean up when there are guests ;) 2018-12-04 23:21:57 +02:00
Yair Morgenstern
8c3282ddce Ruins no longer give researched techs - kudos philn3v!
Can no longer see over mountains
2018-11-30 10:21:44 +02:00
Yair Morgenstern
24ccd630da Can now select as many enemy civs as there are civilizations to assign to them
Can now start the game with "Huge" maps, because "Large" wasn't big enough for everyone apparently -_-
2018-11-26 19:50:58 +02:00
Yair Morgenstern
22e6f39caf Dev: Removed baseDescription from units, all old baseDescriptions moved to Uniques 2018-11-17 21:02:42 +02:00
Yair Morgenstern
45e5f82478 Added Compass tech and Harbor building 2018-10-28 14:33:42 +02:00
Yair Morgenstern
9ad027b848 Added option to choose map generation type 2018-10-12 14:19:05 +03:00
Yair Morgenstern
a855bc0e7b Organized unit image credits
Sea civilian units are now universally recognized as civilian units
2018-10-11 23:05:49 +03:00
Yair Morgenstern
4bc598dcd4 Added automated exploration for scout units 2018-09-17 08:10:51 +03:00
Yair Morgenstern
68b64ca66f Added Honor and Autocracy policies 2018-09-05 17:17:30 +03:00
Yair Morgenstern
d48d7aa9fe You now choose civilizations from a list which also tells you what's unique to that civ 2018-08-24 12:28:27 +03:00
Yair Morgenstern
4fd9ac0f38 Added musketeer unique unit for France 2018-08-23 08:43:14 +03:00
Yair Morgenstern
6b5c1e62da City-to-tile ownership is more efficient
Fixed bug where when starting a new game your initial units would get an extra turn until you reloaded the game
2018-08-22 13:30:37 +03:00
Yair Morgenstern
6f2b845e13 Civilization class renamd to Nation, to have it be distinct from CivilizationInfo 2018-08-09 18:44:43 +03:00
Yair Morgenstern
8b259a3db3 Added ai unhappiness modifier to difficulty 2018-07-27 10:03:44 +03:00
Yair Morgenstern
592b716e81 Removed the 1/63 chance that on a small map you couldn't have many civs 2018-07-26 23:16:56 +03:00
Yair Morgenstern
06c68302ce Added difficulty settings! 2018-07-25 22:56:25 +03:00
Yair Morgenstern
9c23c8f551 Civs start at least 3 tiles away from edge of board 2018-07-20 15:58:03 +03:00
Yair Morgenstern
a2530b5480 Player no longer always starts in the middle of the map 2018-07-18 18:45:37 +03:00
Yair Morgenstern
adeaa5907a Added city health in text description of tile 2018-06-10 17:42:16 +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
f6ca98b1d7 Massive change - Unit in TileInfo now spit to CivilianUnit and MilitaryUnit! 2018-05-31 17:23:46 +03:00
Yair Morgenstern
39b9a65596 Added New Game screen 2018-05-29 22:01:22 +03:00