From 8f31c33fd545d1ff263208c034d380cac039c73d Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 24 Jan 2012 22:29:00 +0100 Subject: [PATCH] resync dpdefs --- qcsrc/dpdefs/csprogsdefs.qc | 10 ++++++++++ qcsrc/dpdefs/menudefs.qc | 12 +++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/qcsrc/dpdefs/csprogsdefs.qc b/qcsrc/dpdefs/csprogsdefs.qc index 5fd52179c..d3348bc50 100644 --- a/qcsrc/dpdefs/csprogsdefs.qc +++ b/qcsrc/dpdefs/csprogsdefs.qc @@ -1077,6 +1077,16 @@ float MOVETYPE_FLY_WORLDONLY = 33; //description: //like MOVETYPE_FLY, but does all traces with MOVE_WORLDONLY, and is ignored by MOVETYPE_PUSH. Should only be combined with SOLID_NOT and SOLID_TRIGGER. +//DP_PRECACHE_PIC_FLAGS +//idea: divVerent +//darkplaces implementation: divVerent +//constant definitions: +float PRECACHE_PIC_FROMWAD = 1; // this one actually is part of EXT_CSQC +float PRECACHE_PIC_NOTPERSISTENT = 2; // picture may get deallocated when unused +float PRECACHE_PIC_NOCLAMP = 4; // do not clamp to edge +float PRECACHE_PIC_MIPMAP = 8; // mipmap the texture for possibly better downscaling at memory expense +//notes: these constants are given as optional second argument to precache_pic() + //DP_QC_TRACE_MOVETYPE_WORLDONLY //idea: LordHavoc //darkplaces implementation: LordHavoc diff --git a/qcsrc/dpdefs/menudefs.qc b/qcsrc/dpdefs/menudefs.qc index 74bfdc860..bf2293194 100644 --- a/qcsrc/dpdefs/menudefs.qc +++ b/qcsrc/dpdefs/menudefs.qc @@ -293,7 +293,7 @@ void WriteEntity(entity data, float dest, float desto) = #408; ////////////////////////////////////////////////// float iscachedpic(string name) = #451; -string precache_pic(string name) = #452; +string precache_pic(string name, ...) = #452; void freepic(string name) = #453; float drawcharacter(vector position, float character, vector scale, vector rgb, float alpha, float flag) = #454; @@ -404,6 +404,16 @@ float(string s1, string s2, float len) strncmp = #228; float(string s1, string s2) strcasecmp = #229; float(string s1, string s2, float len) strncasecmp = #230; +//DP_PRECACHE_PIC_FLAGS +//idea: divVerent +//darkplaces implementation: divVerent +//constant definitions: +float PRECACHE_PIC_FROMWAD = 1; // this one actually is part of EXT_CSQC +float PRECACHE_PIC_NOTPERSISTENT = 2; // picture may get deallocated when unused +float PRECACHE_PIC_NOCLAMP = 4; // do not clamp to edge +float PRECACHE_PIC_MIPMAP = 8; // mipmap the texture for possibly better downscaling at memory expense +//notes: these constants are given as optional second argument to precache_pic() + //DP_QC_CRC16 //idea: div0 //darkplaces implementation: div0 -- 2.39.2