]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - progsvm.h
Added optional CSQC function CSQC_Event_Sound with the following parameters : float...
[xonotic/darkplaces.git] / progsvm.h
index 43b34bee8540f8408c0a595d2272e1bc2a2ad942..ff2c3bbff38df24b8fcbfc54b0148887b4ea986c 100644 (file)
--- a/progsvm.h
+++ b/progsvm.h
@@ -255,6 +255,7 @@ typedef struct prvm_prog_funcoffsets_s
        func_t CSQC_Ent_Remove; // csqc
        func_t CSQC_Ent_Update; // csqc
        func_t CSQC_Event; // csqc [515]: engine call this for its own needs so csqc can do some things according to what engine it's running on.  example: to say about edicts increase, whatever...
+       func_t CSQC_Event_Sound; // csqc : called by engine when an incoming sound packet arrives so CSQC can act on it
        func_t CSQC_Init; // csqc
        func_t CSQC_InputEvent; // csqc
        func_t CSQC_Parse_CenterPrint; // csqc