]> git.xonotic.org Git - xonotic/darkplaces.git/commit
PRVM: refactor error handling
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 11 Feb 2024 13:54:39 +0000 (23:54 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 26 Feb 2024 16:06:05 +0000 (02:06 +1000)
commit4d00f11db53273b8624b8ce95f066450dad0a298
tree919226a833fa16ece9ab83833380d3c9726e2de6
parent676351a4173915edc38016f76b93ab0bc01e3679
PRVM: refactor error handling

Cleans up PRVM_Crash() calling and removes redundant code.
Directs menu errors to stderr instead of stdout.
Aborts if a loop is detected in MVM_error_cmd(), matching Host_Error().
Prevents QC's CSQC_Shutdown() being called when CSQC crashes.
Makes cvar prvm_errordump ignore MENUQC crashes.
Improves some messages and comments.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
host.c
menu.c
progsvm.h
prvm_exec.c