Commit Graph

13770 Commits

Author SHA1 Message Date
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
Crypto City
e61dabacd5 cc: guard against invalid food items 2021-09-12 12:23:58 +00:00
Crypto City
c16496b37b cc: extra sanity check in repair command 2021-09-12 12:23:52 +00:00
Crypto City
491f5920a0 game: add a few startup tips 2021-09-09 11:34:15 +00:00
Crypto City
d9dae925ee game: allow "tip of the day" style tutorials on startup 2021-09-09 11:30:04 +00:00
Crypto City
29ac4fb42a game: fix terrain-cache build on windows 2021-09-09 10:21:24 +00:00
Crypto City
c0c6d90713 game: add an outline to the crosshair to make it more visible 2021-09-08 14:47:41 +00:00
Crypto City
e6e3da6940 game: remove leftover debug printf 2021-09-08 14:26:01 +00:00
Crypto City
1532b015bc game: do not display building tooltip when buiding on it 2021-09-08 14:25:19 +00:00
Crypto City
ae92ca97a0 cc: set cliff terrain type a bit more easily 2021-09-08 13:44:14 +00:00
Crypto City
845d1ba30f easylogging++: fix leaks on exit 2021-09-08 11:36:38 +00:00
Crypto City
c5ecf75dd1 unit_tests: fix leaks 2021-09-08 01:43:54 +00:00
Crypto City
0be3750452 unit_tests: fix use after free in serialization test 2021-09-08 00:59:40 +00:00
Crypto City
91d0d2bc66 game: fix use after free in tooltip history window 2021-09-07 21:56:17 +00:00
Crypto City
58ddc71e49 game: fix use after free on game exit 2021-09-07 20:37:11 +00:00
Crypto City
67442d0d73 game: disable ok button in building settings screen if read only 2021-09-07 20:37:11 +00:00
Crypto City
0a69e54512 game: fix wrong temperature before loading a wallet 2021-09-07 20:37:11 +00:00
Crypto City
f1bd4c85c0 cc: do not consider roads for the mountaineer badge 2021-09-07 20:37:11 +00:00
Crypto City
902e0852d0 game: do not show "cancel" for commands that cannot be cancelled 2021-09-07 20:37:11 +00:00
Crypto City
27f01535a5 game: mention the options screen in the terrain cache directory README 2021-09-07 20:37:11 +00:00
Crypto City
8761724ac8 game: compress delta heights for fast extra compression 2021-09-07 20:37:11 +00:00
Crypto City
7223212520 game: speed up elevation map at higher zooms in found city screen 2021-09-07 20:37:11 +00:00
Crypto City
6ec7229ccf game: click the amount of items owned to input that amount to sell 2021-09-07 20:37:11 +00:00
Crypto City
31a37711fe game: whiter/shinier snow 2021-09-07 20:37:11 +00:00
Crypto City
e359f9725b tb: do not insert tabs in non multiline edit fields 2021-09-07 20:37:11 +00:00
Crypto City
cb5d62dbe9 game: subsample non-influence potential textures for speed 2021-09-07 20:37:11 +00:00
Crypto City
4e842e93b1 game: allow jumping to an x/y location 2021-09-07 20:37:11 +00:00
Crypto City
a079220af6 game: make the terrain cache size a user option (including disabled) 2021-09-07 20:37:11 +00:00
Crypto City
fd90c0ca84 bump lower mountainer badge thresholds 2021-09-07 20:37:11 +00:00
Crypto City
0542412ec2 cc: improve terrain 2021-09-07 20:37:11 +00:00
Crypto City
de3a52c577 unbound: do not use glob so we can more easily work on older distros 2021-09-07 20:37:11 +00:00
Crypto City
697ef85904 game: fix leaks 2021-09-07 20:37:11 +00:00
Crypto City
622ab9d894 add on disk terrain caching system 2021-09-06 17:40:30 +00:00
Crypto City
a4848965cf game: split off an items section from the commands section 2021-09-06 17:40:30 +00:00
Crypto City
de1162cb03 game: add an item view screen 2021-09-06 17:40:30 +00:00
Crypto City
e859c7c0ea prevent hunting in a snowstorm 2021-09-04 18:32:06 +00:00
Crypto City
9e193167c5 game: allow fps ceiling to go to 1000 2021-09-04 15:53:21 +00:00
Crypto City
4f4cea20a2 game: more resilient splash screen 2021-09-04 15:46:43 +00:00
Crypto City
1d58d2fd09 game: do not start audio before the scene displays
and stop audio when stopping
2021-09-04 14:44:09 +00:00
Crypto City
86380eb911 game: optional load/update timings dump 2021-09-04 14:14:08 +00:00