]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Rewrite the QC port of droptofloor()
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 18 Sep 2023 12:12:01 +0000 (22:12 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 14 Mar 2024 22:14:26 +0000 (08:14 +1000)
commit134b0134bd665f5cdcab61e88ce8c97bbcf0e138
treeffe507caf9c40ac978ce9e91be2f3e1057fb388e
parent709aeacecf200fc4606f07428cc40e6cacd411e5
Rewrite the QC port of droptofloor()

This uses DP_QC_NUDGEOUTOFSOLID to achieve better results (especially
noticeable with sv_legacy_bbox_expand 0) in less CPU time.

Documents the design.
Removes legacy code paths.
Adds warnings for badly placed items.
Implements Quake-compliant behaviour for each BSP format.

See also: https://gitlab.com/xonotic/darkplaces/-/merge_requests/144

Removes hacky workaround for #2774 and thus depends on !1245

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
qcsrc/server/world.qc
qcsrc/server/world.qh