Commit Graph

235 Commits

Author SHA1 Message Date
Crypto City
d8d45c8fba unit_tests: fix build after set_default_palette change 2021-12-02 12:20:11 +00:00
Crypto City
9f8cbdcb77 unit_tests: fix build after get_building_cost_production api change 2021-11-29 10:41:18 +00:00
Crypto City
861f378589 speed up account balance access and updates 2021-11-25 12:10:05 +00:00
Crypto City
0e756771d3 avoid unnecessary repeated read/write of the same flag/account record 2021-11-24 07:08:50 +00:00
Crypto City
9e592619fb tweak workforce building
- add management efficiency discovery levels, increasing output
- add penalties for industry influence
2021-11-24 07:08:50 +00:00
Crypto City
fe5272b288 add whispers - player messages on arbitrary locations 2021-11-23 16:22:28 +00:00
Crypto City
d545944400 add a level based build height limit 2021-11-02 08:49:58 +00:00
Crypto City
8153873cb2 make recent consensus changes activate at v15 2021-10-15 12:41:26 +00:00
Crypto City
0d20478bd2 mayors may now control who can buy/build in their city 2021-10-14 10:47:26 +00:00
Crypto City
4d17a7bc26 give road bonuses to flags that are suitable for bridges 2021-10-04 21:31:50 +00:00
Crypto City
c3428cf347 game: partial magica voxel extension support
Scenegraph support, so models split into submodels can be loaded
2021-09-21 12:18:18 +00:00
Crypto City
9edd5e0966 game: load schematic models
These seem to have models fitting in cubes, so the import looks
very blocky and crude
2021-09-21 12:18:18 +00:00
Crypto City
92b1a11683 unit_tests: remove tests using overflowing values 2021-09-12 21:25:38 +00:00
Crypto City
a80ff364d6 unit_tests: fix uninitialized field 2021-09-12 21:25:38 +00:00
Crypto City
3e93a91c28 db_lmdb: do not use DUPSORT for cc_events table
It increase the size somewhat but can store events of arbitrary
length.
2021-09-12 21:25:38 +00:00
Crypto City
c5ecf75dd1 unit_tests: fix leaks 2021-09-08 01:43:54 +00:00
Crypto City
22bc59cb06 remove unused BlockchainDB method 2021-08-21 14:44:33 +00:00
Crypto City
64bd5a503b unit_tests: fix buy_land test after integer overflow fix 2021-08-15 16:17:43 +00:00
Crypto City
5db3e646af make potential/height functions safer 2021-08-12 11:01:36 +00:00
Crypto City
7d55777ba9 pass hard fork version to cc command check/execute/revert 2021-07-05 13:55:19 +00:00
Crypto City
3536b1d36a some things are now affected by how much a flag is south oriented 2021-07-05 00:49:36 +00:00
Crypto City
0e49625986 bonus/penalties based on average flag slope 2021-07-03 15:40:49 +00:00
Crypto City
0eef676e97 unit_tests: add a test for discovery prerequisites 2021-06-27 10:27:32 +00:00
Crypto City
2553304690 unit_tests: remove leftover noisy trace 2021-06-08 12:59:17 +00:00
Crypto City
6eeea7ed94 coins can now have a custom graphic design 2021-05-29 12:32:20 +00:00
Crypto City
abe2314fad unit_tests: fix redeem_account tests and add tests for pm keys 2021-05-29 12:32:20 +00:00
Crypto City
135742961f add logging/quarrying/maintenance discoveries 2021-05-14 17:22:13 +00:00
Crypto City
5342a8e62c fix tests and game after placeholder pm keys addition 2021-05-14 17:22:13 +00:00
Crypto City
93c8da0b5c cc: make all event logs use past tense 2021-05-14 16:40:36 +00:00
Crypto City
cb4ee1182f embed extra couple of pubkeys in account creation commands
to be used for messaging later
2021-05-07 10:14:59 +00:00
Crypto City
514bec111b store better info (counterparties, all flags/items, fee) in game events
also make balance signed so we can distinguish income and expenditures,
add missing/incorrect event data
2021-04-27 18:15:30 +00:00
Crypto City
a395ab3c37 remove various unused variables 2021-04-27 18:15:29 +00:00
Crypto City
931773c40e Merge remote-tracking branch 'origin/master' into cc 2021-04-24 13:46:11 +00:00
Crypto City
e8f35a87c8 halve block time for user friendliness in gameplay 2021-04-22 23:18:32 +00:00
Crypto City
a6b5210c2f increase tax increase min radius with city level 2021-04-21 13:56:25 +00:00
Crypto City
241b1edf69 add cartography discoveries, and tweak some discovery costs 2021-04-19 10:45:02 +00:00
Crypto City
aefb95a88b new "playing with fire" badge 2021-04-18 19:23:47 +00:00
Crypto City
618388ccab items can now be auctioned 2021-04-15 11:12:21 +00:00
Crypto City
7eafb335b1 do not reuse flags, it only leads to mistakes in history 2021-04-12 13:48:34 +00:00
Crypto City
f2cf26638d invitations can now be tied to a particular recipient address 2021-04-11 10:22:59 +00:00
Crypto City
8c4039aaf2 make it so redeemed invitations can't be hijacked by a miner 2021-04-10 18:29:39 +00:00
Crypto City
42416063bf fix historical temperature lookups ignoring special events 2021-04-10 00:06:37 +00:00
Crypto City
71c42575fe handle runestones properly on defaulted/derelict buildings 2021-04-06 10:46:37 +00:00
Crypto City
2eec2f6371 fix farming not being bothered by not having enough heating material
also fix demolishing a farm while a crop is being grown
2021-04-06 10:46:37 +00:00
Crypto City
c663b3b6b6 armour plate various commands' verification code 2021-04-02 15:17:28 +00:00
Crypto City
f6d2d99537 unit_tests: fix build after get_harvest_amount change 2021-03-28 12:36:45 +00:00
Crypto City
6261344b9a remove mime_type from custom items, and add gold content 2021-03-25 14:37:56 +00:00
Crypto City
8354848ec8 custom item secondary descriptions can now be updated 2021-03-23 23:36:38 +00:00
Crypto City
78bd013b0c fix issues with city level determination 2021-03-13 18:03:58 +00:00
Crypto City
b8d4836f2a add optional hash and MIME type to custom items, and add cc_item_info command 2021-03-13 10:45:46 +00:00