Commit Graph

10645 Commits

Author SHA1 Message Date
Crypto City
20b9767847 game: remove some unused code 2022-08-23 05:20:29 +00:00
Crypto City
111acc13b0 blockchain: fix block reward overestimate
It's not meant to ever be used, but might as well make sure
2022-08-23 05:20:29 +00:00
Crypto City
1d5f188320 game: fix define attribute screen name/desc not being checked 2022-08-23 05:20:29 +00:00
Crypto City
2895f9a8ed game: do not use toast notifications for text errors
since those are often inherent in typing (ie, trailing space)
and tend to spam toasts unnecessarily
2022-08-23 05:20:29 +00:00
Crypto City
02e6ba170f functional_tests: add message tests 2022-08-23 05:20:29 +00:00
Crypto City
ecadb7007c wallet_rpc_server: add cc_send_message RPC 2022-08-23 05:20:29 +00:00
Crypto City
3987259664 common: update unishox2 for invalid input crashes fixes 2022-08-23 05:20:29 +00:00
Crypto City
442abef374 game: allow sweeping message fees to the main address 2022-08-23 05:20:29 +00:00
Crypto City
3fc8a4151e simplewallet: allow incoming_transfers to see message fees 2022-08-23 05:20:29 +00:00
Crypto City
a6f1afeae1 wallet_rpc_server: add cc_sweep_message fees RPC 2022-08-23 05:20:29 +00:00
Crypto City
bdbc5b371e simplewallet: add cc_messages sweep_fee subcommand
to sweep any fees in the messages account
2022-08-23 05:20:29 +00:00
Crypto City
1e673b46c2 simplewallet: treat empty string as 0 for inviting account 2022-08-23 05:20:29 +00:00
Crypto City
6140cc9f81 select embedded data locations uniformly across rings 2022-08-23 05:20:29 +00:00
Crypto City
e5b17616fd blockchain: fix invalid memory read getting fee on empty chain 2022-08-23 05:20:29 +00:00
Crypto City
663ca6318c fix multisig 2022-08-23 05:20:29 +00:00
Crypto City
0c17ad4687 cc: bodge an apparent false positive from asan 2022-08-23 05:20:29 +00:00
Crypto City
d51fe4c97b serialization: fix pair/tuple mixup 2022-08-23 05:20:28 +00:00
Crypto City
d754206d0b blockchain_prune: add recently added tables 2022-08-23 05:20:28 +00:00
Crypto City
7c70d0ef6e invisible P2P messages 2022-08-23 05:20:28 +00:00
Crypto City
6388aba36b small short text compression improvements
enable unishox2 bounds checking
allow defaulting dictionary
move text compression layer to common
2022-08-19 14:43:43 +00:00
Crypto City
27bcb3586b arbitrary data may be invisibly embedded in CLSAGs
This decreases the ring size observed by the recipient,
but not the ring size observed by another observer.
The more data, the greater the ring size reduction.
CLSAGs can carry a maximum of 252 bits per value (one
bit is used as a flag, the rest as data payload), and
there are 15 such values per ring. At close to full
capacity, the real spend will be known to the recipient
(though not to an observer, who will not even be able
to tell whether a transaction includes embedded data
or not).

Thanks to kayabaNerve for pointing out how to use s
for this.
2022-08-19 14:43:43 +00:00
Crypto City
5f9a3a6fa8 game: fix setting notile ground material option at startup
also remove redundant code when changing ground material
2022-08-12 13:09:37 +00:00
34949d92c0 game: set default notile to false 2022-08-12 13:09:37 +00:00
4d2c520ed0 game: fix EnableTextureNoTile section 2022-08-12 13:09:37 +00:00
e4358a1ea1 game: replace Marble Road > Granite Road + small fixes 2022-08-12 13:09:37 +00:00
640b73aff0 game: add shadow distance to options 2022-08-12 13:09:37 +00:00
46f1f9b17a game: less saturated random colors 2022-08-12 13:09:37 +00:00
a4e53e07be game: fix extra userlight 2022-08-12 13:09:37 +00:00
edf3dd3a9a game: More stable enviroment colors 2022-08-12 13:09:37 +00:00
Crypto City
088538c160 Merge remote-tracking branch 'origin/master' into HEAD
b6a029f222

Multisig functional test broken
2022-08-08 17:44:32 +00:00
Crypto City
65b76597b3 game: add key bindings to open/close panel sections and toggle fullscreen 2022-08-08 14:39:08 +00:00
Crypto City
3daae6359c game: do not include game-created items in player made category 2022-08-08 14:39:08 +00:00
Crypto City
60ee628d97 game: fix invalid memory access getting selected flag 2022-08-08 14:39:08 +00:00
Crypto City
a013187d86 game: fix crash when giving an invalid command line 2022-08-08 14:39:08 +00:00
Crypto City
c10ba8619f game: tweak wording about underwater area, fisheries need some 2022-08-08 14:39:08 +00:00
Crypto City
1b0f383de4 game: add material type in material selection screen 2022-08-08 14:39:08 +00:00
Crypto City
9635b9de88 game: add placeholder intro 2022-08-08 14:39:08 +00:00
Crypto City
c31c5591f1 update unishox2 to latest 2022-08-08 14:38:47 +00:00
Crypto City
e91ad34563 cc: ensure player pubkeys are in the main subgroup 2022-08-08 14:38:47 +00:00
Crypto City
e1e248ab38 db_lmdb: remove obsolete db conversion steps 2022-08-08 14:38:47 +00:00
Crypto City
eec63d353a store city level in db, avoid max_level crutch 2022-08-08 14:38:47 +00:00
Crypto City
bac7d54e7f tx_pool: remove obsolete commented out code 2022-08-08 14:38:47 +00:00
Crypto City
eade3978cf cc: remove unused variable and db call 2022-08-08 14:38:47 +00:00
Crypto City
81817f5536 new city specialization: trade center, increases merchant ship probability 2022-08-08 14:38:47 +00:00
Crypto City
947bc1097d fix cultural town city specialization 2022-08-08 14:38:47 +00:00
Crypto City
cf5955fb66 fix gemstone seam specialization message, the bonus is 10%, not 5% 2022-08-08 14:38:47 +00:00
Crypto City
f9790980b4 new special event: merchant ship, selling items on the market 2022-08-04 15:57:39 +00:00
Crypto City
29717316a7 wallet_rpc_server: remove obsolete limit to one match per trade 2022-08-04 15:57:39 +00:00
Crypto City
070a4d46da remove the --debug-allow-gm-commands-from-account option
allow usage of an alternate game account key pair for tests instead
2022-08-04 15:57:39 +00:00
Crypto City
da1febd721 daemon: take accrual into account in cc_orders 2022-08-04 08:36:32 +00:00
Crypto City
0320b917d4 game: fix reported prestige ranking for players with 0 prestige 2022-08-04 08:36:32 +00:00
Crypto City
ecee19e61d cc: do not add "overall amounts" treasury events if the amount is 0 2022-08-04 08:36:32 +00:00
Crypto City
682259a9cf game: fix item creation checks
it is now possible to create an item with 0 instances if it is set
to be able to create more later, and it is possible to imbue an item
with less than 1 gold
2022-08-04 08:36:32 +00:00
Crypto City
7f4019c2a7 serialization: add boost::optional 2022-08-04 08:36:32 +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
687d7d2f57 game: allow prefix lookups in set global variable screen 2022-08-04 08:36:32 +00:00
Crypto City
1eb17281a7 game: fix variable lookup field namespace 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
8f403a7d43 game: fix rare fish prestige contribution in player info screen 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
fb9ba895ad fix typo in create_items archive tags 2022-08-02 06:19:05 +00:00
Crypto City
a001101027 game: sea ice freezes below -5 degrees 2022-08-02 06:19:05 +00:00
Crypto City
e5c5b88881 merge snow and nosnow ground shaders, and add water/nowater defines
also fix an artifact between snow and nosnow tiles
2022-08-02 06:19:05 +00:00
Crypto City
ffec4648b1 game: speed up texture notile mode
When switching this mode on and then back off, we don't get quite
the original performance, something stays slower in BlitFramebuffer
for unknown reasons, but it'll get "restored" when the game is
restarted next
2022-08-02 06:19:05 +00:00
Crypto City
a25a3cb3a1 cc: a bit faster terrain type calculation 2022-08-02 06:19:05 +00:00
Crypto City
07a56dffc0 cc: remove unused terrain code
the data is overwritten later on
2022-08-02 06:19:05 +00:00
Crypto City
1ad08760b4 cc: do not try to remove single sand tiles when underwater 2022-08-02 06:19:05 +00:00
Crypto City
e003b0dc49 cc: fix removal of single tile cliff/beach 2022-08-02 06:19:05 +00:00
Crypto City
77a3f417ec fix warning in generated script lexer code 2022-08-02 06:19:05 +00:00
Crypto City
a8d967a37c fix script operator precedence 2022-08-02 06:19:05 +00:00
Crypto City
d939b834f2 fix shift/reduce conflicts in script parser 2022-08-02 06:19:05 +00:00
Crypto City
c5ce4a8d51 game: fix add new texture from DXT1 without conversion 2022-08-02 06:19:05 +00:00
Crypto City
c004280dc7 user textures can now tile independently horizontally and vertically 2022-08-02 06:19:05 +00:00
Crypto City
7367b3a7ec game: cache terrain feature in selection where possible 2022-08-02 06:19:05 +00:00
Crypto City
6ac983aeb4 speed up floodfill in terrain feature classification 2022-08-02 06:19:05 +00:00
Crypto City
cceb258105 beaches must now have at least 50% sand (up from 30%) 2022-08-02 06:19:05 +00:00
Crypto City
e5cf2603b5 game: make sure the name place help wraps 2022-08-02 06:19:05 +00:00
Crypto City
a347443601 db_ldmb: fix leak allocating new textures 2022-08-02 06:19:05 +00:00
Crypto City
f4a8938ec1 unit_tests: add unit_tests for collectible fish 2022-08-02 06:19:05 +00:00
Crypto City
701cee900b setup collectible fish times 2022-08-02 06:19:04 +00:00
Crypto City
213d51442f game: do not know city id in maps screen when in view mode 2022-08-02 06:19:04 +00:00
Crypto City
85b4dadae4 game: show mouse position and a go button in the city maps screen 2022-08-02 06:19:04 +00:00
Crypto City
837ad9515e serialization: forbid reading 0 varints from empty data
this could plausibly be useful as a tail compression scheme,
but every other varint loading code treats 0 bytes read as an
error, and it goes with the principle of least surprise.
2022-08-02 06:19:04 +00:00
Crypto City
4552e18249 somewhat better looking terrain 2022-08-02 06:19:04 +00:00
Crypto City
ba3ec0670c game: add an option to clamp between 0 and for manual maps 2022-08-02 06:19:04 +00:00
Crypto City
f3554196f6 game: improved travel to place screen 2022-08-02 06:19:04 +00:00
Crypto City
e1f0f0be19 game: speed up terrain feature classification 2022-08-02 06:19:04 +00:00
Crypto City
7562f3b19d cc: fix a terrain discontinuity, and remove unneeded 64 bit usage 2022-08-02 06:19:04 +00:00
Crypto City
802942561f game: display manual map in white and fix min/max/time display 2022-08-02 06:19:04 +00:00
Crypto City
15509f1b32 game: go to a place on the map when double clicking on a city map 2022-08-02 06:19:04 +00:00
Crypto City
bfd46e0a06 game: guard against the terrain cache directory being removed at runtime 2022-08-02 06:19:04 +00:00
Crypto City
2047ebc400 speed up city maps update 2022-08-02 06:19:04 +00:00
Crypto City
1a3962bee0 game: use fast (and not very good) compression for terrain tiles
it does show on profile
2022-08-02 06:19:04 +00:00
Crypto City
1b3bc72fb7 game: fix terrain cache size setup at load time 2022-08-02 06:19:04 +00:00
Crypto City
48d02ed451 game: allow mouse movement in city maps even without debug mode 2022-08-02 06:19:04 +00:00
Crypto City
5e478cfdff add a "view city maps" screen, piggybacking on the found city screen 2022-08-02 06:19:04 +00:00
Crypto City
eb06bc7754 avoid tiling terrain textures 2022-08-02 06:19:04 +00:00
Crypto City
d97d367d60 do not try to classify terrain features too close to the edge 2022-08-02 06:19:04 +00:00
Crypto City
c811c6dd27 add peninsula and cove terrain features 2022-08-02 06:19:04 +00:00
Crypto City
f271555fae add reef terrain feature 2022-08-02 06:19:04 +00:00