X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fcsqc_builtins.qc;h=760197a2764a24419d42b69b5721cf9ce0d002b2;hb=f6da8001c7d20985eec828353e332f4e8ff918aa;hp=c108a4ca0ab152a2239f0551e8364ab98c343a2f;hpb=a1499ddab0e1f69625aca53767776d931dff0fc1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/csqc_builtins.qc b/qcsrc/client/csqc_builtins.qc index c108a4ca0..760197a27 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; @@ -281,6 +282,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 +293,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 +313,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;