X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fcsqc_builtins.qc;h=32c048f25b0187ec42f621d8f9aea6b74e88ed94;hb=e30a3f1263389af5b7eab928dcfd81b95aed1f07;hp=c108a4ca0ab152a2239f0551e8364ab98c343a2f;hpb=0532cf8607bb25cebcf3c75d1748aa0b7df5d143;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/csqc_builtins.qc b/qcsrc/client/csqc_builtins.qc index c108a4ca0..32c048f25 100644 --- a/qcsrc/client/csqc_builtins.qc +++ b/qcsrc/client/csqc_builtins.qc @@ -79,6 +79,7 @@ void () R_ClearScene = #300; void (float mask) R_AddEntities = #301; void (entity e) R_AddEntity = #302; float (float property, ...) R_SetView = #303; +vector (float property, ...) R_SetView3fv = #303; void () R_RenderScene = #304; void (vector org, float radius, vector rgb) R_AddDynamicLight = #305; void () R_CalcRefDef = #306; @@ -235,6 +236,7 @@ float (string s) tokenize = #441; string (float argnum) argv = #442; string (string s) cvar_string = #448; +string (string s) cvar_defstring = #482; float () buf_create = #460; void (float bufhandle) buf_del = #461; @@ -281,6 +283,7 @@ string(string info, string key) infoget = #227; string(string info, string key, string value, ...) infoadd = #226; string(string in) uri_escape = #510; +float stringtokeynum(string keyname) = #341; string keynumtostring(float keynum) = #520; string findkeysforcommand(string command) = #521; @@ -291,6 +294,7 @@ entity(vector org, float rad) findradius = #22; string(float uselocaltime, string format, ...) strftime = #478; float(float timer) gettime = #519; +#define GETTIME_REALTIME 1 #define GETTIME_CDTRACK 4 float(string s) tokenize_console = #514; @@ -310,3 +314,10 @@ float log(float f) = #532; void(entity e, entity ignore) tracetoss = #64; float(entity e, float ch) getsoundtime = #533; // (DP_SND_GETSOUNDTIME) + +#define PARTICLES_USEALPHA 1 +float particles_alphamin, particles_alphamax; +#define PARTICLES_USECOLOR 2 +vector particles_colormin, particles_colormax; +void(float effectindex, entity own, vector org_from, vector org_to, vector dir_from, vector dir_to, float countmultiplier, float flags) boxparticles = #502; +string(string format, ...) sprintf = #627;