Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
System globals
From Quake Wiki
These are the globals and functions Quake requires to run. Most have special meaning to the engine. All variables before the definition "void end_sys_globals;" (in defs.qc) are system globals. If any are changed or added, the engine must be rebuilt with the progdefs.h file produced by QCC after compilation. See FrikQCC warning Q208.
- entity self;
- entity other;
- entity world;
- float time;
- float frametime;
- float force_retouch;
- string mapname;
- float deathmatch global;
- float coop global;
- float teamplay global;
- float serverflags;
- float total_secrets;
- float total_monsters;
- float found_secrets;
- float killed_monsters;
- float parm1;
- float parm2;
- float parm3;
- float parm4;
- float parm5;
- float parm6;
- float parm7;
- float parm8;
- float parm9;
- float parm10;
- float parm11;
- float parm12;
- float parm13;
- float parm14;
- float parm15;
- float parm16;
- vector v_forward;
- vector v_up;
- vector v_right;
- float trace_allsolid;
- float trace_startsolid;
- float trace_fraction;
- vector trace_endpos;
- vector trace_plane_normal;
- float trace_plane_dist;
- entity trace_ent;
- float trace_inopen;
- float trace_inwater;
- entity msg_entity;
Required Prog Functions[edit]
- void() main;
- void() StartFrame;
- void() PlayerPreThink;
- void() PlayerPostThink;
- void() ClientKill;
- void() ClientConnect;
- void() PutClientInServer;
- void() ClientDisconnect;
- void() SetNewParms;
- void() SetChangeParms;