]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - mvm_cmds.c
adding two new extensions: DP_QC_WHICHPACK (identify a pk3 containing a file), and...
[xonotic/darkplaces.git] / mvm_cmds.c
index 91bb20074002c7417c3b87d8914a4dbcebe1dfb6..ddf72aea55810eb27b795cca46fb9f236d641ca8 100644 (file)
@@ -26,6 +26,7 @@ char *vm_m_extensions =
 "DP_QC_TOKENIZEBYSEPARATOR "
 "DP_QC_UNLIMITEDTEMPSTRINGS "
 "DP_QC_URI_ESCAPE "
+"DP_QC_WHICHPACK "
 "FTE_STRINGS "
 ;
 
@@ -1329,7 +1330,7 @@ NULL,                                                                     // #499
 NULL,                                                                  // #500
 NULL,                                                                  // #501
 NULL,                                                                  // #502
-NULL,                                                                  // #503
+VM_whichpack,                                  // #503 string(string) whichpack = #503;
 NULL,                                                                  // #504
 NULL,                                                                  // #505
 NULL,                                                                  // #506