Commit Graph

9988 Commits

Author SHA1 Message Date
Crypto City
368fb1b92f cc: fix bridge score with too many cliff tiles
also mitigate triggering on ridges
2021-11-15 17:04:16 +00:00
Crypto City
a048032a26 cc: ensure breeding grounds city spec always gets at least one extra moose 2021-11-15 17:04:16 +00:00
Crypto City
5132687966 fix level threshold bug with sprawling specialization 2021-11-15 17:04:16 +00:00
Crypto City
a8ad4091fa add restricted item group, may not be sold/given/auctioned etc 2021-11-15 17:04:16 +00:00
Crypto City
095a4f7eb5 allow auctioning more than one flag at once 2021-11-02 08:49:58 +00:00
Crypto City
d545944400 add a level based build height limit 2021-11-02 08:49:58 +00:00
Crypto City
a59d4ae5a3 wallet2_api: fix build 2021-11-02 08:49:58 +00:00
Crypto City
e427612748 cc: fix typo in discovery description 2021-11-02 08:49:58 +00:00
Crypto City
df5cc138d1 bump version to 0.33.33.1 2021-10-31 17:15:04 +00:00
Crypto City
f475ff3186 Revert "tweak bear attack"
This reverts commit 8b76e24ff6.
2021-10-31 17:12:47 +00:00
Crypto City
697cc53fd7 bump version to 0.33.3.0 2021-10-31 10:22:37 +00:00
Crypto City
5189273f7d game: help string when trying to deposit with no balance 2021-10-31 09:55:34 +00:00
Crypto City
e813c10c91 game: switch to a very low fps limit when the daemon is syncing 2021-10-31 09:55:34 +00:00
Crypto City
5942d1591c game: remove estimated payout from flag section
This is approximate and not applicable for all building types
2021-10-31 09:55:34 +00:00
Crypto City
edf47a18f1 game: add placeholder block count in building stats message 2021-10-31 09:55:34 +00:00
Crypto City
ceaf95b032 game: fix removing hidden placeholder blocks 2021-10-31 09:55:34 +00:00
Crypto City
491af68546 game: add time since discovery in research screen 2021-10-31 09:55:34 +00:00
Crypto City
5f036caaa6 game: add attribute descriptions as tooltips 2021-10-31 09:55:34 +00:00
Crypto City
6719bd74ba game: full magica voxel scenegraph import
now implements rotation and instanced models
2021-10-31 09:55:34 +00:00
Crypto City
5951f5536e warn in game and daemon when starting without --testnet 2021-10-31 09:55:34 +00:00
Crypto City
d07c50ab2a cc: fix consensus bug popping hunt commands that yielded no kills 2021-10-31 09:55:34 +00:00
Crypto City
0f1f7bf9c2 cc: fix underflow/overflow mixup in error message 2021-10-31 09:55:34 +00:00
Crypto City
c2641bc3d0 game: fix found city screen using raw shares and not city growth shares 2021-10-31 09:55:34 +00:00
Crypto City
4ca7c57463 cc: speed up encode_blocks/decode_blocks a bit 2021-10-31 09:55:34 +00:00
Crypto City
bb541bab80 game: include building height in stats 2021-10-31 09:55:34 +00:00
Crypto City
e995035003 game: fix (I think) stray "new block" flashes 2021-10-31 09:55:34 +00:00
Crypto City
3481f7c03c game: keep the default max number of chat lines in the chat console 2021-10-31 09:55:34 +00:00
Crypto City
204f16a269 game: fix altitudes/heights misnamed as meters, they're in feet 2021-10-31 09:55:34 +00:00
Crypto City
3ad837a2e6 game: fix UI layout when a block is found after a script choice 2021-10-31 09:55:34 +00:00
Crypto City
8b76e24ff6 tweak bear attack 2021-10-31 09:55:34 +00:00
Crypto City
0bfd3a231e rpc: remove unused variables 2021-10-31 09:55:34 +00:00
Crypto City
5b6ed616b9 game: do not request ipfs data we do not need 2021-10-31 09:53:35 +00:00
Crypto City
8eeb012972 fix changing only building script overrides, not message or script 2021-10-31 09:53:35 +00:00
Crypto City
57652e5635 game: fix non processed variable names in runestone message 2021-10-31 09:53:35 +00:00
Crypto City
6fdff90098 game: fix glitchy polygons when the camera is blocked 2021-10-31 09:53:35 +00:00
Crypto City
59f4a177e5 game: fix resource miscounting when building 2021-10-31 09:53:35 +00:00
Crypto City
ebf17bef44 rpc: do not include bear attack details in news 2021-10-31 09:53:35 +00:00
Crypto City
8bab5415f1 game: ensure the palette always has 0/none on model import 2021-10-23 12:04:31 +00:00
Crypto City
8b3a7c0115 bump version to 0.33.2.3 2021-10-22 00:09:55 +00:00
Crypto City
ae45eea34f fix spurious rejection of downloaded blocks 2021-10-22 00:08:19 +00:00
Crypto City
85a3ad813d tx_pool: remove oldest chat txes first 2021-10-22 00:07:48 +00:00
Crypto City
d1a1ff2d56 bump version to v0.33.2.2 2021-10-21 14:56:58 +00:00
Crypto City
b3ad1a7ac1 cc: fix consensus bug with road link sorting 2021-10-21 14:48:32 +00:00
Crypto City
bc2405d133 game: process overrides in requirement strings 2021-10-21 14:48:32 +00:00
Crypto City
d2f8cc566e scripts: ignore paying/awarding/consuming 0 amount of stuff 2021-10-21 14:48:32 +00:00
Crypto City
e87d288f82 script_analyzer: catch exceptions at top level 2021-10-21 14:48:32 +00:00
Crypto City
13ee92b7c5 rpc: fix weighted shares in cc_get_cities 2021-10-19 00:05:36 +00:00
Crypto City
90298feeca game: third person camera improvements 2021-10-18 08:30:09 +00:00
Crypto City
7b599c8c29 game: fix camera settings reset 2021-10-18 08:29:40 +00:00
Crypto City
ac11777957 bump version to 0.33.2.1 2021-10-17 18:14:56 +00:00
Crypto City
94199ceec1 cc: fix awarding bridge badge before activation fork 2021-10-17 18:14:30 +00:00
Crypto City
e27380867b game: fix importing on selection 2021-10-17 14:04:38 +00:00
Crypto City
d1d8f2adf9 game: properly handle block budget accounting when changing palette 2021-10-17 13:20:05 +00:00
Crypto City
cd2e720abc game: fix missing edit mode palette when importing a vox file 2021-10-17 10:20:46 +00:00
Crypto City
a870490d67 game: fix imported model rotation 2021-10-17 00:14:01 +00:00
Crypto City
a56e937f23 game: restore previous state when failing to place a model 2021-10-16 17:31:31 +00:00
Crypto City
a4ddc53900 game: fix selection changing when importing 2021-10-16 17:31:16 +00:00
Crypto City
f13f55334d game: fix saving/loading empty backup model 2021-10-16 15:35:11 +00:00
Crypto City
06bce081ae game: add log categories for voxel load/save code 2021-10-16 15:34:53 +00:00
Crypto City
a58318dda6 game: fix accounting issues with import and undo 2021-10-16 14:47:31 +00:00
Crypto City
4535b20138 game: double the max undo levels 2021-10-16 10:42:55 +00:00
Crypto City
d89594eff9 bump version to 0.33.2.0 2021-10-15 13:29:47 +00:00
Crypto City
ae4d520621 add a testnet v15 fork at block 60000 2021-10-15 13:29:47 +00:00
Crypto City
0bb487c7f1 blockchain: fix auto pop from version check not reverting commands 2021-10-15 12:41:26 +00:00
Crypto City
c44938df79 game: add bridge score to realtime selection info 2021-10-15 12:41:26 +00:00
Crypto City
82a42ca4f9 cc: halve bridge bonus 2021-10-15 12:41:26 +00:00
Crypto City
c0a13d31a1 game: base voxel lod distance based on bounding box, not center 2021-10-15 12:41:26 +00:00
Crypto City
6bebe396d5 blockchain_prune: add missing cc_hunt table 2021-10-15 12:41:26 +00:00
Crypto City
8153873cb2 make recent consensus changes activate at v15 2021-10-15 12:41:26 +00:00
Crypto City
d3feb396f0 blockchain: ensure a tx pre-check failure fails block addition 2021-10-14 22:20:02 +00:00
Crypto City
55a80715a8 blockchain: add const where appropriate 2021-10-14 22:20:02 +00:00
Crypto City
4c7c6c29a8 cc: remove leftover debug trace 2021-10-14 22:20:02 +00:00
Crypto City
fa84876f57 game: fix missing tiles on low lying ground 2021-10-14 10:47:26 +00:00
Crypto City
3d7c40bc37 game: fix off by one in render mode names when RenderCubeModels if disabled 2021-10-14 10:47:26 +00:00
Crypto City
557885ddef game: add a voxel lod option 2021-10-14 10:47:26 +00:00
Crypto City
fad16838b6 game: fix artifact in the thermometer widget 2021-10-14 10:47:26 +00:00
Crypto City
f5c82b9152 cc: allow requesting no special event in debug 2021-10-14 10:47: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
3970b756fb game: fix for paths with spaces on windows 2021-10-14 10:47:23 +00:00
Crypto City
3df168efda game: fix windows build 2021-10-14 10:47:23 +00:00
Crypto City
c263cba732 cc: allow embedding smaller quantities of gold in items 2021-10-14 10:44:47 +00:00
Crypto City
e6e58a5e99 game: fix snowless ground after switching to non-natural ground mode 2021-10-14 10:06:53 +00:00
Crypto City
551ce9486b game: fix item descriptions now showing up in trade ui 2021-10-14 10:06:53 +00:00
Crypto City
f2c97033ec game: snap to axes when rotating in third person camera mode 2021-10-14 10:06:53 +00:00
Crypto City
4cbd44bba0 game: do not show minting amount/button for unimntable coins 2021-10-14 10:06:53 +00:00
Crypto City
0f63bbed17 game: fix a few third person camera issues 2021-10-14 10:06:53 +00:00
Crypto City
ebc5b49265 game: fix issues with undo/redo and palette 2021-10-14 10:05:58 +00:00
Crypto City
b4866b2447 game: never autoselect placeholder material 2021-10-14 00:11:32 +00:00
Crypto City
f7080268c3 game: end model placement when removing inside or placeholder blocks 2021-10-14 00:11:32 +00:00
Crypto City
f406041741 game: fix race between refresh and update 2021-10-14 00:11:32 +00:00
Crypto City
f56322158e game: fix race when switching wallets 2021-10-14 00:11:32 +00:00
Crypto City
566362f8d7 fix download object leak 2021-10-14 00:11:01 +00:00
Crypto City
2b1e56ab6b game: show a notification when the daemon is busy syncing 2021-10-14 00:11:01 +00:00
Crypto City
00f03552ae game: fix rotating models larger than the flag 2021-10-14 00:11:01 +00:00
Crypto City
aedc539396 game: geometry/hull/compute shaders by JSandusky 2021-10-14 00:11:01 +00:00
Crypto City
faa5165e2d game: detect failure to bind and add message about another daemon running 2021-10-14 00:11:01 +00:00
Crypto City
be550c91c0 game: ignore blocks when we're syncing 2021-10-14 00:11:01 +00:00
Crypto City
1ad4e04930 game: allow exporting terrain in magica voxel format 2021-10-14 00:11:01 +00:00
Crypto City
221a979410 game: fix invalid memory access when rotating a imported model 2021-10-14 00:11:01 +00:00
Crypto City
98bd3d8852 game: fix initial third person camera orientation 2021-10-14 00:11:01 +00:00
Crypto City
e7a909dc97 allow cancelling more than once nonce at once 2021-10-14 00:10:41 +00:00
Crypto City
434cdea924 game: do not process blocks when in sync mode 2021-10-14 00:10:41 +00:00
Crypto City
b445405c6a add --sync-notify option
Triggered when starting/stopping syncing

%s: 1 if starting syncing, 0 if stopping
%h: current chain height
%t: target chain height
2021-10-14 00:10:41 +00:00
Crypto City
7a82a449b8 game: only add .vox file suffix if not already there on model export 2021-10-14 00:10:41 +00:00
Crypto City
0799f90241 game: fix inviting character incorrectly seen as joining in news 2021-10-14 00:10:41 +00:00
Crypto City
127106a4b6 game: smoother third person camera motion when blocked 2021-10-14 00:10:41 +00:00
Crypto City
e4d56dd00b game: remove a couple ill fitting idle anim variations 2021-10-14 00:10:41 +00:00
Crypto City
a1aa2c1d1b game: fix crash in anim viewer 2021-10-14 00:10:41 +00:00
Crypto City
ac2eb91dd9 game: improved third person camera 2021-10-14 00:10:41 +00:00
Crypto City
e15deeb4fd game: make the third person camera use fixed timeslices better 2021-10-14 00:10:41 +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
7531af6294 cc: fix bear hunt numbers with bonuses
also increase the bonus from bear attack
2021-10-03 08:20:50 +00:00
Crypto City
6c5411f1b1 game: fix stepping over not overly high blocks 2021-10-03 08:20:50 +00:00
Crypto City
6742b12c6b game: basic third person camera ray casting for obstructions 2021-10-03 08:20:50 +00:00
Crypto City
80e2610f33 game: voxel lod system 2021-10-02 15:42:59 +00:00
Crypto City
3a8bd6beb0 game: new command to remove placeholder materials 2021-10-02 15:42:59 +00:00
Crypto City
89d7aca271 wallet2: fix error message typo 2021-10-02 15:42:58 +00:00
Crypto City
a77ebcbd8e game: fix disappearing textures in palette screen material list 2021-10-02 15:42:58 +00:00
Crypto City
e827941b8d game: fix wrong character orientation until first move 2021-10-02 15:42:58 +00:00
Crypto City
9e6d28d8fb game: fix animation sticking to idle after fall 2021-10-02 15:42:58 +00:00
Crypto City
3ec6445a77 game: fix palette import 2021-09-29 21:42:25 +00:00
Crypto City
cf81d94460 download: log non 2xx status codes as INFO, not ERROR 2021-09-29 16:06:42 +00:00
Crypto City
99b0a4b6d9 bump version to 0.33.1.1 2021-09-28 23:21:39 +00:00
Crypto City
f5e4dc3a56 blockchain: silence uninteresting errors setting downloadable hashes 2021-09-28 23:03:56 +00:00
Crypto City
7fa33d65e0 game: fix selection duplicated on some other chunks 2021-09-28 22:55:36 +00:00
Crypto City
b2eab0f947 game: display locked material unlock level when importing a model 2021-09-28 22:18:32 +00:00
Crypto City
9530ce46b0 game: fix character pitching with the camera 2021-09-28 20:47:10 +00:00
Crypto City
1842601d60 game: fix build on windows (missing include) 2021-09-28 17:35:29 +00:00
Crypto City
0e1e0702fe bump version to 0.33.1.0 2021-09-28 13:41:10 +00:00
Crypto City
344abc210d remove embedded testnet block hashes, which should not be here 2021-09-28 13:24:46 +00:00
Crypto City
c69b4e6a01 game: third person mode
Helps a lot with sense of scale and running over terrain
2021-09-28 13:24:46 +00:00
Crypto City
b0bd087da8 game: hide the first frame, where stuff isn't yet properly setup 2021-09-27 10:35:03 +00:00
Crypto City
00201545bd use boost::shared_ptr for arrays, to fix mac build 2021-09-25 23:55:58 +00:00
Crypto City
0eb4e100f4 game: fix subobject definition in array 2021-09-25 23:48:39 +00:00
Crypto City
5cfc37d1f3 bump version to 0.33.0.0 2021-09-25 10:59:36 +00:00
Crypto City
5447ab6bee game: fix scripts screen flicker on new blocks 2021-09-25 10:59:36 +00:00
Crypto City
d43ec18260 game: always display script description in script row 2021-09-25 10:53:33 +00:00
Crypto City
eee3b68498 game: fix building screen opening the wrong trade screen material 2021-09-25 01:32:36 +00:00
Crypto City
279d8039d7 blockchain: only use embedded hashes on mainnet
otherwise it looks like it may bite us in the butt later
2021-09-24 23:43:34 +00:00
Crypto City
1e3330fd28 game: speed up terrain rendering when there is no snow 2021-09-24 00:55:28 +00:00
Crypto City
9106be1138 game: fix crash with snow and no clouds 2021-09-24 00:55:28 +00:00
Crypto City
1eeb66ed57 cc: prevent more than one enable clause per choice 2021-09-24 00:55:28 +00:00
Crypto City
780435ab3e game: add a search box to the scripts list 2021-09-24 00:55:28 +00:00
Crypto City
302ca386ef game: improve script ui 2021-09-24 00:55:28 +00:00
Crypto City
3adfb2570f add selected text when starting playing a script, before a block 2021-09-24 00:55:28 +00:00
Crypto City
33554f70cc cc: improve script error message 2021-09-24 00:55:28 +00:00
Crypto City
f56d0db1f8 game: fix node configuration screen always using 18881 as RPC port 2021-09-24 00:55:28 +00:00
Crypto City
63cf3bfc15 game: allow variable substitutions in script text 2021-09-24 00:55:28 +00:00
Crypto City
ae039b1af2 game: fix view-source not working in all cases in scripts screen 2021-09-21 17:48:48 +00:00
Crypto City
148574f6a8 rpc: do not include create_script command in news events 2021-09-21 17:48:48 +00:00
Crypto City
1ddb6fb781 game: improve script choices ui 2021-09-21 17:48:48 +00:00
Crypto City
deea5fdbd6 game: make building "transaction(s) sent" a toast 2021-09-21 14:33:32 +00:00
Crypto City
aa978e3583 game: display locked notice for locked variants in palette screen 2021-09-21 14:29:33 +00:00
Crypto City
d691888d7e game: do not continue increasing startup tutorial index past the end 2021-09-21 12:18:18 +00:00
Crypto City
581bed0d09 game: partial palette guessing functionality on import 2021-09-21 12:18:18 +00:00
Crypto City
eb8db9dedf game: set trade screen to buy shortfall, not whole amount for building 2021-09-21 12:18:18 +00:00
Crypto City
e9955db73e game: fix loading schematic models with blocks larger than 8 bits 2021-09-21 12:18:18 +00:00
Crypto City
25cc1bf99a game: plug palette editor in import flow 2021-09-21 12:18:18 +00:00
Crypto City
a4f150cc05 game: fix colour mismatch between glow and non-glow techniques 2021-09-21 12:18:18 +00:00
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
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
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
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
62c80b608c cc: fix overflow in terrrain in extreme cases 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
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