]> git.pond.sub.org Git - empserver/commit - tests/fairland/stunted.xdump
fairland: Make planned island sizes fair
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 11 Aug 2020 13:39:31 +0000 (15:39 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 19 Jan 2021 07:27:34 +0000 (08:27 +0100)
commitae988c00baa43f6c0c58f5531274d7c7c7ddc85f
tree83da3f374e88b3c41e3506fda4279097aee7669c
parent00bfeb833e833017748cd9c4d7f5d1aba38fb2e2
fairland: Make planned island sizes fair

The previous two commits put the same number of islands closest to
each continent.  This one makes their planned sizes match: instead of
rolling dice separately for each island's size, we roll dice only for
the first continent's islands.  The other continent's islands get the
same sizes.

Actual island sizes still differ when islands can't be grown to their
planned size.  To be addressed next.

fairland-test needs a tweak to avoid loss of test coverage.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/util/fairland.c
tests/fairland-test
tests/fairland/no-spike.out
tests/fairland/no-spike.xdump
tests/fairland/plain.out
tests/fairland/plain.xdump
tests/fairland/spike.out
tests/fairland/spike.xdump
tests/fairland/stunted-newcap_script
tests/fairland/stunted.out
tests/fairland/stunted.xdump