Crypto City
48082c41e9
game: select currently selected flag in trade ui, if any
2019-12-30 22:38:18 +00:00
Crypto City
868b8e3e2f
game: add flags to trade ui
2019-12-30 22:38:18 +00:00
Crypto City
4a8aa3db2f
game: pre-fill price/amount when clicking on an order
2019-12-30 22:38:18 +00:00
Crypto City
a1734a9935
game: bump trade ui price column widget width
2019-12-30 22:38:17 +00:00
Crypto City
b98aa4aaad
game: better market selection
2019-12-30 22:38:17 +00:00
Crypto City
6818ef511f
game: display potential as "-" when it doesn't apply
2019-12-30 22:38:17 +00:00
Crypto City
217166bcab
game: add a resizing widget to the chat
2019-12-30 22:38:17 +00:00
Crypto City
c3e0f43f72
cc: make patent time per discovery
2019-12-30 22:38:17 +00:00
moneromooo-monero
a6c24412e5
wallet: fix exceptions getting the hash of a pruned tx
2019-12-30 15:14:57 +00:00
Crypto City
a31eaa1e55
simplewallet: don't print spent/received game money when locked
2019-12-29 18:47:18 +00:00
Crypto City
fe31868d7f
game: fix horizontal scrollbar in chat
2019-12-29 18:41:18 +00:00
Crypto City
290067e908
game: don't print influence or potential when they don't apply
2019-12-29 17:51:02 +00:00
Crypto City
44ff248f19
game: add existing building name in building settings dialog
2019-12-29 17:50:40 +00:00
Crypto City
51469f08a8
cc: change research influence
...
Due to the way the research command works, we can't easily
determine "shares" for a research building, so instead we
make the research building influence others
2019-12-29 17:50:26 +00:00
Crypto City
883096ea25
cc: fix research bonus not taking height/EP into account
...
and grows in power of 1.5 to encourage large buildings (campuses)
2019-12-28 17:09:35 +00:00
Crypto City
cc2d565657
cc: fix research money not going back to treasury
2019-12-28 17:09:14 +00:00
Crypto City
2e136c18c4
replace more arrays of NUM_ITEMS by a std::map
2019-12-28 16:33:17 +00:00
Crypto City
bdbc367c8e
keep track of building age
2019-12-28 16:33:17 +00:00
Crypto City
87122879af
tx_pool: always send receive time for chat game txes
2019-12-27 19:23:33 +00:00
Crypto City
d740c0900a
game: remove budget activation threshold when unused
2019-12-27 19:02:45 +00:00
Crypto City
fdac2c3917
game: announce discoveries in chat
2019-12-27 18:58:30 +00:00
Crypto City
c5583c224f
more research tweaking
2019-12-27 17:37:46 +00:00
Crypto City
0d0ac253b9
make budget count against research difficulty decrease instead
2019-12-27 13:52:38 +00:00
Crypto City
24a9685e57
game: hide locked and discovered discoveries by default
2019-12-27 03:08:55 +00:00
Crypto City
c4d88a0996
cc: add a couple more discoveries
2019-12-27 02:24:49 +00:00
Crypto City
94c605528c
cc: do not count existing budget for chance to discover
...
turns out this is the best in practice
2019-12-27 01:52:36 +00:00
Crypto City
eca8f78ea2
tests fix
2019-12-27 01:51:08 +00:00
Crypto City
bc78dfe75c
cc: fix bug hashing research outcome
2019-12-27 01:51:08 +00:00
Crypto City
dbfac813e3
add some research/discoveries tests
2019-12-27 01:51:08 +00:00
Crypto City
bcb5f8e885
unit_tests: fix buy_land test after land cost change
2019-12-26 18:43:19 +00:00
Crypto City
d1f8d2c717
game: improve research UI
...
Prediction of chance of discovery from amount paid, colouring,
hide widgets if a discovery is not currently researchable
2019-12-26 18:03:59 +00:00
Crypto City
241a60c1ee
game: swap buy and sell widgets around, it feels more natural
2019-12-26 16:49:13 +00:00
Crypto City
f81c8203aa
game: add in chat game notifications
...
So far, only used for new buildings
2019-12-26 16:26:55 +00:00
Crypto City
22a59fb069
cc: add a few more discoveries
2019-12-26 16:26:55 +00:00
Crypto City
2f33a4a4f4
game: add research UI
2019-12-26 16:23:16 +00:00
Crypto City
54c462ed22
change item balances from uint32_t[NUM_ITEMS] to std::map<uint32, uint32>
...
We have a lot more item space now, and a lot of it is sparse
2019-12-26 16:23:16 +00:00
Crypto City
3fba4e24a1
unit_tests: fix tests after production changes
...
also a bug in the test code
2019-12-26 01:59:56 +00:00
Crypto City
4fc5db3f78
small research fixes and factor some code
2019-12-25 23:19:02 +00:00
Crypto City
1076fe952b
cc: add research buildings
2019-12-25 22:29:52 +00:00
Crypto City
ccb71779c6
game: fix buying from the last resort seller from the trade ui
2019-12-25 22:29:36 +00:00
Crypto City
86a1517139
Discoveries and research
2019-12-25 20:36:51 +00:00
Crypto City
33d04dff63
cc: fix defaulting on buildings not clearing flags from accounts
2019-12-24 19:16:25 +00:00
Crypto City
73af7e4905
game: add matching and expiration to the trade UI
2019-12-24 18:42:13 +00:00
Crypto City
1cc85512c3
game: fix type mismatch
2019-12-24 18:11:08 +00:00
Crypto City
fd7ad43a88
game: trade UI (no matching yet)
2019-12-24 13:42:41 +00:00
Crypto City
d3981da708
cc: fix item balance check not setting the detail flag
2019-12-24 13:42:31 +00:00
Crypto City
3ce82a8424
game: update blur sizes on window resize
2019-12-23 21:50:29 +00:00
Crypto City
2069249b41
game: speed up default rendering case
...
Disable glow effect when it's used for anything
2019-12-23 21:32:22 +00:00
Crypto City
20ce5ae867
game: fix new/glow effect missing
2019-12-23 21:29:56 +00:00
Crypto City
3dba400994
cc: cleanup tiny block amounts in requirements
2019-12-23 19:14:52 +00:00