Commit Graph

11060 Commits

Author SHA1 Message Date
Crypto City
d5f371143c game: pass resource flags upstream and include them in command 2019-12-13 01:30:29 +00:00
Crypto City
79b4718b07 game: show extra labour in building settings dialog 2019-12-13 01:30:29 +00:00
Crypto City
6d1c0dfcf8 unit_tests: test get_cc_influence does not overflow 2019-12-13 01:30:29 +00:00
Crypto City
6f24dc5dc7 game: fix estimated land tax in building settings window 2019-12-13 01:30:29 +00:00
Crypto City
b2a77a2b39 cc: building settings costs more labour with distance to generators 2019-12-13 01:30:29 +00:00
Crypto City
f6e2faeeb7 wallet_rpc_server: add parent to build command 2019-12-13 01:30:28 +00:00
Crypto City
9853c226ef wallet_rpc_server: add resource_flags to building_settings request 2019-12-13 01:30:28 +00:00
Crypto City
3543d06137 rpc: return influence in cc_get_flag response 2019-12-13 01:30:28 +00:00
Crypto City
b2ce755525 cc: fix get_distance, and add unit tests 2019-12-13 01:30:28 +00:00
Crypto City
1d765e5689 cc: remove leftover debug trace 2019-12-13 01:30:28 +00:00
Crypto City
a3f97c26ec wallet_rpc_server: return command nonce in build command 2019-12-13 01:30:28 +00:00
Crypto City
c42899adc9 unit_tests: fix missing parameter in flag_t ctor 2019-12-13 01:30:28 +00:00
Crypto City
1570a58471 db_lmdb: set economic power to 0 for new land (before any building) 2019-12-13 01:30:28 +00:00
Crypto City
ddb878c0b0 rpc: serialize missing field in cc_get_flag response 2019-12-13 01:30:28 +00:00
Crypto City
ed4ccaa3cf wallet: remove unused budget field in building_settings response 2019-12-13 01:30:28 +00:00
Crypto City
1caeafccb6 cc: fix game update revert reverting wrong items 2019-12-13 01:30:28 +00:00
Crypto City
661e8d7a32 .gitmodules: lowercase randomx 2019-12-13 01:28:54 +00:00
Crypto City
936d57ecc3 point randomx to my fork 2019-12-13 01:28:54 +00:00
Crypto City
cd10f8d974 p2p: add seed node 2019-12-13 01:28:54 +00:00
Crypto City
6386184aa6 functional_tests: check popping all blocks restores initial state 2019-12-13 01:28:54 +00:00
Crypto City
ac22b43e79 blockchain: fix get_output_distribution assuming monero forks 2019-12-13 01:28:54 +00:00
Crypto City
67946e117e cc: clear last events when reverting a game update command 2019-12-13 01:28:54 +00:00
Crypto City
075119b46b unit_tests: fix overread in influence calculation 2019-12-13 01:28:54 +00:00
Crypto City
95a9010a3a game: enable/disable buttons depending on current state 2019-12-13 01:28:54 +00:00
Crypto City
bedf6e19b1 simplewallet: replace cow with cubes on lock screen 2019-12-13 01:28:54 +00:00
Crypto City
d1d5226922 game: display a "loading wallet" notification when starting loading 2019-12-13 01:28:54 +00:00
Crypto City
dc5df6bba9 game: keep budget unchanged if there is not enough to build 2019-12-13 01:28:54 +00:00
Crypto City
c9c91ccb08 cc: add staff (extra payments per building count)
to incentivize richer people towards larger buildings rather
than many small ones
2019-12-13 01:28:54 +00:00
Crypto City
1bc506271e blockchain: fix crash in init 2019-12-13 01:28:54 +00:00
Crypto City
25cb8145fe game: fix inconsistent escape behaviour 2019-12-13 01:28:54 +00:00
Crypto City
341ed8ed53 rejig repair a bit
Repair is now 0 before anything is built, and goes to 100% when
building. This makes it easier when building anew after a building
got destroyed due to decay
2019-12-13 01:28:54 +00:00
Crypto City
79348ffb50 cc: don't add 0 land tax events 2019-12-13 01:28:21 +00:00
Crypto City
dfd37c7bf5 game: add mouse/key based building
z to place a block where the mouse points
x to remove a block where the mouse points
tab to cycle through block types
2019-12-13 01:28:21 +00:00
Crypto City
f2f92e924e game: auto select next item type when adding a row in item select dialog 2019-12-13 01:28:21 +00:00
Crypto City
de89dfa53b game: fix double counting of blocks when building 2019-12-13 01:28:21 +00:00
Crypto City
836b362159 fix reverting buy_land after trading flags 2019-12-13 01:28:21 +00:00
Crypto City
70b4a8f594 Fixes after rebasing onto latest monero 2019-12-13 01:27:46 +00:00
Crypto City
f4c2a09499 functional_tests: add command revert tests 2019-12-13 01:26:54 +00:00
Crypto City
63b26444bb wallet: add assign_items RPC command 2019-12-13 01:26:54 +00:00
Crypto City
210882c66f remove tile data and set repair to 0 for derelict buildings 2019-12-13 01:26:54 +00:00
Crypto City
475ff2dcdb unit_tests: fix cc unit tests build 2019-12-13 01:26:54 +00:00
Crypto City
8fae545324 simplewallet: fix prospective balance reporting for create_account 2019-12-13 01:26:54 +00:00
Crypto City
5ed672eff3 rpc: fix pop_blocks not returning an error on error 2019-12-13 01:26:54 +00:00
Crypto City
302bcbef8f cc: add paranoid static assert about MIN_BUY_SIDE_SIZE 2019-12-13 01:26:54 +00:00
Crypto City
3b479592a8 db_lmdb: fix flag tile deletion 2019-12-13 01:26:54 +00:00
Crypto City
fd3b33d1d9 cc: fix stray db writes 2019-12-13 01:26:54 +00:00
Crypto City
94d28268f8 rpc: add optional cc_fee in get_transactions response 2019-12-13 01:26:54 +00:00
Crypto City
4d2bfe56f6 db_lmdb: don't move leftover balance to treasury on account deletion
It breaks reorgs
2019-12-13 01:26:05 +00:00
Crypto City
cfa02b4775 cc: fix stonecutter producing wood, not stone 2019-12-13 01:26:05 +00:00
Crypto City
21924d6aa9 cc: include bonus/penalty in game events 2019-12-13 01:26:05 +00:00