Commit Graph

10935 Commits

Author SHA1 Message Date
Crypto City
24a9685e57 game: hide locked and discovered discoveries by default 2019-12-27 03:08:55 +00:00
Crypto City
c4d88a0996 cc: add a couple more discoveries 2019-12-27 02:24:49 +00:00
Crypto City
94c605528c cc: do not count existing budget for chance to discover
turns out this is the best in practice
2019-12-27 01:52:36 +00:00
Crypto City
eca8f78ea2 tests fix 2019-12-27 01:51:08 +00:00
Crypto City
bc78dfe75c cc: fix bug hashing research outcome 2019-12-27 01:51:08 +00:00
Crypto City
dbfac813e3 add some research/discoveries tests 2019-12-27 01:51:08 +00:00
Crypto City
bcb5f8e885 unit_tests: fix buy_land test after land cost change 2019-12-26 18:43:19 +00:00
Crypto City
d1f8d2c717 game: improve research UI
Prediction of chance of discovery from amount paid, colouring,
hide widgets if a discovery is not currently researchable
2019-12-26 18:03:59 +00:00
Crypto City
241a60c1ee game: swap buy and sell widgets around, it feels more natural 2019-12-26 16:49:13 +00:00
Crypto City
f81c8203aa game: add in chat game notifications
So far, only used for new buildings
2019-12-26 16:26:55 +00:00
Crypto City
22a59fb069 cc: add a few more discoveries 2019-12-26 16:26:55 +00:00
Crypto City
2f33a4a4f4 game: add research UI 2019-12-26 16:23:16 +00:00
Crypto City
54c462ed22 change item balances from uint32_t[NUM_ITEMS] to std::map<uint32, uint32>
We have a lot more item space now, and a lot of it is sparse
2019-12-26 16:23:16 +00:00
Crypto City
3fba4e24a1 unit_tests: fix tests after production changes
also a bug in the test code
2019-12-26 01:59:56 +00:00
Crypto City
4fc5db3f78 small research fixes and factor some code 2019-12-25 23:19:02 +00:00
Crypto City
1076fe952b cc: add research buildings 2019-12-25 22:29:52 +00:00
Crypto City
ccb71779c6 game: fix buying from the last resort seller from the trade ui 2019-12-25 22:29:36 +00:00
Crypto City
86a1517139 Discoveries and research 2019-12-25 20:36:51 +00:00
Crypto City
33d04dff63 cc: fix defaulting on buildings not clearing flags from accounts 2019-12-24 19:16:25 +00:00
Crypto City
73af7e4905 game: add matching and expiration to the trade UI 2019-12-24 18:42:13 +00:00
Crypto City
1cc85512c3 game: fix type mismatch 2019-12-24 18:11:08 +00:00
Crypto City
fd7ad43a88 game: trade UI (no matching yet) 2019-12-24 13:42:41 +00:00
Crypto City
d3981da708 cc: fix item balance check not setting the detail flag 2019-12-24 13:42:31 +00:00
Crypto City
3ce82a8424 game: update blur sizes on window resize 2019-12-23 21:50:29 +00:00
Crypto City
2069249b41 game: speed up default rendering case
Disable glow effect when it's used for anything
2019-12-23 21:32:22 +00:00
Crypto City
20ce5ae867 game: fix new/glow effect missing 2019-12-23 21:29:56 +00:00
Crypto City
3dba400994 cc: cleanup tiny block amounts in requirements 2019-12-23 19:14:52 +00:00
Crypto City
6f5e74503f cc: more tweaks and payout fixes 2019-12-23 18:12:06 +00:00
Crypto City
90d31182b4 more road and influence tweaks 2019-12-23 13:32:49 +00:00
Crypto City
0b870194dc cc: make land cost proportional to tiles (with some skew penalty) 2019-12-23 01:49:10 +00:00
Crypto City
d3b1cb3334 cc: slash all costs by 10 2019-12-23 00:57:12 +00:00
Crypto City
85485b6ebc cc: tweak RES requirements 2019-12-23 00:38:25 +00:00
Crypto City
4a63f50420 only consider active buildings for road bonus/shares calc 2019-12-23 00:05:54 +00:00
Crypto City
94dd8fb8d3 cc: fix shares and activation in game update 2019-12-22 20:11:42 +00:00
Crypto City
5fc8c98a20 tweak road bonus for residential flags based on north/south 2019-12-22 15:51:03 +00:00
Crypto City
40801f4f33 custom repair print function
to avoid relying on floats
2019-12-22 14:06:29 +00:00
Crypto City
9475f232ba cc: some more tweaking 2019-12-21 23:42:08 +00:00
Crypto City
513b4564b8 tests: fix after recent changes 2019-12-21 17:57:20 +00:00
Crypto City
dedcfa08e5 cc: make the agricultural min size smaller 2019-12-21 17:56:58 +00:00
Crypto City
ab39221a5e Add minimum sizes for certain roles/economic power combinations 2019-12-21 17:56:58 +00:00
Crypto City
1c3e744cb3 game: fix tile changing before all build txes are emitted 2019-12-21 17:56:58 +00:00
Crypto City
46ff4e2d31 cc: fix min/max trade expiration to match block target change 2019-12-21 17:56:58 +00:00
Crypto City
b98b8bf5b2 some more road tweaking 2019-12-21 17:56:58 +00:00
Crypto City
28d92dacfa cc: fix removing update events from the wrong height on revert 2019-12-21 17:56:58 +00:00
Crypto City
4417e82007 game: fix loop back to end on previous button in update events dialog 2019-12-21 17:56:58 +00:00
Crypto City
51d6704a08 cc: connection_squares now also returns direction
of the first building compared to the second building
2019-12-21 17:56:58 +00:00
Crypto City
56e71876a1 cc: take into account amount of road space leading to a building 2019-12-21 17:56:58 +00:00
Crypto City
b9146035de cc: add adjecent squares calc
I'm sure it'll come handy soon
2019-12-21 17:56:58 +00:00
Crypto City
a6b50d309c road tweaks 2019-12-21 17:56:58 +00:00
Crypto City
22285d7b70 Roads 2019-12-21 17:56:58 +00:00