]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
sync dpdefs
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 29 Aug 2013 12:40:35 +0000 (12:40 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 29 Aug 2013 12:40:35 +0000 (12:40 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11999 d7cf8633-e32d-0410-b094-e92efae38249

dpdefs/csprogsdefs.qc
dpdefs/keycodes.qc
dpdefs/menudefs.qc
dpdefs/progsdefs.qc

index c9b9ce9cbc358056fa13b34169ac04c5c015559c..af0cb69121e0870b34ddacd9575923eb1edb402b 100644 (file)
@@ -335,7 +335,7 @@ void(entity e, vector o) setorigin = #2;
 void(entity e, string m) setmodel = #3;
 void(entity e, vector min, vector max) setsize = #4;
 
 void(entity e, string m) setmodel = #3;
 void(entity e, vector min, vector max) setsize = #4;
 
-void() break = #6;
+void() break_to_debugger = #6;
 float() random = #7;
 void(entity e, float chan, string samp) sound = #8;
 vector(vector v) normalize = #9;
 float() random = #7;
 void(entity e, float chan, string samp) sound = #8;
 vector(vector v) normalize = #9;
@@ -1447,6 +1447,9 @@ float PARTICLES_USEALPHA = 1;
 float particles_alphamin, particles_alphamax;
 float PARTICLES_USECOLOR = 2;
 vector particles_colormin, particles_colormax;
 float particles_alphamin, particles_alphamax;
 float PARTICLES_USECOLOR = 2;
 vector particles_colormin, particles_colormax;
+float PARTICLES_USEFADE = 4;  // fades the COUNT (fade alpha using alphamin/alphamax)
+float particles_fade;
+float PARTICLES_DRAWASTRAIL = 128;
 void(float effectindex, entity own, vector org_from, vector org_to, vector dir_from, vector dir_to, float countmultiplier, float flags) boxparticles = #502;
 float trace_networkentity;
 const float RF_FULLBRIGHT      = 256;
 void(float effectindex, entity own, vector org_from, vector org_to, vector dir_from, vector dir_to, float countmultiplier, float flags) boxparticles = #502;
 float trace_networkentity;
 const float RF_FULLBRIGHT      = 256;
index 76945736f914fbd8a67ef5dc4e6573d9907d7b80..65fe815b0001bf47080a06c3d9cb0796355b0f4f 100644 (file)
@@ -46,28 +46,28 @@ float K_CAPSLOCK    = 155;
 float K_SCROLLLOCK     = 156;
 
 float K_KP_0   =       157;
 float K_SCROLLLOCK     = 156;
 
 float K_KP_0   =       157;
-float K_KP_INS =       K_KP_0;
+float K_KP_INS =       157; // same as K_KP_0
 float K_KP_1   =       158;
 float K_KP_1   =       158;
-float K_KP_END =       K_KP_1;
+float K_KP_END =       158; // same as K_KP_1
 float K_KP_2   =       159;
 float K_KP_2   =       159;
-float K_KP_DOWNARROW = K_KP_2;
+float K_KP_DOWNARROW = 159; // same as K_KP_2
 float K_KP_3   =       160;
 float K_KP_3   =       160;
-float K_KP_PGDN = K_KP_3;
+float K_KP_PGDN = 160; // same as K_KP_3
 float K_KP_4   =       161;
 float K_KP_4   =       161;
-float K_KP_LEFTARROW = K_KP_4;
+float K_KP_LEFTARROW = 161; // same as K_KP_4
 float K_KP_5   =       162;
 float K_KP_6   =       163;
 float K_KP_5   =       162;
 float K_KP_6   =       163;
-float K_KP_RIGHTARROW = K_KP_6;
+float K_KP_RIGHTARROW = 163; // same as K_KP_6
 float K_KP_7   =       164;
 float K_KP_7   =       164;
-float K_KP_HOME = K_KP_7;
+float K_KP_HOME = 164; // same as K_KP_7
 float K_KP_8   =       165;
 float K_KP_8   =       165;
-float K_KP_UPARROW = K_KP_8;
+float K_KP_UPARROW = 165; // same as K_KP_8
 float K_KP_9   = 166;
 float K_KP_9   = 166;
-float K_KP_PGUP = K_KP_9;
+float K_KP_PGUP = 166; // same as K_KP_9
 float K_KP_PERIOD = 167;
 float K_KP_PERIOD = 167;
-float K_KP_DEL = K_KP_PERIOD;
+float K_KP_DEL = 167; // same as K_KP_PERIOD
 float K_KP_DIVIDE = 168;
 float K_KP_DIVIDE = 168;
-float K_KP_SLASH = K_KP_DIVIDE;
+float K_KP_SLASH = 168; // same as K_KP_DIVIDE
 float K_KP_MULTIPLY = 169;
 float K_KP_MINUS       = 170;
 float K_KP_PLUS                = 171;
 float K_KP_MULTIPLY = 169;
 float K_KP_MINUS       = 170;
 float K_KP_PLUS                = 171;
index c1198746171f79dd03925f9c2bbac36261717732..4885f2916c70641ca7488b9fedd016fa7e144551 100644 (file)
@@ -96,7 +96,7 @@ float ERR_BADFILENAME                         = -4; // fopen
 float ERR_NULLSTRING                   = -1;
 float ERR_BADDRAWFLAG                  = -2;
 float ERR_BADSCALE                             = -3;
 float ERR_NULLSTRING                   = -1;
 float ERR_BADDRAWFLAG                  = -2;
 float ERR_BADSCALE                             = -3;
-float ERR_BADSIZE                              = ERR_BADSCALE;
+float ERR_BADSIZE                              = -3; // same as ERR_BADSCALE
 float ERR_NOTCACHED                            = -4;
 
 // server list stuff
 float ERR_NOTCACHED                            = -4;
 
 // server list stuff
@@ -253,7 +253,7 @@ vector      stov(string s)  = #55;
 string strzone(string s)  = #56;
 void   strunzone(string s) = #57;
 
 string strzone(string s)  = #56;
 void   strunzone(string s) = #57;
 
-float  tokenize(string s)  = #58
+float  tokenize(string s)  = #58;
 string argv(float n)  = #59;
 
 float  isserver(void)  = #60;
 string argv(float n)  = #59;
 
 float  isserver(void)  = #60;
index 912c3ecabe18bee45be837d061a6a388f684376b..2ccd843145b0db8807a777d9285bf2e5e60478b8 100644 (file)
@@ -402,7 +402,7 @@ void(entity e, vector o) setorigin  = #2;
 void(entity e, string m) setmodel      = #3;           // set movetype and solid first
 void(entity e, vector min, vector max) setsize = #4;
 // #5 was removed
 void(entity e, string m) setmodel      = #3;           // set movetype and solid first
 void(entity e, vector min, vector max) setsize = #4;
 // #5 was removed
-void() break                                           = #6;
+void() break_to_debugger                                               = #6;
 float() random                                         = #7;           // returns 0 - 1
 void(entity e, float chan, string samp, float vol, float atten) sound = #8;
 vector(vector v) normalize                     = #9;
 float() random                                         = #7;           // returns 0 - 1
 void(entity e, float chan, string samp, float vol, float atten) sound = #8;
 vector(vector v) normalize                     = #9;