From fd8dcee00ce726eb348e38181bb84dba5968652f Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 23 Sep 2020 01:59:53 +1000 Subject: [PATCH] Update dpdefs to match current master --- qcsrc/dpdefs/upstream/dpextensions.qc | 4 ++-- qcsrc/dpdefs/upstream/menudefs.qc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/dpdefs/upstream/dpextensions.qc b/qcsrc/dpdefs/upstream/dpextensions.qc index 43dd56cb6..bd1a8dc15 100644 --- a/qcsrc/dpdefs/upstream/dpextensions.qc +++ b/qcsrc/dpdefs/upstream/dpextensions.qc @@ -2619,10 +2619,10 @@ float MOVETYPE_USER_LAST = 191; //idea: eukara //darkplaces implementation: Cloudwalk -// Do NOT use in production yet. +//Do NOT use in production yet. Uncomment if you intend to use it string __fullspawndata; //description: -// http://icculus.org/finger/marco?date=2019-01-25&time=05-38-02 +//http://icculus.org/finger/marco?date=2019-01-25&time=05-38-02 //DP_QC_FS_SEARCH_PACKFILE //idea: Mario diff --git a/qcsrc/dpdefs/upstream/menudefs.qc b/qcsrc/dpdefs/upstream/menudefs.qc index 36cedec4f..63d2c6388 100644 --- a/qcsrc/dpdefs/upstream/menudefs.qc +++ b/qcsrc/dpdefs/upstream/menudefs.qc @@ -159,7 +159,7 @@ float OS_MAC = 2; ////////////////////////////////////////////////// // AK FIXME: Create perhaps a special builtin file for the common cmds -void checkextension(string ext) = #1; +float checkextension(string ext) = #1; // error cmds void error(string err,...) = #2; @@ -542,7 +542,7 @@ void coverage() = #642; // Reports a coverage event. The engine counts for each //idea: Mario //darkplaces implementation: Mario //builtin definitions: -float(string pattern, float caseinsensitive, float quiet, string packfile) search_packfile_begin = #444; +float(string pattern, float caseinsensitive, float quiet, string packfile) search_packfile_begin = #74; //description: //extension to search_begin (DP_QC_FS_SEARCH), performs a filename search with the specified pattern (for example "maps/*.bsp") and stores the results in a search slot (minimum of 128 supported by any engine with this extension), the other functions take this returned search slot number, be sure to search_free when done (they are also freed on progs reload). //only searches for files within the specified packfile, which is expected to match the results of whichpack(). -- 2.39.2