]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Add engine extension checks at VM startup and a nudgeoutofsolid fallback
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 22 Jul 2023 08:10:33 +0000 (18:10 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 12 Mar 2024 01:59:41 +0000 (11:59 +1000)
commitdb92f976f517632b7feb1bce79137322f58f3240
tree0cb66c195a6d284447575ac5b96033192e344593
parent204f6f0ccb639d15d20a3e716afcc8533ad0e6d9
Add engine extension checks at VM startup and a nudgeoutofsolid fallback

This allows printing proper messages immediately rather than crashing
later or silently failing to download maps or support player IDs, which
may prevent broken 3rd party packages.

Implements a fallback to WarpZoneLib_MoveOutOfSolid() for when the new
DP_QC_NUDGEOUTOFSOLID isn't available.  Adds a "wasn't-stuck" `-1`
result to WarpZoneLib_MoveOutOfSolid(), to prevent warning spam in the
fallback path.
qcsrc/client/main.qc
qcsrc/common/_all.inc
qcsrc/common/checkextension.qc [new file with mode: 0644]
qcsrc/common/checkextension.qh [new file with mode: 0644]
qcsrc/lib/warpzone/common.qc
qcsrc/lib/warpzone/common.qh
qcsrc/lib/warpzone/util_server.qh
qcsrc/menu/menu.qc
qcsrc/server/world.qc