Commit Graph

12806 Commits

Author SHA1 Message Date
Guillaume Le Vaillant
d00ca885bc Move documentation files to their own directory 2020-10-03 09:18:59 +02:00
TheCharlatan
db70af1bbc
Unit Tests: Remove block reward upper bound size checks
Tests running after being compiled with `make debug-test` failed with
```
[  FAILED  ] block_reward_and_current_block_weight.fails_on_huge_median_size
[  FAILED  ] block_reward_and_current_block_weight.fails_on_huge_block_weight
```

With the introduction of the patch in
be82c40703 (diff-1a57d4e6013984c420da98d1adde0eafL113)
the assertions checking the weight of the median and current block
against a size limit were removed. Since the limit is now enforced by a
long divisor and a uint64_t type, checking in a separate test makes
little sense, so they are removed here.
2020-10-03 02:32:17 +02:00
Crypto City
15c3836fdf bump version to 0.23.1.0 2020-10-02 12:39:12 +00:00
Crypto City
04faa7fe0b daemon: print tx hash in print_pool_commands 2020-10-02 12:38:00 +00:00
Crypto City
34065f2b9e daemon: fix printing block as JSON 2020-10-02 12:38:00 +00:00
Crypto City
1ac1b512b9 game: don't print estimated sale price when we don't know it 2020-09-30 21:19:04 +00:00
Crypto City
37b1aadced game: move tile data into a separate structure and pass by shared_ptr
avoids more copies
2020-09-30 21:05:17 +00:00
Crypto City
9786c6115e game: move tiles rather than copy where pushing to the undo stack 2020-09-30 15:35:01 +00:00
Crypto City
fea4a4da7b game: speedup filling up undo stack when building 2020-09-30 13:53:58 +00:00
Crypto City
7c7eec626b cc: speed up rectanglizer a bit 2020-09-30 13:31:16 +00:00
Crypto City
05c4d49159 game: bring panel on top on startup 2020-09-30 00:23:12 +00:00
Crypto City
8b5eeedbad game: speed up auto save a bit 2020-09-30 00:23:12 +00:00
Crypto City
25e6eaeb53 game: fix go to vista adding terrain height 2020-09-30 00:23:12 +00:00
Crypto City
4fcca0a9ed game: make QueuedCommand dtor virtual 2020-09-30 00:23:12 +00:00
Crypto City
d92ffce4fd urho3d: disable xaudio2 on windows (msys borks with it) 2020-09-30 00:23:11 +00:00
selsta
346381f917
workflows: don't brew update 2020-09-30 02:01:49 +02:00
Crypto City
666ac7ffcc cmake: fix boost dependency 2020-09-29 20:48:45 +00:00
Crypto City
202e7a35fd bump version to 0.23.0.0 2020-09-29 12:14:10 +00:00
Crypto City
4c740bbb7f game: add a transparent background to the spectator mode widget
The text can be hard to read otherwise on white sky background
2020-09-29 12:14:10 +00:00
Crypto City
9ead926682 cc: add functions to calculate a coin collection score 2020-09-29 12:14:10 +00:00
Crypto City
13b4b3b7bf cc: tweak role weights for city size purposes 2020-09-29 12:14:10 +00:00
Crypto City
80866b62c4 game: fix teleporting below terrain when in free camera mode 2020-09-29 12:14:10 +00:00
Crypto City
63b9ee34df game: make the resizer more visible 2020-09-29 12:14:10 +00:00
Crypto City
59d1563eac cc: change the labour/high cost function
easier at low heights, harsher at high heights
2020-09-29 12:14:10 +00:00
Crypto City
bd20a169ec functional_tests: more city and game update tests 2020-09-29 12:14:10 +00:00
Crypto City
85fe746683 cc: add missing data for defaulted/derelict buildings in game update 2020-09-28 21:09:07 +00:00
Crypto City
a97bc73248 python-rpc: add missing city parameter to cc_buy_land 2020-09-28 21:09:07 +00:00
Crypto City
22037bd542 cc: factor distribution to treasuries, and new items now do it too 2020-09-28 21:09:07 +00:00
Crypto City
7190cbcbab game: offset start position slightly
Might help with falling through the floor on traveling to a city
2020-09-28 21:09:07 +00:00
Crypto City
7d495bc49c core_test: fix core tests (not enough labour) 2020-09-28 21:09:07 +00:00
Crypto City
2ed24f1918 functional_tests: fix repairing from the wrong account in farming test 2020-09-28 21:09:07 +00:00
Crypto City
81ac18db00 rewrite city cost function 2020-09-28 21:09:07 +00:00
Crypto City
31e74fba63 tests: fix a few tests after recent changes 2020-09-28 21:09:07 +00:00
Crypto City
0f961b5766 cc: bump terrain tile cache from 20 to 32 2020-09-28 21:09:07 +00:00
Crypto City
b327a18dd9 cc: increase min agricultural building size 2020-09-28 21:09:07 +00:00
Crypto City
2a3126740b game: improve building settings screen 2020-09-28 21:09:07 +00:00
Crypto City
d6f17d45f7 game: only display gemstone potential for stonecutters 2020-09-28 21:09:07 +00:00
Crypto City
06fe46a963 cc: some labour/food/heating balance tweaks 2020-09-28 21:09:07 +00:00
Crypto City
a7fc64ed0b add an arbitrary limit for mint batch to avoid overflows 2020-09-28 21:09:07 +00:00
Crypto City
b5ad010f52 cn_deserialize: support block hashing blobs 2020-09-28 21:09:07 +00:00
Crypto City
ef159ea3b4 cc: fix food/labour balance 2020-09-28 21:09:07 +00:00
Crypto City
7e4c421825 cc: double the game account's share from 0.05% to 0.1% 2020-09-28 21:09:07 +00:00
Crypto City
17986a9167 game: initialize level to nothing when awarding event badges 2020-09-28 21:09:07 +00:00
Crypto City
7c99e33a90 blockchain: set balance flag when a tx fails due to balance check 2020-09-28 21:09:07 +00:00
Crypto City
f0feacd249 cc: decrease heating requirements a bit 2020-09-28 21:09:07 +00:00
Crypto City
4d434201a3 game: enable/disable sow/harvest buttons based on current flag crop 2020-09-28 21:09:07 +00:00
Crypto City
8e300911c5 add cautious bears city specialization 2020-09-28 21:09:07 +00:00
Crypto City
4cf39077cd cc: flood does not affect grain production now 2020-09-28 21:09:07 +00:00
Crypto City
694c623384 add high ground city specialization (prevents flooding) 2020-09-28 21:09:07 +00:00
Crypto City
688be95acf cc: make the crop yield less front loaded 2020-09-28 21:09:07 +00:00