]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - progsvm.h
Added function S_IsSoundPrecached to the sound engine API. "snd_main.h" shouldn't...
[xonotic/darkplaces.git] / progsvm.h
index daa1b5b3c6bbcb26d618d7105cdc03706b6fb74c..0ef7dff3fc161e6fd32102bc8d1cc08d21f767e9 100644 (file)
--- a/progsvm.h
+++ b/progsvm.h
@@ -31,6 +31,7 @@ The code uses void pointers instead.
 
 #include "pr_comp.h"                   // defs shared with qcc
 #include "progdefs.h"                  // generated by program cdefs
+#include "clprogdefs.h"                        // generated by program cdefs
 
 /*
 typedef union vm_eval_s
@@ -203,7 +204,8 @@ typedef struct prvm_edict_s
        union
        {
                void *vp;
-               entvars_t *server;
+               entvars_t               *server;
+               cl_entvars_t    *client;
        } fields;
 } prvm_edict_t;
 
@@ -266,6 +268,7 @@ typedef struct prvm_prog_s
        union {
                float *generic;
                globalvars_t *server;
+               cl_globalvars_t *client;
        } globals;
 
        int                                     maxknownstrings;