Commit Graph

14856 Commits

Author SHA1 Message Date
Crypto City
d4297938df cc: military influence now helps with bear attacks
less probability of damage, and less food eaten by bears
2023-01-28 17:02:59 +00:00
Crypto City
fb997bf2e6 avoid using duplicate merchant ship names at the same time 2023-01-28 17:02:58 +00:00
Crypto City
c19f9dc5c0 game: tighter thread safety, and fix missing message notifications 2023-01-28 17:02:58 +00:00
Crypto City
2ba2eab16d cc: make is mayor a city an expression, not an operand 2023-01-28 17:02:58 +00:00
Crypto City
aa7bcbf6c9 there can now be more than once special event in a city at once 2023-01-28 17:02:58 +00:00
Crypto City
46441e61b1 core: do not force sync the db when finding a block in regtest mode
for a slight performance boost in functional tests
2023-01-28 17:02:58 +00:00
Crypto City
c534b0d58a boost-libs: fix build 2023-01-28 17:02:58 +00:00
Crypto City
7ce9576995 game: fix selection artifacts when clouds are enabled 2023-01-28 17:02:58 +00:00
Crypto City
a31f37334b account for gold in items assigned to flags 2023-01-28 17:02:58 +00:00
Crypto City
118f1ac9ca functional_tests: fix demolish tests 2023-01-28 17:02:58 +00:00
Crypto City
bf53f14fd8 custom items can now have per role bonuses 2022-09-02 20:14:41 +00:00
Crypto City
b3f4f52b61 cc: fix mixup in roadworks discovery bonuses 2022-09-02 20:14:41 +00:00
Crypto City
9a2985b8df game: add a placeholder encyclopedia screen 2022-09-02 20:14:41 +00:00
Crypto City
5026ca0c6b game: change the item views (trade, etc) to a tree 2022-08-31 11:48:49 +00:00
Crypto City
1f636fbf8e change tax break zone mechanics
There can be multiple tax break zones, unlocked at increasing
city levels, but they are fixed once set.
This will prevent mayorial bait and switch abuse.
2022-08-31 11:48:49 +00:00
Crypto City
614ead0d29 cc: fix get_distance from point to point 2022-08-31 11:48:49 +00:00
Crypto City
cb6d960666 game: change "clear" to "clear line" in console for clarity 2022-08-23 06:07:29 +00:00
Crypto City
2461b47061 game: allow saving vistas in the wallet for later use 2022-08-23 06:07:29 +00:00
Crypto City
1764a7db8a game: add a "current city only" toggle to the buildings screen 2022-08-23 05:20:29 +00:00
Crypto City
40632e09cd game: make "running out of $resource in $ticks" consider all cities 2022-08-23 05:20:29 +00:00
Crypto City
ba6e8345fe fix getting flags by location mixing up cities 2022-08-23 05:20:29 +00:00
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
b0a2e08561 tb: fix debug build with debug hook enabled 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
d34a724e4b fuzz_tests: add a unishox2 fuzz test 2022-08-23 05:20:28 +00:00
Crypto City
737e934327 game: fix create items layout 2022-08-23 05:20:28 +00:00
Crypto City
84489e01ab tb: fix city maps showing wrong maps 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
dc9e4e33f3 game: give snow a little more blueish shade 2022-08-12 13:09:37 +00:00
Crypto City
5cbac70489 game: fix notile not working on part of the map
Turns out we can use up to 8 textures in the fragment program,
and no more. So the snowy grass texture is gone, replaced by a
basic mixing based on noise, and a leftover unused texture is
gone, leaving us with 8 textures.
2022-08-12 13:09:37 +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