Commit Graph

9319 Commits

Author SHA1 Message Date
Crypto City
c74fea14ff game: prevent buying/selling more gold/items than available 2021-06-03 07:40:20 +00:00
Crypto City
9ee1bf4f45 game: don't display the "no daemon" message twice at a time 2021-06-03 07:40:20 +00:00
Crypto City
d1a8c12ba4 game: save wallet after refresh 2021-06-03 07:40:20 +00:00
Crypto City
ce990e0615 game: fix stray discovery notifications on startup 2021-06-03 07:40:20 +00:00
Crypto City
99e5342b6f game: prune and collpase some game update events notification lines 2021-06-03 07:40:20 +00:00
Crypto City
b520d5e2c3 cc: spread out feature unlock levels more 2021-06-03 07:40:20 +00:00
Crypto City
2c0e6e35be game: notifications for level changes and unlocked features
also a couple minor notifications fixes
2021-06-03 07:40:20 +00:00
Crypto City
bd6c016424 game: more icons for game events 2021-05-30 23:45:24 +00:00
Crypto City
592418dbb0 game: make notifications with icons less tall 2021-05-30 22:14:07 +00:00
Crypto City
4008ebdd4c game: ensure the panel is still within a resized window 2021-05-30 22:14:07 +00:00
Crypto City
d8ac1ee6ad game: bodge missing text in tutorial text
Text wrapping interferes with layout
2021-05-30 22:14:07 +00:00
Crypto City
570b636321 game: add notification (with icon) when we're outbid in an auction 2021-05-30 10:59:31 +00:00
Crypto City
2b6924169f change the genesis coin design 2021-05-30 07:49:52 +00:00
Crypto City
83a3b7c58a game: fix game-update tutorial trigger
process_game_update is never called as a snapshot is fetched
upon a game update
2021-05-30 07:49:52 +00:00
Crypto City
e5894eaa58 game: red packet icon when receiving gold 2021-05-30 07:49:52 +00:00
Crypto City
cc4828e2e6 game: make notification lifetime an option 2021-05-29 12:32:20 +00:00
Crypto City
e9d0286f63 game: fix flag tooltips being visible between buttons in main panel 2021-05-29 12:32:20 +00:00
Crypto City
d6b2c3b7f5 cc: only allow good/bad harvest events at harvest time
and increase their probability a bit to make up for it
2021-05-29 12:32:20 +00:00
Crypto City
e2ca2dbbfe add icons for special events 2021-05-29 12:32:20 +00:00
Crypto City
449ec733d3 event badges can now have a custom design 2021-05-29 12:32:20 +00:00
Crypto City
6eeea7ed94 coins can now have a custom graphic design 2021-05-29 12:32:20 +00:00
Crypto City
119e87a3bb db_lmdb: fix unused variable 2021-05-29 12:32:20 +00:00
Crypto City
a2c0441178 game: add an icon to the chop wood dialog 2021-05-29 12:32:20 +00:00
Crypto City
a7648d69fa game: activate any remaining modal window when a child window dies 2021-05-29 12:32:20 +00:00
Crypto City
1c49efbb08 game: contain tooltips in the screen area 2021-05-29 12:32:20 +00:00
Crypto City
01008e5422 game: don't display coin tooltips when a child window is open 2021-05-29 12:32:20 +00:00
Crypto City
752f8a41e5 game: add composite coin icons to mint and smelt screens too 2021-05-29 12:32:20 +00:00
Crypto City
de19506808 game: allow minting/smelting from the prestige/coins screen 2021-05-29 12:32:20 +00:00
Crypto City
bccaf520f1 game: add extra prestige if buying one in coin tooltip 2021-05-29 12:32:20 +00:00
Crypto City
ed67273475 game: add designs for non calendar coins 2021-05-29 12:32:20 +00:00
Crypto City
15852c15be game: a bit more info about gilded items prestige contribution 2021-05-29 12:32:20 +00:00
Crypto City
67f5119ae1 game: fix missing items in inventory and prestige gold report when all are reserved 2021-05-29 12:32:20 +00:00
Crypto City
8dae64647c game: fix prestige badge bonus using full badge set 2021-05-26 18:17:01 +00:00
Crypto City
457fdfbf16 move prestige screen into the player screen 2021-05-26 18:05:05 +00:00
Crypto City
629ad7b919 prestige screen and tweak prestige calculations 2021-05-26 15:31:23 +00:00
Crypto City
506ef67106 cc: rename town square proximity bonus due to prestige name clash 2021-05-26 10:03:05 +00:00
Crypto City
c4254c4804 cc: fix runic cycle calculation 2021-05-25 11:53:27 +00:00
Crypto City
d2e9c73722 game: interpret empty gold as 0 in new item screen 2021-05-24 14:02:37 +00:00
Crypto City
90e145f8c1 wallet2: fix build error with older GCC 2021-05-23 18:25:51 +00:00
Crypto City
9b6e92c4a0 wallet: store new account name in pending_tx 2021-05-23 18:25:51 +00:00
Crypto City
61aa2ec67f wallet2_api: add api to get game account/balance information 2021-05-23 18:25:51 +00:00
Crypto City
96d9ace308 port feather monero changes to townforge 2021-05-23 18:25:51 +00:00
Crypto City
e594c5c017 game: disable glibc wrappers
that'll only work in some particular setups, as more recent glibc
version have removed those particular symbols, and is only needed
when making binaries for widespread usage
2021-05-23 18:25:51 +00:00
Crypto City
d97f35612b wallet2: include cc_dest_amount in recorded out amount 2021-05-23 18:25:51 +00:00
Crypto City
86b6f72827 include pubkey and balance in cc_get_accounts response 2021-05-23 18:25:51 +00:00
Crypto City
c6e98db469 fix build issues on arch
reported by tobtoht
2021-05-19 12:30:45 +00:00
Crypto City
ca56cfd25a cc: fix prestige getter mixup 2021-05-18 10:44:18 +00:00
Crypto City
0c1904c213 game: guard against unparsable script in carve runestone screen 2021-05-16 22:30:40 +00:00
Crypto City
5b3099c996 game: top level button when a script can be continued 2021-05-16 22:30:40 +00:00
Crypto City
1542fb1bcc game: remove unuse variable 2021-05-16 10:47:50 +00:00
Crypto City
a6be1d2703 game: allow fetching item ownership list from the player screen 2021-05-16 10:45:40 +00:00
Crypto City
e3bd53ace3 game: take txpool commands into account in runestone message screen 2021-05-15 21:44:21 +00:00
Crypto City
539707489c game: add a help button for prestige in the player screen 2021-05-15 21:44:21 +00:00
Crypto City
d188c92b7c game: fix stale script being used due to auto parse not working 2021-05-15 19:26:16 +00:00
Crypto City
4cbabacfaa game: fix wrong choice picked for message when some are disabled 2021-05-15 18:37:53 +00:00
Crypto City
d5254c43d8 game: new button to the scripts screen from the runestone message screen 2021-05-15 18:01:22 +00:00
Crypto City
be3cb8dba4 game: add notification when starting a script 2021-05-15 17:09:06 +00:00
Crypto City
594c89923f game: switch script to "starting" message in runestone screen 2021-05-15 16:44:19 +00:00
Crypto City
fb20d4e810 game: only show disabled scripts for the game account 2021-05-15 14:26:16 +00:00
Crypto City
5752dd53b0 fix creating new scripts with new blobs 2021-05-15 14:14:31 +00:00
Crypto City
e350d4ef49 cc: actions in scripts can now have conditions 2021-05-15 11:21:43 +00:00
Crypto City
64fd08c610 cc: fix regenerated scripts with a ternary operator being unparsable 2021-05-15 10:00:48 +00:00
Crypto City
46477c8d15 game: make some more notifications toasts 2021-05-15 09:53:22 +00:00
Crypto City
6751a86309 game: fix P material picking 2021-05-15 09:45:18 +00:00
Crypto City
781e5b1e0e game: add large red notice when the game account is loaded 2021-05-14 23:23:41 +00:00
Crypto City
d602ed93a5 bump version to 0.30.1.0 2021-05-14 22:37:24 +00:00
Crypto City
d6afcc2d4c game: display flag name, if any, for game event notifications 2021-05-14 21:29:39 +00:00
Crypto City
7ba84cc41b game: only use italics for audio track notifications 2021-05-14 21:29:39 +00:00
Crypto City
15be0eaaeb game: include land cost in selection tooltip 2021-05-14 20:50:22 +00:00
Crypto City
dd7710c5a9 db_lmdb: custom serialization for more record types to save space 2021-05-14 18:03:46 +00:00
Crypto City
6fd80d8406 game: show selection size in red if it is too large or straddles flags 2021-05-14 17:22:13 +00:00
Crypto City
135742961f add logging/quarrying/maintenance discoveries 2021-05-14 17:22:13 +00:00
Crypto City
71418e7498 game: don't change turn rate based on ctrl/shift 2021-05-14 17:22:13 +00:00
Crypto City
be8e1224ee game: add a mouse bound tooltip with current selection size 2021-05-14 17:22:13 +00:00
Crypto City
5342a8e62c fix tests and game after placeholder pm keys addition 2021-05-14 17:22:13 +00:00
Crypto City
5b5c29cadf game: add new audio track notifications 2021-05-14 17:22:13 +00:00
Crypto City
b9f8e43dd1 game: remove leftover debug comments 2021-05-14 17:22:13 +00:00
Crypto City
4817fa8071 game: allow toast notifications to up to half the screen width 2021-05-14 17:22:13 +00:00
Crypto City
28fa1d37d3 cc: fix trade event message, and remove leftover debug trace 2021-05-14 17:22:13 +00:00
Crypto City
72e1dbfa71 db_lmdb: compress text with unishox2
It should be especially good for game events, which have a lot of text
2021-05-14 17:22:13 +00:00
Crypto City
61f55a4ace add unishox2 to the build 2021-05-14 16:40:36 +00:00
Crypto City
93c8da0b5c cc: make all event logs use past tense 2021-05-14 16:40:36 +00:00
Crypto City
7a80b8e212 game: fix item name spam in dividend screen 2021-05-12 14:18:41 +00:00
Crypto City
028654bf1f game: avoid getting a full snapshot on reorg when possible
That is, when the popped blocks have either no command or only
commands that do not affect snapshot state
2021-05-12 13:50:28 +00:00
Crypto City
60faa8cf3d game: do not timeout notifications while the mouse is over them 2021-05-12 09:55:32 +00:00
Crypto City
2e9d651b18 game: make toast notifications ignore mouse movement 2021-05-11 19:36:23 +00:00
Crypto City
c7c59a4b2b game: convert some notification into toast style ones 2021-05-11 18:56:15 +00:00
Crypto City
2f86559ee9 game: new toast style notifications 2021-05-11 13:49:11 +00:00
Crypto City
9e1349f4e7 game: make tutorial data more generic 2021-05-10 23:12:42 +00:00
Crypto City
27b91347f9 game: only dump resources in debug mode 2021-05-10 23:12:20 +00:00
Crypto City
1947830370 game: fix crash running townforge --version 2021-05-10 13:15:37 +00:00
Crypto City
be2c2a52b2 bump version to 0.30.0.1 2021-05-08 09:48:34 +00:00
Crypto City
1a213ca7d1 bump version to 0.30.0.0 2021-05-07 22:22:27 +00:00
Crypto City
9b408791d8 p2p: add testnet nodes 2021-05-07 22:22:27 +00:00
Crypto City
94080c206f game: take new account fee when relevant in deposit dialog 2021-05-07 10:14:59 +00:00
Crypto City
82966dc1eb game: trim new player names 2021-05-07 10:14:59 +00:00
Crypto City
7a937048a9 cc: fix buying from a meat trade when meat spoilt prior to matching 2021-05-07 10:14:59 +00:00
Crypto City
555ddc7ea3 script_analyzer: fix build on windows 2021-05-07 10:14:59 +00:00
Crypto City
cb4ee1182f embed extra couple of pubkeys in account creation commands
to be used for messaging later
2021-05-07 10:14:59 +00:00
Crypto City
7f25ffefdf game: add tutorial triggers
- all panel sections
- most screens
- blockchain commands from the player
2021-04-28 14:47:03 +00:00
Crypto City
a10582af3a game: add tutorial list in options, double click to replay 2021-04-28 11:41:44 +00:00
Crypto City
9ecd16e331 game: print time from/to harvest/sowing in actual time, not blocks 2021-04-27 23:31:05 +00:00
Crypto City
cc89571b21 game: fix last service height when building 2021-04-27 23:20:20 +00:00
Crypto City
0ed78e4cd2 game: add balance change to last update events screen 2021-04-27 20:01:15 +00:00
Crypto City
5057d39cda decrease decay and repair costs, bump land tax a little 2021-04-27 18:39:05 +00:00
Crypto City
8249a86017 add badge for number of cities built in 2021-04-27 18:15:30 +00:00
Crypto City
dae4f7d65b game: auto daemon startup now works with testnet and custom port 2021-04-27 18:15:30 +00:00
Crypto City
17c9b6bea3 game: print estimated time to next tick in time units, not blocks 2021-04-27 18:15:30 +00:00
Crypto City
3106ebeee7 game: add history export option 2021-04-27 18:15:30 +00:00
Crypto City
ff77c41fce wallet: cache mining status for a couple seconds 2021-04-27 18:15:30 +00:00
Crypto City
bf81943d4d blockchain: speed up repeated pops (mostly in tests)
The heavy rolling median reset only has to be performed after
all blocks are popped
2021-04-27 18:15:30 +00:00
Crypto City
6ffc3f82ac cc: the genesis coin gives an extra prestige bonus 2021-04-27 18:15:30 +00:00
Crypto City
99b6a9b6c8 cc: fix trailblazer badge issuance when the town square is gone 2021-04-27 18:15:30 +00:00
Crypto City
b6805cb11c fix tutorial images not appearing if not in TB 2021-04-27 18:15:30 +00:00
Crypto City
da31dce374 remove obsolete last update events from the snapshot 2021-04-27 18:15:30 +00:00
Crypto City
514bec111b store better info (counterparties, all flags/items, fee) in game events
also make balance signed so we can distinguish income and expenditures,
add missing/incorrect event data
2021-04-27 18:15:30 +00:00
Crypto City
d909ba4dc3 game: add startup tutorial trigger 2021-04-27 18:15:30 +00:00
Crypto City
651488432f game: move default music volume down from 70% to 40% 2021-04-27 18:15:30 +00:00
Crypto City
a395ab3c37 remove various unused variables 2021-04-27 18:15:29 +00:00
Crypto City
931773c40e Merge remote-tracking branch 'origin/master' into cc 2021-04-24 13:46:11 +00:00
Crypto City
8c26c89c84 game: tutorials are now loaded from json 2021-04-23 23:42:27 +00:00
Crypto City
a2b226d602 cc: fix fire state accounting when the fire ends
also improve fire and crop clearout event logs
2021-04-23 20:06:19 +00:00
Crypto City
12512079cd cc: remove leftover spammy debug trace 2021-04-23 20:05:53 +00:00
Crypto City
5b5503eef0 save a couple command fields as varints where possible 2021-04-23 08:57:12 +00:00
Crypto City
a7eea8b15f cc: reset num missed ticks on demolish 2021-04-23 08:55:44 +00:00
Crypto City
775783b3a0 cc:: record missed ticks after removing derelict buildings 2021-04-23 08:52:25 +00:00
Crypto City
e8f35a87c8 halve block time for user friendliness in gameplay 2021-04-22 23:18:32 +00:00
luigi1111
0a1ddc2eff
Merge pull request #7669
679d055 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-22 01:51:01 -04:00
luigi1111
9bba3f4767
Merge pull request #7651
c8ff1d4 monero-wallet-cli: improve error message when tx amount is zero (Elliot Wirrick)
2021-04-22 01:35:20 -04:00
Crypto City
956e578f9a game: fix model placement adding rather than replacing 2021-04-21 13:56:25 +00:00
Crypto City
96f7fc8677 game: better build/place ui 2021-04-21 13:56:25 +00:00
Crypto City
9854de369f game: add T keybinding to open the trade screen 2021-04-21 13:56:25 +00:00
Crypto City
1306ed72c1 cc: increase workforce influence 2021-04-21 13:56:25 +00:00
Crypto City
f0e804ec13 game: images in tutorials 2021-04-21 13:56:25 +00:00
Crypto City
867cd66ccc swap affluent residential and military unlock levels
fire also got brought forward to match new military unlock level
2021-04-21 13:56:25 +00:00
Crypto City
0ad5f3d9e4 game: multi page tutorial windows 2021-04-21 13:56:25 +00:00
Crypto City
a6b5210c2f increase tax increase min radius with city level 2021-04-21 13:56:25 +00:00
Crypto City
1c01ce668e cc: buff architectural flair specialization 2021-04-20 12:04:39 +00:00
Crypto City
d5709e8967 cc: buff sprawling specialization 2021-04-20 12:04:39 +00:00
Crypto City
604fddee32 game: new simple in game tutorial system 2021-04-19 17:13:29 +00:00
Crypto City
241b1edf69 add cartography discoveries, and tweak some discovery costs 2021-04-19 10:45:02 +00:00
Crypto City
d05d41dc9c game: fit help windows to their content's size 2021-04-18 20:46:29 +00:00
Crypto City
3d779348c5 game: add neutral terrain material - helps see flag markers 2021-04-18 19:31:09 +00:00
Crypto City
79600d23e9 ipfs: do not regenerate a SSL key every connection 2021-04-18 19:23:47 +00:00
Crypto City
f1704cf629 moose drawn water tank now adds 50% firefighting range 2021-04-18 19:23:47 +00:00
Crypto City
6ea3707cc3 bump firefighting range 2021-04-18 19:23:47 +00:00
Crypto City
0c633eef03 game: flash flag area markers when on fire 2021-04-18 19:23:47 +00:00
Crypto City
b0e4ee8621 rpc: fix rejected tx reason flag mixup 2021-04-18 19:23:47 +00:00
Crypto City
676a1ed717 wallet2: add missing failed tx reason strings 2021-04-18 19:23:47 +00:00
Crypto City
ba9e0ea31e cc: randomize fire damage to make it a bit more interesting 2021-04-18 19:23:47 +00:00