Initial commit of stub files.

This commit is contained in:
Marco Cawthorne 2022-11-11 14:41:50 -08:00
commit 3c984f4184
Signed by: eukara
GPG key ID: CE2032F0A2882A22
3 changed files with 173 additions and 0 deletions

115
src/defs.qh Normal file
View file

@ -0,0 +1,115 @@
entity self;
entity other;
entity world;
float time;
float frametime;
float force_retouch;
string mapname;
float deathmatch;
float coop;
float teamplay;
float serverflags;
float total_secrets;
float total_monsters;
float found_secrets;
float killed_monsters;
float parm1, parm2, parm3, parm4, parm5, parm6, parm7, parm8, parm9, parm10, parm11, parm12, parm13, parm14, parm15, parm16;
vector v_forward, v_up, 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;
void() main;
void() StartFrame;
void() PlayerPreThink;
void() PlayerPostThink;
void() ClientKill;
void() ClientConnect;
void() PutClientInServer;
void() ClientDisconnect;
void() SetNewParms;
void() SetChangeParms;
void end_sys_globals;
.float modelindex;
.vector absmin, absmax;
.float ltime;
.float movetype;
.float solid;
.vector origin;
.vector oldorigin;
.vector velocity;
.vector angles;
.vector avelocity;
.vector punchangle;
.string classname;
.string model;
.float frame;
.float skin;
.float effects;
.vector mins, maxs;
.vector size;
.void() touch;
.void() use;
.void() think;
.void() blocked;
.float nextthink;
.entity groundentity;
.float health;
.float frags;
.float weapon;
.string weaponmodel;
.float weaponframe;
.float currentammo;
.float ammo_shells, ammo_nails, ammo_rockets, ammo_cells;
.float items;
.float takedamage;
.entity chain;
.float deadflag;
.vector view_ofs;
.float button0;
.float button1;
.float button2;
.float impulse;
.float fixangle;
.vector v_angle;
.float idealpitch;
.string netname;
.entity enemy;
.float flags;
.float colormap;
.float team;
.float max_health;
.float teleport_time;
.float armortype;
.float armorvalue;
.float waterlevel;
.float watertype;
.float ideal_yaw;
.float yaw_speed;
.entity aiment;
.entity goalentity;
.float spawnflags;
.string target;
.string targetname;
.float dmg_take;
.float dmg_save;
.entity dmg_inflictor;
.entity owner;
.vector movedir;
.string message;
.float sounds;
.string noise, noise1, noise2, noise3;
void end_sys_fields;

51
src/entry.qc Normal file
View file

@ -0,0 +1,51 @@
/* all vanilla SSQC entry functions live here */
/** Engine callback: Unused */
void() main
{
}
/** Engine callback: Called every frame */
void() StartFrame
{
}
/** Engine callback: Called on every client entity before physics are run */
void() PlayerPreThink
{
}
/** Engine callback: Caled on every client entity after physics are run */
void() PlayerPostThink
{
}
/** Engine callback: Called when a client issues the 'kill' console command */
void() ClientKill
{
}
/** Engine callback: Called on every client when it first connects to the server. */
void() ClientConnect
{
}
/** Engine callback: Called on every client when they've fully connected to the server. */
void() PutClientInServer
{
}
/** Engine callback: Called on every client when they're disconnecting from the server. */
void() ClientDisconnect
{
}
/** Engine callback: Called at the start of every new game. */
void() SetNewParms
{
}
/** Engine callback: Called at the start of every map change. */
void() SetChangeParms
{
}

7
src/progs.src Normal file
View file

@ -0,0 +1,7 @@
#pragma target standard
#pragma progs_dat "../progs.dat"
#includelist
defs.qh
entry.qc
#endlist