From fb64bd19d99d9081f5bbd68ac2d0351be62df866 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 8 Feb 2007 15:56:40 +0000 Subject: [PATCH] added DP_QC_STRFTIME extension to menu vm (somehow I missed this when committing earlier) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6808 d7cf8633-e32d-0410-b094-e92efae38249 --- mvm_cmds.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mvm_cmds.c b/mvm_cmds.c index 33412190..138dfc46 100644 --- a/mvm_cmds.c +++ b/mvm_cmds.c @@ -8,6 +8,7 @@ char *vm_m_extensions = "DP_CINEMATIC_DPV " "DP_MENU_EXTRESPONSEPACKET " "DP_QC_ASINACOSATANATAN2TAN " +"DP_QC_STRFTIME " "DP_QC_STRINGCOLORFUNCTIONS " "DP_QC_UNLIMITEDTEMPSTRINGS"; @@ -929,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 -- 2.39.2