47void CSQC_Init(
float apilevel,
string enginename,
float engineversion);
53 void CSQC_DrawHud(
vector virtsize,
float showscores);
54 void CSQC_DrawScores(
vector virtsize,
float showscores);
262const float false = 0;
273const float M_PI = 3.14159265358979323846;
342void() break_to_debugger =
#6;
356void(
string s) precache_model = #20;
403string(
string s) precache_model2 = #75;
404string(
string s) precache_sound2 = #76;
405string(
string s) precache_file2 = #77;
425float(
float minimum,
float val,
float maximum)
bound = #96;
435void(
float fhandle,
string s)
fputs = #113;
446float(
float number,
float quantity) bitshift = #218;
452string(
float ccase,
float calpha,
float cnum,
string s, ...) strconv =
#224;
453string(
float chars,
string s, ...) strpad =
#225;
454string(
string info,
string key,
string value, ...) infoadd =
#226;
455string(
string info,
string key) infoget = #227;
462void() clearscene =
#300;
463void(
float mask) addentities = #301;
465float(
float property, ...) setproperty =
#303;
466float(
float property) getproperty = #309;
467vector(
float property) getpropertyvec = #309;
468void() renderscene =
#304;
472void(
string texturename,
float flag, ...) R_BeginPolygon =
#306;
474void() R_EndPolygon =
#308;
482vector(
string picname) draw_getimagesize = #318;
493float(
float stnum) getstatf = #330;
494float(
float stnum, ...) getstati =
#331;
495string(
float firststnum) getstats = #332;
497string(
float mdlindex) modelnameforindex = #334;
505float(
string keyname) stringtokeynum = #341;
506string(
float keynum) getkeybind = #342;
507void(
float usecursor) setcursormode = #343;
509float(
float framenum) getinputstate = #345;
510void(
float sens) setsensitivityscale = #346;
511void(...) runstandardplayerphysics =
#347;
512string(
float playernum,
string keyname) getplayerkeyvalue = #348;
516void(
string cmdname) registercommand = #352;
518string(
string key) serverkey = #354;
522float() ReadChar =
#361;
523float() ReadShort =
#362;
524float() ReadLong =
#363;
525float() ReadCoord =
#364;
526float() ReadAngle =
#365;
533entity(.
string fld,
string match) findchain = #402;
535void(
vector org,
string modelname,
float startframe,
float endframe,
float framerate) effect = #404;
537void(
vector mincorner,
vector maxcorner,
float explosionspeed,
float howmany) te_bloodshower = #406;
589void(
float bufhandle) buf_del = #461;
590float(
float bufhandle) buf_getsize = #462;
591void(
float bufhandle_from,
float bufhandle_to) buf_copy = #463;
592void(
float bufhandle,
float sortpower,
float backward) buf_sort = #464;
593string(
float bufhandle,
string glue) buf_implode = #465;
594string(
float bufhandle,
float string_index) bufstr_get = #466;
595void(
float bufhandle,
float string_index,
string str) bufstr_set = #467;
596float(
float bufhandle,
string str,
float order) bufstr_add = #468;
597void(
float bufhandle,
float string_index) bufstr_free = #469;
599float(
float s) asin = #471;
600float(
float c) acos = #472;
601float(
float t) atan = #473;
602float(
float c,
float s) atan2 = #474;
603float(
float a) tan = #475;
604float(
string s) strippedstringlen = #476;
605float(
string s) strlennocol = #476;
606string(
string s) decolorizedstring = #477;
607string(
string s) strdecolorize = #477;
608string(
float uselocaltime,
string format, ...) strftime =
#478;
610string(
string s) strtoupper = #481;
613string(
string search,
string replace,
string subject) strreplace = #484;
614string(
string search,
string replace,
string subject) strireplace = #485;
615vector(
entity e,
float s,
float n,
float a) getsurfacepointattribute = #486;
692float(
float max_themes) initparticlespawner = #522;
693void() resetparticle =
#523;
694void(
float theme) particletheme = #524;
695float() particlethemesave =
#525;
696void(
float theme) particlethemeupdate = #525;
697void(
float theme) particlethemefree = #526;
712void() printparticle =
715 print(
"PARTICLE:\n");
749float RF_USETRANSPARENTOFFSET = 64;
776void(
float ispaused) setpause = #531;
844float loadfont(
string fontname,
string fontmaps,
string sizes,
float slot,
float fix_scale,
float fix_voffset) = #357;
882string(
float key,
float bindmap) getkeybind_bindmap = #342;
883float(
float key,
string bind,
float bindmap) setkeybind_bindmap = #630;
884vector(
void) getbindmaps = #631;
886string(
string command,
float bindmap) findkeysforcommand = #610;
896float(
string url,
float id,
string content_type,
string delim,
float buf,
float keyid) crypto_uri_postbuf = #513;
924void(
entity e,
float refdefflags) V_CalcRefdef = #640;
945#define SPA_POSITION 0
949#define SPA_TEXCOORDS0 4
950#define SPA_LIGHTMAP0_TEXCOORDS 5
951#define SPA_LIGHTMAP_COLOR 6
959float(
entity e,
float s) getsurfacenumtriangles = #628;
960vector(
entity e,
float s,
float n) getsurfacetriangle = #629;
966float DEG2RAD = 0.0174532925199432957692369076848861271344287188854172545609719144;
967float RAD2DEG = 57.2957795130823208767981548141051703324054724665643215491602438612;
968float PI = 3.1415926535897932384626433832795028841971693993751058209749445923;
985string(
string format, ...) sprintf =
#627;
1102float(
entity e,
float channel) getsoundtime = #533;
1103float(
string sample) soundlength = #534;
1188float(
float caseinsensitive,
string s, ...) crc16 =
#494;
1194string(
string filename) whichpack = #503;
1204string(
string in) uri_escape = #510;
1205string(
string in) uri_unescape = #511;
1211string(
string digest,
string data, ...) digest_hex =
#639;
1238float(
float modlindex) skel_create = #263;
1239float(
float skel,
entity ent,
float modlindex,
float retainfrac,
float firstbone,
float lastbone) skel_build = #264;
1240float(
float skel) skel_get_numbones = #265;
1241string(
float skel,
float bonenum) skel_get_bonename = #266;
1249void(
float skeldst,
float skelsrc,
float startbone,
float endbone) skel_copybones = #274;
1250void(
float skel) skel_delete = #275;
1251float(
float modlindex,
string framename) frameforname = #276;
1252float(
float modlindex,
float framenum) frameduration = #277;
1291float(
float skel,
float bonenum,
string g1,
string g2,
string g3,
string g4,
string g5,
string g6) example_skel_findbonegroup =
1293 local
string bonename;
1294 while (bonenum >= 0)
1296 bonename = skel_get_bonename(skel, bonenum);
1297 if (bonename == g1)
return 1;
1298 if (bonename == g2)
return 2;
1299 if (bonename == g3)
return 3;
1300 if (bonename == g4)
return 4;
1301 if (bonename == g5)
return 5;
1302 if (bonename == g6)
return 6;
1308void() example_skel_player_setup =
1310 self.skeletonindex = skel_create(
self.modelindex);
1314void(
float animmodelindex,
float framegroup,
float framegroupstarttime) example_skel_player_update_begin =
1317 self.frame = framegroup;
1321 self.frame1time = framegroupstarttime;
1322 self.frame2time = 0;
1323 self.frame3time = 0;
1324 self.frame4time = 0;
1328 skel_build(
self.skeletonindex,
self, animmodelindex, 0, 0, 100000);
1331void(
float animmodelindex,
float framegroup,
float framegroupstarttime,
float blendalpha,
string groupbonename,
string excludegroupname1,
string excludegroupname2) example_skel_player_update_applyoverride =
1333 local
float bonenum;
1334 local
float numbones;
1335 self.frame = framegroup;
1339 self.frame1time = framegroupstarttime;
1340 self.frame2time = 0;
1341 self.frame3time = 0;
1342 self.frame4time = 0;
1347 numbones = skel_get_numbones(
self.skeletonindex);
1348 while (bonenum < numbones)
1350 if (example_skel_findbonegroup(
self.skeletonindex, bonenum, groupbonename, excludegroupname1, excludegroupname2,
"",
"",
"") == 1)
1351 skel_build(
self.skeletonindex,
self, animmodelindex, 1 - blendalpha, bonenum, bonenum + 1);
1352 bonenum = bonenum + 1;
1356void(
vector eyetarget,
string bonename) example_skel_player_update_eyetarget =
1358 local
float bonenum;
1360 local
vector oldforward, oldright, oldup;
1361 local
vector relforward, relright, relup, relorg;
1362 local
vector boneforward, boneright, boneup, boneorg;
1363 local
vector parentforward, parentright, parentup, parentorg;
1365 local
vector modeleyetarget;
1372 v = eyetarget -
self.origin;
1374 modeleyetarget_y = 0-v *
v_right;
1375 modeleyetarget_z = v *
v_up;
1391 u = modeleyetarget - boneorg;
1393 v_x = u * parentforward;
1394 v_y = u * parentright;
1396 ang = vectoangles2(v, relup);
1408void() example_skel_player_delete =
1410 skel_delete(
self.skeletonindex);
1411 self.skeletonindex = 0;
1421float() numentityfields =
#496;
1422string(
float fieldnum) entityfieldname = #497;
1423float(
float fieldnum) entityfieldtype = #498;
1425float(
float fieldnum,
entity ent,
string s) putentityfieldstring = #500;
1453entity(.
string fld,
string match, .
entity tofield) findchain_tofield = #402;
1454entity(.
float fld,
float match, .
entity tofield) findchainflags_tofield = #450;
1455entity(.
float fld,
float match, .
entity tofield) findchainfloat_tofield = #403;
1471float(
string pattern,
float caseinsensitive,
float quiet,
string packfile) search_packfile_begin = #444;
1491string(
void) ReadPicture = #501;
float frame3time
start time of framegroup animation
float frame1time
start time of framegroup animation
float frame2time
start time of framegroup animation
float frame2
secondary framegroup animation (strength = lerpfrac)
float lerpfrac
strength of framegroup blend
float frame3
tertiary framegroup animation (strength = lerpfrac3)
float lerpfrac4
strength of framegroup blend
float frame4time
start time of framegroup animation
float lerpfrac3
strength of framegroup blend
float frame4
quaternary framegroup animation (strength = lerpfrac4)
float frame
primary framegroup animation (strength = 1 - lerpfrac - lerpfrac3 - lerpfrac4)
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define drawsetcliparea(xposition, yposition, w, h)
#define drawcolorcodedstring(position, text, scale, alpha, flag)
#define drawcolorcodedstring2(position, text, scale, rgb, alpha, flag)
#define drawstring(position, text, scale, rgb, alpha, flag)
#define drawpic(position, pic, size, rgb, alpha, flag)
#define drawcharacter(position, character, scale, rgb, alpha, flag)
#define drawfill(position, size, rgb, alpha, flag)
#define setmodel(this, m)
string strtolower(string s)
float particle_delaycollision
const float RF_WORLDOBJECT
const float TE_EXPLOSIONRGB
float drawsubpic(vector position, vector size, string pic, vector srcPosition, vector srcSize, vector rgb, float alpha, float flag)
const float VF_DRAWENGINESBAR
const float TE_TAREXPLOSION
const float DRAWFLAG_NORMAL
const float MOVE_NOMONSTERS
const float SOLID_SLIDEBOX
const float TE_EXPLOSION2
float trace_dphitcontents
vector particle_staincolor2
const float TE_KNIGHTSPIKE
float Q3SURFACEFLAG_NONSOLID
float Q3SURFACEFLAG_LADDER
float particle_qualityreduction
const float STAT_VIEWHEIGHT
const float VF_CL_VIEWANGLES
const float VF_PERSPECTIVE
const float RF_MODELLIGHT
const float SOLID_TRIGGER
float DPCONTENTS_DONOTENTER
vector particle_staincolor1
const float STAT_TOTALSECRETS
const float TE_LIGHTNING3
float particle_delayspawn
float CVAR_TYPEFLAG_HASDESCRIPTION
vector particles_colormin
const float PFLAGS_NOSHADOW
const float CONTENT_SOLID
const float DRAWFLAG_ADDITIVE
float Q3SURFACEFLAG_NODRAW
const float TE_SUPERSPIKEQUAD
float stringwidth_menu(string text, float allowColorCodes, vector size)
float Q3SURFACEFLAG_SLICK
float CVAR_TYPEFLAG_ENGINE
const float DRAWFLAG_2XMODULATE
const float STAT_ACTIVEWEAPON
float DPCONTENTS_LIQUIDSMASK
float particle_originjitter
const float TE_LIGHTNING2
float PRECACHE_PIC_FROMWAD
const float STAT_MONSTERS
float trace_dpstartcontents
float Q3SURFACEFLAG_FLESH
const float TE_SUPERSPIKE
float PARTICLE_ORIENTED_DOUBLESIDED
float CVAR_TYPEFLAG_EXISTS
vector drawgetimagesize(string pic)
const float CONTENT_WATER
const float DRAWFLAG_SCREEN
vector gettaginfo_forward
const float EF_FULLBRIGHT
const float VF_CL_VIEWANGLES_Y
string trace_dphittexturename
float particle_sizeincrease
float particle_airfriction
float movevar_spectatormaxspeed
vector modellight_ambient
const float VF_CL_VIEWANGLES_X
const float VF_MINFPS_QUALITY
vector modellight_diffuse
float DPCONTENTS_PLAYERCLIP
const float STAT_WEAPONMODEL
float loadfont(string fontname, string fontmaps, string sizes, float slot, float fix_scale, float fix_voffset)
float Q3SURFACEFLAG_METALSTEPS
const float TE_GUNSHOTQUAD
float trace_networkentity
float CVAR_TYPEFLAG_READONLY
float checkpvs(vector viewpos, entity viewee)
float DPCONTENTS_MONSTERCLIP
float particle_liquidfriction
float REFDEFFLAG_INTERMISSION
float trace_dphitq3surfaceflags
float REFDEFFLAG_TELEPORTED
float particle_velocityjitter
float movevar_airaccelerate
vector particles_colormax
const float STAT_WEAPONFRAME
const float DRAWFLAG_MODULATE
float movevar_wateraccelerate
const float TE_EXPLOSIONQUAD
const float EF_NODEPTHTEST
const float EF_SELECTABLE
float particle_stainalpha
float CVAR_TYPEFLAG_SAVED
const float VF_DRAWCROSSHAIR
float PRECACHE_PIC_NOTPERSISTENT
const float VF_CL_VIEWANGLES_Z
const float TE_LAVASPLASH
const float RF_EXTERNALMODEL
const float RF_FULLBRIGHT
const float CONTENT_EMPTY
float Q3SURFACEFLAG_NOIMPACT
float PRECACHE_PIC_MIPMAP
float Q3SURFACEFLAG_NOMARKS
const float PFLAGS_CORONA
float CVAR_TYPEFLAG_PRIVATE
float RF_DYNAMICMODELLIGHT
const float TE_LIGHTNING1
float Q3SURFACEFLAG_NODAMAGE
const float DRAWFLAG_MIPMAP
float Q3SURFACEFLAG_NOSTEPS
float particle_orientation
float movevar_waterfriction
vector trace_plane_normal
const float MASK_ENGINEVIEWMODELS
const float STAT_TOTALMONSTERS
float PARTICLES_DRAWASTRAIL
const float CONTENT_SLIME
const float PFLAGS_FULLDYNAMIC
#define STAT_MOVEVARS_TIMESCALE
#define STAT_MOVEVARS_GRAVITY
#define STAT_MOVEVARS_TICRATE
#define skel_get_boneparent
#define tokenizebyseparator
#define pointparticles(effect, org, vel, howmany)
#define trailparticles(e, effect, org, vel)
#define particleeffectnum(e)
#define CSQC_ConsoleCommand
spree_inf s1 s2 s3loc s2 s1
spree_inf s1 s2 s3loc s2 spree_inf s1 s2 s3loc s2 spree_inf s1 s2 s3loc s2 s1 s2loc s1 s2loc s1 s2loc s1 s2loc s1 s2loc s1 s2loc s1 s2 f1points s1 s2
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))
#define sound(e, c, s, v, a)