Commit Graph

13759 Commits

Author SHA1 Message Date
Crypto City
f3b8d90a21 game: harvest FATAL as well as ERROR when parsing daemon log 2021-09-21 12:18:18 +00:00
Crypto City
28140be2af game: fix dameon log location for testnet and mainnet 2021-09-21 12:18:18 +00:00
Crypto City
5ef691fcad game: fix model placement if the selection changes 2021-09-21 12:18:18 +00:00
Crypto City
17510a73fe game: undo palette changes too on undo 2021-09-21 12:18:18 +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
86067d2576 game: ensure loaded magica voxel model data fits in palette 2021-09-21 12:18:18 +00:00
Crypto City
cf76b9fd3e game: allow filtering by all known model file types 2021-09-21 12:18:18 +00:00
Crypto City
687b35ab94 game: optional automatic resource assignment on import shortfall 2021-09-21 12:18:18 +00:00
Crypto City
d49fc0f1c1 game: add a PlayerState::get_num_items convenience function 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
c510cbd056 cc: clearer script reserve requirements
Replace "counterparty" by "game" or "building owner"
2021-09-21 12:18:18 +00:00
Crypto City
bce1c23bdf game: request a wallet refresh as soon as a new wallet is loaded 2021-09-21 12:18:18 +00:00
Crypto City
bbff557dc1 tx_pool: forbid two script actions for the same account (when enabled) 2021-09-21 12:18:18 +00:00
Crypto City
705935848a game: improve script UI 2021-09-21 12:18:18 +00:00
Crypto City
b7f698e982 game: tweak farm icon 2021-09-21 12:18:18 +00:00
Crypto City
599a40f647 game: keep script icon aspect ratio 2021-09-21 12:18:18 +00:00
Crypto City
1d90a2bdfd game: fix PNG script icons 2021-09-21 12:18:18 +00:00
Crypto City
05730f5a3d game: improve new script dialog, allow loading from file 2021-09-21 12:18:18 +00:00
Crypto City
8436fba9b1 game: decrease memory usage in sparsely built areas 2021-09-21 12:18:18 +00:00
Crypto City
495bf0acdb game: decrease memory usage in built up areas 2021-09-21 12:18:18 +00:00
Crypto City
1cc0e70aa3 cc: a bit less easy to get cliffs 2021-09-21 12:18:18 +00:00
Crypto City
432c259802 game: drop all city sections when traveling to another town
Helps dampen a memory usage peak
2021-09-21 12:18:18 +00:00
Crypto City
940c896461 game: add a startup tutorial about terrain features 2021-09-21 12:18:18 +00:00
Crypto City
1a36e53e6c game: fix destroyed buildings appearing in events, not buildings, in news 2021-09-21 12:18:18 +00:00
Crypto City
d6f07b7ce7 new optional message in set_script_variable command 2021-09-21 12:18:18 +00:00
Crypto City
346542ae8c game: fix styling check in runetone message 2021-09-21 12:18:18 +00:00
Crypto City
0901c7e7ef game: notify the player when they don't have runestone styling enabled 2021-09-21 12:18:18 +00:00
Crypto City
070561dd86 game: tweak wording about styling being mayor controlled 2021-09-21 12:18:18 +00:00
Crypto City
9749ded9c8 game: display script widget on full width in runestone message screen 2021-09-21 12:18:18 +00:00
Crypto City
315f9c3b6f game: do not enable "play" script button when no wallet is loaded 2021-09-21 12:18:18 +00:00
Crypto City
566e7f8baa cryptonote_core: do not relay match commands 2021-09-21 12:18:18 +00:00
Crypto City
6b54bc1a5f game: better wallet info screen layout 2021-09-14 22:54:51 +00:00
Crypto City
18ab361e8b give spread to match command matcher 2021-09-14 19:59:41 +00:00
Crypto City
cf503259b2 db_lmdb: remove redundant cursor op 2021-09-13 10:40:40 +00:00
Crypto City
ec7047485e game: default to screen resolution rather than 1024x768 2021-09-13 00:48:44 +00:00
Crypto City
59670f81f6 game: clear screen before drawing the splash screen 2021-09-12 22:29:01 +00:00
Crypto City
0493970b30 game: fix splash screen pixel aspect ratio 2021-09-12 21:44:14 +00:00
Crypto City
4d7e0ed82e use -fno-omit-frame-pointer with ASAN 2021-09-12 21:26:10 +00:00
Crypto City
62c80b608c cc: fix overflow in terrrain in extreme cases 2021-09-12 21:25:38 +00:00
Crypto City
2b5d729428 epee: change add32clamp to use uint64_t, simpler and more obviously correct 2021-09-12 21:25:38 +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
9bf39fd190 cc: fix division by zero in new_item command 2021-09-12 21:25:38 +00:00
Crypto City
c740bf5534 easylogging++: fix missing logs 2021-09-12 21:25:38 +00:00
Crypto City
9172b9396e rpc: return a block template even when "busy" 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
36bf25a85a blockchain: guard against exception adding events
Also add some more info when executing/reverting commands
2021-09-12 12:24:21 +00:00
Crypto City
cb3499f3aa blockchain: save a few allocations when moving a block 2021-09-12 12:24:15 +00:00
Crypto City
0475389d3c blockchain: break off early when exiting 2021-09-12 12:24:10 +00:00
Crypto City
7a60da3fee cc: includes hash and height in log when creating game update command 2021-09-12 12:24:03 +00:00