Commit Graph

9895 Commits

Author SHA1 Message Date
Crypto City
3fb509b796 more work in influence 2019-12-13 01:21:44 +00:00
Crypto City
81daa4733d improve snapshot handling 2019-12-13 01:21:44 +00:00
Crypto City
e93ff8cf84 procsky: disable UI and texture dump 2019-12-13 01:21:44 +00:00
Crypto City
2fc645626a enable procsky and increase far plane 2019-12-13 01:21:44 +00:00
Crypto City
455c859823 new command to assign items to a flag 2019-12-13 01:21:44 +00:00
Crypto City
4e0158c476 fix prev cc_shares record fetching 2019-12-13 01:21:44 +00:00
Crypto City
9ec1540fee game: display treasury balance 2019-12-13 01:21:44 +00:00
Crypto City
5ff843a7a5 functional tests: fix cc tests (adding building settings as a side effect) 2019-12-13 01:21:44 +00:00
Crypto City
a2ff11aee3 rpc: CC locking fix 2019-12-13 01:21:44 +00:00
Crypto City
cd0c10342d game: fix estimate payout in empty world 2019-12-13 01:21:04 +00:00
Crypto City
445d59c650 city support in game update command 2019-12-13 01:21:04 +00:00
Crypto City
7b26b94e56 make shares 64 bit 2019-12-13 01:21:04 +00:00
Crypto City
3a9ce612ff game: display influence radius
also display those overlays with alpha
2019-12-13 01:21:04 +00:00
Crypto City
346f3e9791 game update 2019-12-13 01:21:04 +00:00
Crypto City
818aa814c3 game: get a new snapshot when we get a game update command
These will be complex to get right, so might as well get a new
snapshot. This can change if it proves slow as the world grows.
2019-12-13 01:20:38 +00:00
Crypto City
058e08e025 tweak influence rules 2019-12-13 01:20:38 +00:00
Crypto City
a7fcb2cce8 payouts 2019-12-13 01:20:38 +00:00
Crypto City
96bbe1857c keep land if a building decays to 0 2019-12-13 01:20:38 +00:00
Crypto City
6e8c42868d more work on influence 2019-12-13 01:20:38 +00:00
Crypto City
13f61e7e16 some work on potential 2019-12-13 01:20:38 +00:00
Crypto City
937621b98b add get_cc_agricultural_potential for an area 2019-12-13 01:20:38 +00:00
Crypto City
bfa21bfd15 cc: pass role, not stability, to influence calc 2019-12-13 01:20:37 +00:00
Crypto City
1795477cdd replace monetary cost by labour cost in building 2019-12-13 01:20:37 +00:00
Crypto City
f6dfd72be6 game: rename "Load" button "Import model" 2019-12-13 01:20:37 +00:00
Crypto City
043d41aaa3 game: maintain flag budget when approving/abandoning building 2019-12-13 01:20:37 +00:00
Crypto City
abe4da3167 fixes for labour as item 2019-12-13 01:20:37 +00:00
Crypto City
9b9aed1c56 make blocks and labour items 2019-12-13 01:20:37 +00:00
Crypto City
0a2797fea5 blockchain: remove some obsolete code 2019-12-13 01:20:37 +00:00
Crypto City
f9804e9cd7 game: better building settings UI 2019-12-13 01:20:37 +00:00
Crypto City
3b4bc714b4 game: don't ask for a snapshot multiple times when syncing 2019-12-13 01:20:37 +00:00
Crypto City
ef859fd01b game: enable/disable some buttons based on game state 2019-12-13 01:20:37 +00:00
Crypto City
29a7b2f954 more work on building settings 2019-12-13 01:20:37 +00:00
Crypto City
958e11370a cc: decrease town center stability potential map size 2019-12-13 01:20:37 +00:00
Crypto City
fb318fbf16 building settings 2019-12-13 01:20:37 +00:00
Crypto City
2bdb7be38c add role flag field 2019-12-13 01:20:37 +00:00
Crypto City
9cd6f6fc5c game: add a flag window, with basic flag info 2019-12-13 01:20:37 +00:00
Crypto City
d5b68cd957 game: don't allow buying more than 256x256
It'd end up buying a size modulo 256
2019-12-13 01:20:37 +00:00
Crypto City
4e1b8e14b9 add cc influence building blocks 2019-12-13 01:20:37 +00:00
Crypto City
70179de428 potential maps 2019-12-13 01:20:37 +00:00
Crypto City
8a9b3f0e66 more work on game update 2019-12-13 01:20:37 +00:00
Crypto City
2dbab85c58 quadtree: move to cc, and use std::shared_ptr instead of Urho3D's 2019-12-13 01:20:37 +00:00
Crypto City
3b318b5bf4 more work on trade command 2019-12-13 01:20:37 +00:00
Crypto City
1248fc2dc7 more work on trade command 2019-12-13 01:20:37 +00:00
Crypto City
4d351a682a more work on trade command 2019-12-13 01:20:37 +00:00
Crypto City
50dfea93af game: make the quadtree is a bit more generic 2019-12-13 01:19:10 +00:00
Crypto City
5face5e4c6 more work on trade command - accept only one trade for the same flag 2019-12-13 01:19:10 +00:00
Crypto City
39cfbb1c2d tx_pool: remove obsolete code 2019-12-13 01:19:10 +00:00
Crypto City
d422c248cf cc_command_defs: fix account size, it should be 32 bit 2019-12-13 01:19:10 +00:00
Crypto City
fc3bcb1533 tx_pool: flush txes with unknown parent 2019-12-13 01:19:10 +00:00
Crypto City
ca666fd6ff change display mode to "show/hide flags"
blocks are now always shown
2019-12-13 01:19:10 +00:00