r5638 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jan 23 05:55:36 EST 2009


Author: div0
Date: 2009-01-23 05:55:31 -0500 (Fri, 23 Jan 2009)
New Revision: 5638

Modified:
   trunk/data/qcsrc/server/extensions.qh
Log:
document the new extensions


Modified: trunk/data/qcsrc/server/extensions.qh
===================================================================
--- trunk/data/qcsrc/server/extensions.qh	2009-01-23 10:51:33 UTC (rev 5637)
+++ trunk/data/qcsrc/server/extensions.qh	2009-01-23 10:55:31 UTC (rev 5638)
@@ -559,6 +559,14 @@
 //description:
 //returns the default value of a cvar, as a tempstring.
 
+//DP_QC_CVAR_DESCRIPTION
+//idea: div0
+//DarkPlaces implementation: div0
+//builtin definitions:
+string(string name) cvar_description = #518;
+//description:
+//returns the description of a cvar
+
 //DP_QC_CVAR_STRING
 //idea: VorteX
 //DarkPlaces implementation: VorteX, LordHavoc
@@ -567,6 +575,18 @@
 //description:
 //returns the value of a cvar, as a tempstring.
 
+//DP_QC_CVAR_TYPE
+//idea: div0
+//DarkPlaces implementation: div0
+//builtin definitions:
+float(string name) cvar_type = #495;
+float CVAR_TYPEFLAG_EXISTS = 1;
+float CVAR_TYPEFLAG_SAVED = 2;
+float CVAR_TYPEFLAG_PRIVATE = 4;
+float CVAR_TYPEFLAG_ENGINE = 8;
+float CVAR_TYPEFLAG_HASDESCRIPTION = 16;
+float CVAR_TYPEFLAG_READONLY = 32;
+
 //DP_QC_EDICT_NUM
 //idea: 515
 //DarkPlaces implementation: LordHavoc
@@ -1794,6 +1814,13 @@
 float(float bufhandle, string str, float order) bufstr_add = #468;
 void(float bufhandle, float string_index) bufstr_free = #469;
 
+//DP_QC_STRINGBUFFERS_CVARLIST
+//idea: div0
+//darkplaces implementation: div0
+//functions to list cvars and store their names into a stringbuffer
+//cvars that start with pattern but not with antipattern will be stored into the buffer
+void(float bufhandle, string pattern, string antipattern) buf_cvarlist = #517;
+
 //DP_QC_STRREPLACE
 //idea: Sajt
 //darkplaces implementation: Sajt




More information about the nexuiz-commits mailing list