]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - mvm_cmds.c
some minor state change optimizations on GL20 path, it now does even less per batch
[xonotic/darkplaces.git] / mvm_cmds.c
index 251bbb831309af35a41ddc2e926c04e24f442faf..138dfc46aa068d93faa60bab347c3f88c27da741 100644 (file)
@@ -4,9 +4,11 @@
 // Menu
 
 char *vm_m_extensions =
+"BX_WAL_SUPPORT "
 "DP_CINEMATIC_DPV "
 "DP_MENU_EXTRESPONSEPACKET "
 "DP_QC_ASINACOSATANATAN2TAN "
+"DP_QC_STRFTIME "
 "DP_QC_STRINGCOLORFUNCTIONS "
 "DP_QC_UNLIMITEDTEMPSTRINGS";
 
@@ -928,7 +930,9 @@ prvm_builtin_t vm_m_builtins[] = {
        VM_tan,                                         // #475 float(float a) VM_tan (DP_QC_ASINACOSATANATAN2TAN)
        VM_strlennocol,                         // #476 float(string s) : DRESK - String Length (not counting color codes) (DP_QC_STRINGCOLORFUNCTIONS)
        VM_strdecolorize,                       // #477 string(string s) : DRESK - Decolorized String (DP_QC_STRINGCOLORFUNCTIONS)
-       0,0,0,                  // 480
+       VM_strftime,                            // #478 string(float uselocaltime, string format, ...) (DP_QC_STRFTIME)
+       0,                              // 479
+       0,                              // 480
        e10,                    // 490
        e10,                    // 500
        e100,                   // 600