]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Implement CSQC_SIMPLE aka hud-only CSQC, improve compatibility
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 2 Apr 2024 14:35:20 +0000 (00:35 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 4 Apr 2024 11:11:12 +0000 (21:11 +1000)
commit3f9fdd41aec12c0832ed07f2ba0239383a3801d4
tree09b44c2461d87213d0a09b51eed9097c42b78a04
parent4c463f6f55d52d529ca2080598dcbcd28af3b6b5
Implement CSQC_SIMPLE aka hud-only CSQC, improve compatibility

This should match the behaviours of engines with minimal CSQC support,
allowing DP to run any csprogs made for them.

Fixes https://github.com/DarkPlacesEngine/darkplaces/issues/108

Updates dpdefs to include compatible parameter names.

Adds VM-specific code for checking required functions during QC program
loading.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
12 files changed:
cl_main.c
cl_screen.c
csprogs.c
dpdefs/csprogsdefs.qc
menu.c
progsvm.h
prvm_edict.c
prvm_offsets.h
render.h
sbar.c
sbar.h
sv_main.c