]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - svvm_cmds.c
don't start up CD audio if -nocdaudio is given on commandline - it was
[xonotic/darkplaces.git] / svvm_cmds.c
index a1150ddf7d89dae38133fd162d8cb429c3be84ec..dffc4fda6681cdad0621b4de8cff199a19d0bbd1 100644 (file)
@@ -1,3 +1,5 @@
+#include "quakedef.h"
+
 #include "prvm_cmds.h"
 
 //============================================================================
@@ -143,6 +145,7 @@ char *vm_sv_extensions =
 "DP_QC_CMD "
 "FTE_STRINGS "
 "DP_CON_BESTWEAPON "
+"DP_QC_STRREPLACE "
 ;
 
 /*
@@ -3216,8 +3219,8 @@ VM_strtolower,                                    // #480 string(string s) VM_strtolower (DP_QC_STRING_CASE_FUN
 VM_strtoupper,                                 // #481 string(string s) VM_strtoupper (DP_QC_STRING_CASE_FUNCTIONS)
 VM_cvar_defstring,                             // #482 string(string s) cvar_defstring (DP_QC_CVAR_DEFSTRING)
 VM_SV_pointsound,                              // #483 void(vector origin, string sample, float volume, float attenuation) (DP_SV_POINTSOUND)
-NULL,                                                  // #484
-NULL,                                                  // #485
+VM_strreplace,                                 // #484 string(string search, string replace, string subject) strreplace (DP_QC_STRREPLACE)
+VM_strireplace,                                        // #485 string(string search, string replace, string subject) strireplace (DP_QC_STRREPLACE)
 NULL,                                                  // #486
 NULL,                                                  // #487
 NULL,                                                  // #488