Skip to content

Add engine extension checks at VM startup and some fallbacks

bones_was_here requested to merge bones_was_here/checkextension into master

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.

Improve visibility of warnings, related cleanup and fixes

The reason for strcat1n is now fixed properly by darkplaces@b0abeba2 and a986d478

Double printing of backtraces with developer 1 is fixed. Failure to print fatal messages with developer 1 is fixed.

Made the pipeline's sv_cmd runtest accept results prefixed with (eg) "[::SVQC::INFO]" (as long as they end with exactly "All tests OK"), also fixed incorrect hash being printed in green and fixed "PASS: unbound variable" error.

Add fallback path for when engine lacks DP_QC_FINDBOX

Optimize _LOG_HEADER to avoid bloating compilation output files and reduce program size

Edited by bones_was_here

Merge request reports