mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
provide builtin mappings for id (none, really), qf and ktpro/qwe (qw only),
add qwe builtin extensions to qw-server. provide sv_progs_ext to control the builtin mapping. valid values are "id", "qf" (our old static builtins), "qwe"/"ktpro" (either works. for ktpro mod support) and "none" (no mapping). any other value is equivalent to "none".
This commit is contained in:
parent
d7592781d7
commit
133879f8fa
12 changed files with 739 additions and 42 deletions
|
@ -176,6 +176,10 @@ extern sv_fields_t sv_fields;
|
|||
|
||||
extern struct progs_s sv_pr_state;
|
||||
|
||||
#define PR_RANGE_ID 0x0000
|
||||
#define PR_RANGE_ID_MAX 82
|
||||
#define PR_RANGE_QWE 0x0001
|
||||
|
||||
#if TYPECHECK_PROGS
|
||||
#define SVFIELD(e,f,t) E_var (e, PR_AccessField (&sv_pr_state, #f, ev_##t, __FILE__, __LINE__), t)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue