Commit Graph

251 Commits

Author SHA1 Message Date
Crypto City
f9790980b4 new special event: merchant ship, selling items on the market 2022-08-04 15:57:39 +00:00
Crypto City
aaf24f1338 allow seting more than one global variable at once, for atomicity 2022-08-04 08:36:32 +00:00
Crypto City
6bfc447544 custom items may now have a prestige bonus
only the game account can add prestige bonuses
2022-08-04 08:36:31 +00:00
Crypto City
6c4a31509a new "tax break zone" city specialization 2022-08-04 08:36:31 +00:00
Crypto City
f4a8938ec1 unit_tests: add unit_tests for collectible fish 2022-08-02 06:19:05 +00:00
Crypto City
1582492535 allow creating more items if that was setup on item definition 2022-08-02 06:19:03 +00:00
Crypto City
5c2c002d17 user created textures and licencing - not yet usable on voxels 2022-07-23 15:46:19 +00:00
Crypto City
b1ab49720b players can now name areas 2022-07-04 21:15:34 +00:00
Crypto City
31a58c66cf unit_tests: ensure we fail trying to get balance of an invalid account 2022-07-04 21:15:33 +00:00
Crypto City
ffc4e2198f buildings' econonic power can now be upgraded
for 150% of the incremental cost
2022-07-04 21:15:33 +00:00
Crypto City
259ac82299 remove old TF forks, we'll be starting anew 2022-07-04 21:15:33 +00:00
Crypto City
ce6016306d add fish, fishing and fisheries 2022-07-04 21:15:33 +00:00
Crypto City
9f6412b083 water/shoreline 2022-06-30 07:26:16 +00:00
Crypto City
b96242a157 fix fixed multiplication for low magnitude numbers 2022-06-28 16:49:50 +00:00
Crypto City
3e0024c233 unit_tests: add a few simple fixed_t sin/cos tests 2022-06-28 16:49:49 +00:00
Crypto City
1bf09dfa66 tests: fix tests 2022-05-18 06:36:26 +00:00
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