Commit Graph

9873 Commits

Author SHA1 Message Date
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
Crypto City
976dec8ded game: print building role if unnamed in events dialog 2019-12-19 00:58:29 +00:00
Crypto City
ed7e28d13d game: fix off by one 2019-12-18 21:24:59 +00:00
Crypto City
d46b622f65 game: allow empty role in building settings for empty building
also select the current role by default
2019-12-18 21:22:06 +00:00
Crypto City
f48ea3fefd game: fix buffer overflow 2019-12-18 21:15:39 +00:00
Crypto City
a585369ab1 game: make shares 64 bits in a place where they were still 32 bits 2019-12-18 01:04:27 +00:00
Crypto City
269328d4f1 core_tests: set CC_FAST_POW by default 2019-12-17 13:56:16 +00:00
Crypto City
2cc1144b19 cc: slowly increase land tax with distance from the town center 2019-12-17 13:56:16 +00:00
Crypto City
89b1c6c0d8 cc: tweak workforce generator a bit and fix its money sink 2019-12-17 13:56:15 +00:00
Crypto City
8a41742521 cc, game: disable some items and roles
They'll be game upgrades
2019-12-17 13:56:15 +00:00
Crypto City
7eeaa75acd cc: disable BUILD_RATIO_ACTIVE_THRESHOLD_PERCENT
It seemed like a good idea to push people to build, but it
might instead push people to build anything quick even if
they don't have a nice idea yet
2019-12-17 13:56:15 +00:00
Crypto City
6fafc90925 game: add building names to the last events dialog 2019-12-17 01:40:31 +00:00
Crypto City
099ddec05f game: move Map to GameState 2019-12-17 01:40:31 +00:00
moneromooo-monero
5f71de2803 wallet2: guard against race with multiple decrypt_keys users
If more than one thread wants to make sure of the spend secret key,
then we decrypt on the first caller and reencrypt on the last caller,
otherwise we could use an invalid secret key.
2019-12-17 01:40:29 +00:00
Crypto City
c76b4a210a game: fix free camera not keeping from rolling 2019-12-14 19:26:24 +00:00
Crypto City
56920d6130 game: fix crash removing last block 2019-12-14 19:01:43 +00:00
Crypto City
bbebe773f8 db_lmdb: fix bugs allocating new flags after some were deleted 2019-12-14 16:40:46 +00:00
Crypto City
2fa0400d72 Fixups after monero rebase, and fix tests after other recent changes 2019-12-14 16:40:46 +00:00
Crypto City
41e339eff1 cc: decrease the one off fee to buy land 2019-12-13 01:33:07 +00:00
Crypto City
cbb7cb02ac game: add a basic "walker" camera
moves at ground level, can climb over one block
2019-12-13 01:33:07 +00:00
Crypto City
6577c31175 game: move camera code in a separate class with a base class 2019-12-13 01:33:07 +00:00