]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit - qcsrc/common/mapinfo.qc
Separate and improve MapReadSizes()
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 26 Sep 2022 05:21:19 +0000 (15:21 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 26 Sep 2022 05:21:19 +0000 (15:21 +1000)
commit3da3ef607a0e189266a4cf24e5b0f10efff92962
tree0e428d7b7171e95956bee01fe6cbd1318a9083d6
parent103d3525a1dde2c3bed5281808f748417460f7c3
Separate and improve MapReadSizes()

Ensure maps with small minimum player count can be selected for voting
when player count is low or zero, even if their minimum would otherwise be
too high, to reduce chance of maplist fallback (which ignores sizes).
Setting (for example) every CTF map to min 4 and every DM map to min 2
is a viable config with this code.

Add g_maplist_sizes_specparty, reduces player count used when selecting
maps to allow for a consistent spectator population.

Better debugging messages.
qcsrc/common/mapinfo.qc
qcsrc/common/mapinfo.qh
qcsrc/server/intermission.qc
xonotic-server.cfg