You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In engine's cl_cgame.c and sv_game.c allow getting variables (with default if not given). VMA( SCV_V3_ORIGIN, vec3_origin ), VMI( SCV_I_STARTFRAME, 0 ), VMF( SCV_F_FRAMELERP, 0.0f ).
This allows adding new variables to system calls without breaking forward or backward compatibility. Unknown variables will be ignored, may result in not working 'as intended' on older engines but will be useable. (Hmm, let VM know what variables each system call supports?)
The text was updated successfully, but these errors were encountered:
Make QVMs use
cg_syscalls.c
andg_syscalls.c
. (Edit: Done in e099fee.)In
*_syscalls.c
pass a list of type of argument (example: SCV_ORIGIN, SCV meaning system call variable) followed by data.In engine's
cl_cgame.c
andsv_game.c
allow getting variables (with default if not given).VMA( SCV_V3_ORIGIN, vec3_origin )
,VMI( SCV_I_STARTFRAME, 0 )
,VMF( SCV_F_FRAMELERP, 0.0f )
.This allows adding new variables to system calls without breaking forward or backward compatibility. Unknown variables will be ignored, may result in not working 'as intended' on older engines but will be useable. (Hmm, let VM know what variables each system call supports?)
The text was updated successfully, but these errors were encountered: