Yair Morgenstern
5099ad4db4
Kotlin version upgraded to 1.3.10
2018-12-02 15:33:30 +02:00
Yair Morgenstern
87571ee333
Added the debug keystore manually, hope this fixes the travis build...
2018-12-02 15:16:50 +02:00
Yair Morgenstern
9ea9e9f523
Upgraded BuildTools to 28.0.3, Gradle to 3.2.1 and Kotlin to 1.2.71
2018-12-02 14:12:47 +02:00
Yair Morgenstern
cd28358289
Fixed bug where you could convince AI to declare war on defeated civs - kudos ninjatao!
2018-12-01 22:40:14 +02:00
Yair Morgenstern
c807ee5098
Solved ANR problems related to moving units long distances across the map
2018-11-28 18:59:18 +02:00
Yair Morgenstern
6096bde9cd
Changed Forest icon
...
Narrowed hexagon edges
2018-11-27 21:51:52 +02:00
Yair Morgenstern
556c10109d
Performance improvements in both getCivUnits and canPassThrough of tile
...
Fixed no embarkation & policy pick bug
2018-11-24 22:48:42 +02:00
Yair Morgenstern
e16ea5c803
Performance: Added Transient list of researched technologies
2018-11-21 20:02:12 +02:00
Yair Morgenstern
17c98f9f46
Fixed Embarkation tutorial
2018-11-21 15:10:15 +02:00
Yair Morgenstern
3e02417838
AI units no longer attack from an embarked state (it's just not worth it)
2018-11-17 22:01:47 +02:00
Yair Morgenstern
b01ed7541e
Translation fixes
2018-11-14 21:08:43 +02:00
Yair Morgenstern
42e6ab1c65
Fixed great person point generation
...
Added great person points to civ overview
2018-11-13 21:10:23 +02:00
Yair Morgenstern
d3a4952fef
AI will only pay for extra luxuries if it can trade them away
2018-11-12 09:47:43 +02:00
Yair Morgenstern
f73d840a9d
Silly roadbuilding crash bugfix
2018-11-06 20:26:31 +02:00
Yair Morgenstern
8b12b80f34
Fixed images of Burial Tomb and Paper Maker
...
Techs now display little icons of their effects
2018-11-03 19:19:30 +02:00
Yair Morgenstern
abc3bfcae8
Added Galleass, first ranged water unit!
2018-11-02 12:49:41 +02:00
Yair Morgenstern
5a6e5043b3
Trade routes now travel between harbors over water, and are calculated once per civilization instead of per city
2018-11-01 19:27:57 +02:00
Yair Morgenstern
4423dadefd
Removed hydro plant from loaded games
2018-10-28 16:37:51 +02:00
Yair Morgenstern
cc0e76ba00
Added info of tile's unit defence bonus to tile info (not everyone is a veteren Civ player...)
2018-10-28 12:37:00 +02:00
Yair Morgenstern
230031e9f5
Fixed combat for embarked units
2018-10-23 22:08:30 +03:00
Yair Morgenstern
2c5f4e1529
Land units can embark!
2018-10-22 20:05:04 +03:00
Yair Morgenstern
9c36ae0c6b
Added The Great Lighthouse
2018-10-19 15:11:14 +03:00
Yair Morgenstern
dea7775be5
Added Optics and Lighthouse
2018-10-16 21:13:29 +03:00
Yair Morgenstern
ba144be973
Added resources and terrain features back to land-only maps
2018-10-14 21:07:01 +03:00
Yair Morgenstern
b528ef38e9
Minor improvements
2018-10-12 15:02:12 +03:00
Yair Morgenstern
4277bbc403
Added tech progress bars in tech picking screen
2018-10-06 20:19:51 +03:00
Yair Morgenstern
a8bb9f53b7
Added medieval tech icons
2018-10-03 23:03:53 +03:00
Yair Morgenstern
b99d6c67b6
Another minor bugfix
2018-10-02 00:10:11 +03:00
Yair Morgenstern
8c7e8437ec
Added tech icons for ancient & classical technologies
2018-09-30 00:24:09 +03:00
Yair Morgenstern
fdd9481535
Fog is now done using crosshatching - maybe it looks better, hard for me to tell.
2018-09-23 15:27:38 +03:00
Yair Morgenstern
5710001715
Added "Buy tile" option to cities
2018-09-23 10:39:56 +03:00
Yair Morgenstern
a1f824842d
AI units now go out and explore unseen areas
2018-09-16 23:14:35 +03:00
Yair Morgenstern
9c8e173f4e
Lots off background work for future water tiles
...
Resized xxxhdpi icon
2018-09-11 23:07:12 +03:00
Yair Morgenstern
68b64ca66f
Added Honor and Autocracy policies
2018-09-05 17:17:30 +03:00
Yair Morgenstern
03029e8b99
Replaced all policy icons!
2018-08-31 11:40:25 +03:00
Yair Morgenstern
2605ce6b71
Once a unit has gained more than 30 XP it won't gain XP from barbarians
...
AI units now always unfortify/unsetup after moving
2018-08-30 22:13:07 +03:00
Yair Morgenstern
17e440d557
Added building icons!
...
There are now images of the current construction in the construction picker screen, the city screen and the world map!
2018-08-29 14:03:18 +03:00
Yair Morgenstern
9e5208dd8c
Fixed a bug where the unit needs the civInfo in order to calculate the moveTo even before it's put on the map.
2018-08-29 12:25:35 +03:00
Yair Morgenstern
5d4c8a618d
Replaced all resource and improvement icons!
...
AI disables city raze on capture/buying cities
2018-08-28 10:35:56 +03:00
Yair Morgenstern
e078590933
Fixed concurrency problems when updating city stats
2018-08-27 13:38:54 +03:00
Yair Morgenstern
94eb7198e9
Expanded city name of all civs to 30 since it's obvious there are some people who reach those numbers.
2018-08-26 09:27:08 +03:00
Yair Morgenstern
4fd9ac0f38
Added musketeer unique unit for France
2018-08-23 08:43:14 +03:00
Yair Morgenstern
5e1bccdc47
Organized clone functions
...
Found one last place where the unit was destroyed manually and not using the destroy() function =\
2018-08-20 22:36:01 +03:00
Yair Morgenstern
040866609e
Added effects of Militarism, Total War and Facism
2018-08-20 21:58:01 +03:00
Yair Morgenstern
f820b75fff
Json is apparently not thread safe, so we now create a new instance for each stringify
2018-08-20 09:17:40 +03:00
Yair Morgenstern
1957c4ca80
Code reorganization - separated variables, pure functions and state-changing functions in all main logic classes
2018-08-17 13:36:23 +03:00
Yair Morgenstern
b1e17a67c6
Added Range, Sentry, Siege and Indirect Fire promotions
...
Units now get experience when capturing a city
2018-08-16 08:52:29 +03:00
Yair Morgenstern
bb25616b69
Fixed bug when playing with translations and constructing science, gold or nothing in a city
2018-08-12 20:45:17 +03:00
Yair Morgenstern
847bf9650d
Changed the basic stat icons to not use the original Civ's
2018-08-10 18:31:18 +03:00
Yair Morgenstern
97bb4e05b9
Fixed bug where you could buy the same buildings multiple times - thanks vita10g!
2018-08-09 10:10:49 +03:00
Yair Morgenstern
3b83627386
Left side of diplomacy screen now scrolls
2018-08-07 07:39:44 +03:00
Yair Morgenstern
99c0abd24d
Fixed crash when you would melee attack an enemy unit that was in a friendly civ's (unenterable) territory
2018-08-06 13:08:45 +03:00
Yair Morgenstern
2be6a5c15c
AI construction choices now better and change between peacetime and wartime.
...
AIs now declare war on each other if they think they can defeat the other side
(Returned movement alg. to the way it was because the new way didn't allow ais to find enemy units, added comment)
2018-08-05 23:08:50 +03:00
Yair Morgenstern
e655d6620a
Added LOADS of words to be translated - all buildings and units!
2018-08-05 16:12:46 +03:00
Yair Morgenstern
215310b413
Diplomacy screen, declaring war, no entering frienly enemy territory
2018-08-02 21:21:30 +03:00
Yair Morgenstern
bf9e06445c
All diplomacy now done from a separate screen
2018-08-02 14:59:53 +03:00
Yair Morgenstern
023c4cd1c6
Trade now almost entirely separate from Trade Screen, so the Trade screen can become a Diplomacy screen!
2018-08-01 22:41:23 +03:00
Yair Morgenstern
d8bb0eb9e5
Can now trade Peace Treaty! Which leads to actual fukken peace!
2018-07-31 17:48:57 +03:00
Yair Morgenstern
041f904f6c
Added language picker screen
2018-07-26 23:46:14 +03:00
Yair Morgenstern
06c68302ce
Added difficulty settings!
2018-07-25 22:56:25 +03:00
Yair Morgenstern
b4614fc1f5
Railroad now looks like a railroad and visible on tundra
2018-07-24 18:22:39 +03:00
Yair Morgenstern
0d261e88bf
Added list of units to empire overview
2018-07-19 13:29:52 +03:00
Yair Morgenstern
5ee0c47e22
If a unit can be promoted twice, the promotion picker remains open after you pick the first promotion
2018-07-18 13:26:29 +03:00
Yair Morgenstern
7ec95fefd9
No tile will now be in 2 cities simultaneously
...
Cities can't "take over" tiles neighboring to a city
2018-07-16 23:50:35 +03:00
Yair Morgenstern
da3d749547
When unable to support units, they disband one by one instead of all at the same time
2018-07-15 19:51:27 +03:00
Yair Morgenstern
bfb53a1940
Updating happiness happens in a different thread so it doesn't impede the update() function
2018-07-12 19:17:58 +03:00
Yair Morgenstern
3215e0eea9
Displayed happiness updated within the turn (thanks Am-Per-Sand!)
2018-07-11 21:25:23 +03:00
Yair Morgenstern
849129ac65
Added trade translation texts
...
Added duration to trade screen buttons
2018-07-09 22:43:32 +03:00
Yair Morgenstern
0c17e19ea2
Trading gold now works as well!
2018-07-06 16:42:32 +03:00
Yair Morgenstern
9f81ac6676
Defeated civs no longer have automated actions, and their remaining units are removed from the map
2018-07-03 22:25:13 +03:00
Yair Morgenstern
f08261edaf
Fixed bug where (I assume) if you started a game before version 94, then you may not have any techs at all, and so wwhen you try to fund the player's Era by techs, it finds nothing and explodes
2018-07-01 17:16:56 +03:00
Yair Morgenstern
4bbffe318b
More translation stuff
2018-06-25 21:50:56 +03:00
Yair Morgenstern
b166e23858
Game now longer gets an Application Not Responding when taking a long time creating a new game
2018-06-25 08:41:22 +03:00
Yair Morgenstern
a56e7e43aa
Added Agriculture tech - no gameplay change, but it does tell the game's story well!
2018-06-24 21:19:57 +03:00
Yair Morgenstern
e0961e1b0b
Unit table updates texts even if the unit hasn't changed
2018-06-22 10:41:53 +03:00
Yair Morgenstern
bed7a37a6b
Cities connected to capital have a connected symbol next to them
...
Unit information displays XP to next promotion
2018-06-21 22:52:24 +03:00
Yair Morgenstern
3f87cfa3db
Fixed silly regex bug which works differently on desktop and android
2018-06-19 20:01:49 +03:00
Yair Morgenstern
fa14b6eebe
Cities can now idle by producing Nothing
2018-06-18 22:00:07 +03:00
Yair Morgenstern
ed8e664358
Added Cover, March and Charge promotions
2018-06-17 23:08:16 +03:00
Yair Morgenstern
80963e7eac
Added damage modification from basic promotions
2018-06-16 23:35:54 +03:00
Yair Morgenstern
03f5f32f36
Golden age now also provides +20% to culture; added Golden Age tutorial
2018-06-14 22:47:04 +03:00
Yair Morgenstern
0eb28ab679
Select box, text field and picker screens now look much nicer
2018-06-12 22:46:23 +03:00
Yair Morgenstern
e1df4b4840
Cached fonts for reuse - generating them takes valuable time!
2018-06-12 21:38:40 +03:00
Yair Morgenstern
a380f7aa95
Battle table now displays "Captured" when attacking a city with no resistance
2018-06-12 09:10:02 +03:00
Yair Morgenstern
c27bcb00c4
Fixed notification when capturing a civilian unit
2018-06-12 09:09:11 +03:00
Yair Morgenstern
adeaa5907a
Added city health in text description of tile
2018-06-10 17:42:16 +03:00
Yair Morgenstern
95bdcf8dcb
Notification scroll height is now limited
2018-06-08 15:28:02 +03:00
Yair Morgenstern
7002b8d55e
Fixed save/load game Clipboard problems
2018-06-06 14:47:37 +03:00
Yair Morgenstern
c088c02b1e
Added Roboto font and finally figured out how to make TrueType fonts look good!
2018-06-05 21:53:51 +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
14a1bc5626
Fixed crash caused by trebuchet listing "cannon" as upgrade, but the cannon doesn't exist yet 0_0
2018-05-28 22:03:56 +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
7ee62b7d1c
Moved star,circle,shield icons to OtherIcons folder
2018-05-24 22:31:06 +03:00
Yair Morgenstern
2a2cc9a873
Removed final sum of combat values from BattleTable
2018-05-23 00:55:55 +03:00
Yair Morgenstern
1b2fa7317e
Added unit obsolesence
2018-05-21 23:00:09 +03:00
Yair Morgenstern
318931b902
Added extra stat icons
2018-05-17 22:02:11 +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
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
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
Yair Morgenstern
030ddafce6
Bugfixes
2018-05-14 22:45:41 +03:00
Yair Morgenstern
ec760e660f
Fixed crash when settler didn't find a good city spot within 5 tiles
2018-05-11 10:39:54 +03:00
Yair Morgenstern
4c4abb452c
Fixed idiotic bug that caused the game to crash =(
2018-05-10 11:01:55 +03:00
Yair Morgenstern
9625a12ba2
Damage calculations are now according to extrapolated Civ V rules
2018-05-09 18:24:30 +03:00
Yair Morgenstern
c3a51460b7
More unit information and combat mechanics fixes
2018-05-08 11:56:51 +03:00
Yair Morgenstern
8b748384af
Added chariot archer - includes adding requiredTech, requiredResource, and uniques to units
2018-05-07 23:42:58 +03:00
Yair Morgenstern
4e699f917e
Organized automation classes
2018-05-06 11:48:01 +03:00
Yair Morgenstern
1a6e4d30f8
Can now see the units from within the city screen
2018-05-06 09:30:20 +03:00
Yair Morgenstern
8d2edfefc7
Civilopedia help now shows correct text
...
Sped up pollicy-related actions
2018-04-27 15:24:31 +03:00
Yair Morgenstern
ace5a6efbf
Worker automation fixed - ready for big update!
2018-04-26 21:29:20 +03:00
Yair Morgenstern
221a8668fa
Selected unit now has a white circle around it
2018-04-17 21:56:58 +03:00
Yair Morgenstern
34c1047b65
Fixed bug where enemy units were viewable despite the tile being unexplored
2018-04-12 21:52:00 +03:00
Yair Morgenstern
ca7fb9c3be
Multiple IDE-suggested fixes
2018-04-11 23:46:00 +03:00
Yair Morgenstern
32efae340b
Unit table now displays ranged strength for ranged units
2018-04-09 19:09:08 +03:00
Yair Morgenstern
f662cd910d
Added a table in city screen, to show a breakdown of the ciy stats
2018-04-05 13:59:22 +03:00
Yair Morgenstern
39cc236fae
City labels are colored according to civ, and scale down when zooming in
2018-04-05 12:47:10 +03:00
Yair Morgenstern
e5e0c5daa5
Now displays defender name properly, and not attacker name
2018-04-05 11:19:31 +03:00
Yair Morgenstern
461bea0cbc
Healing units now attempt to go to better tiles to heal there
...
Fixed bug where units moving from A to B would move multiple times between turns, effectively "jumping" distances
2018-04-05 11:04:40 +03:00
Yair Morgenstern
4e36aa0d5a
No longer attempts to attack city that contains a unit
...
Battle visualization bug fixed
2018-04-04 17:37:59 +03:00
Yair Morgenstern
bd1a191b15
Battle tabl now shows results of battle, added Barbarian civ
2018-04-01 15:01:48 +03:00
Yair Morgenstern
a8051bc930
Moved CityButton from TileGroup to WorldTileGroup
2018-03-21 22:03:37 +02:00
Yair Morgenstern
e496148e21
Tiles are now larger, population and units placed in a more visually pleasing way
2018-03-19 23:30:54 +02:00
Yair Morgenstern
9debc85501
Removed old terrain icons to decrease the size of the apk
2018-03-19 23:09:31 +02:00
Yair Morgenstern
c4736f0467
Map generation now generates areas coontaining the same terrain, rather than have each tile be a random terrain - much closerr to what you get in the real Civ game, even though we're pretty far from there
2018-03-10 22:01:10 +02:00
Yair Morgenstern
9253c40085
Added Kotlin!
2018-02-23 15:36:13 +02:00
Yair Morgenstern
397556f81f
Deleted unneccesary files, minor changes that were pointed out by code inspection
2018-02-23 13:31:45 +02:00
Yair Morgenstern
6a2f4a07f1
Major overhaul - all tree items now have transient pointers to their parents, eliiminating the need for static calls for Civilization.Current and the like - neccesary if we want to have multiple civilizations
2018-02-23 12:57:52 +02:00
Yair Morgenstern
4d6b5c997d
Split generating the map to a separate class
...
Fixed bug loading game when multiple cities
2018-02-05 23:19:58 +02:00
Yair Morgenstern
ce7a7916c1
- Fixed bug when picking legalism with less than 4 cities
...
- Added City Center indication, made population image in city screen more prominent and clickable
2018-02-03 21:49:46 +02:00
Yair Morgenstern
7cbddd883b
Split WorldScreen functionality into components - civ stats table, tile info table, tile map holder, notificaations scroll, idle unit button
...
Added yield on tiles
2018-01-31 22:45:21 +02:00
Yair Morgenstern
b6d235a4d0
Automated actions should now choose best and closest tile to work on, differentiated pre- and post- turn actions
2018-01-22 22:57:17 +02:00
Yair Morgenstern
63f24db67b
Implemented line-of-sight according to terrain
2018-01-11 20:51:19 +02:00
Yair Morgenstern
5b28840940
Notifications now contain location, and are clickable when appropriate
2018-01-08 22:42:09 +02:00
Yair Morgenstern
6c035c79b6
Improved visuals of science victory screen
...
Added Scout to game start
Added tutorials
2018-01-08 18:52:30 +02:00
Yair Morgenstern
9dad8908d6
Added basic tutorials
2018-01-03 22:36:56 +02:00
Yair Morgenstern
08735d8e99
Improvement building no longer generates notification
...
Roads that turn to railroads now change color, and railroads are gray to help them stand out against the background
Map now contains a 50px padding from the edge
2018-01-02 21:06:50 +02:00
Yair Morgenstern
c0927cf49f
Added free social policies and expanded automation choices
2018-01-01 22:37:42 +02:00
Yair Morgenstern
befb0561b5
Added unit movement to further tiles
2017-12-30 22:58:36 +02:00
Yair Morgenstern
ab2b33318b
Buildings are now divided by type in city screen
2017-12-28 21:50:17 +02:00
Yair Morgenstern
7b0b0b2f3b
Great Person Points added to wonder description
...
Fixed bug where university science percent would keep rising
Specialists are now per-building
2017-12-28 21:11:58 +02:00
Yair Morgenstern
f30ade602d
Split buildings and units to 2 separate files and types - both are now IConstruction, and cityBuildings has been changed to cityConstructions will all that entails
2017-12-17 19:45:09 +02:00
Yair Morgenstern
761b62038f
Observatory now available with astronomy
...
Wealth and science production fixed to 4:1
Wonder bug fixed
2017-12-12 22:31:48 +02:00
Yair Morgenstern
48f56e2e85
Added factories and civ resource management
2017-12-08 09:39:18 +02:00
Yair Morgenstern
635e8ce08a
Game now fits to the screen, without 'extra bits'
...
Roads now make movement cost 1/2 before machinery and 1/3 after
2017-12-05 13:47:33 +02:00
Yair Morgenstern
4bb4187ab1
Organized unique wonder abilities by adding "unique" string to building
...
Added Machu Pichu, Angkor Wat and Aqueduct unique abilities
Expanded civilopidia entry for buildings
Merged CityPopulation into CityInfo because the division was arbitrary
2017-12-04 19:10:25 +02:00
Yair Morgenstern
2f9d6af693
Improvements on tiles can advance
...
Cannot create adjacent cities
Standardized function and parameter names
2017-11-30 22:25:20 +02:00
Yair Morgenstern
c8dd598438
Added education buildings
2017-11-25 23:51:58 +02:00
Yair Morgenstern
d125c6ba3e
Google play-able
...
Units with no turns left are now grayed out
Added culture pool to cities and tiles being added to cities when pool fills
Changed tile icon order and placing of resource icon
2017-11-25 21:56:04 +02:00
Yair Morgenstern
0319602092
Initial commit
2017-11-22 00:09:35 +02:00