commit 3c984f4184aed3cce802049b0c2b0b4e57b18d66 Author: Marco Cawthorne Date: Fri Nov 11 14:41:50 2022 -0800 Initial commit of stub files. diff --git a/src/defs.qh b/src/defs.qh new file mode 100644 index 0000000..77949e7 --- /dev/null +++ b/src/defs.qh @@ -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; + diff --git a/src/entry.qc b/src/entry.qc new file mode 100644 index 0000000..5fba308 --- /dev/null +++ b/src/entry.qc @@ -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 +{ +} \ No newline at end of file diff --git a/src/progs.src b/src/progs.src new file mode 100644 index 0000000..03ab1c0 --- /dev/null +++ b/src/progs.src @@ -0,0 +1,7 @@ +#pragma target standard +#pragma progs_dat "../progs.dat" + +#includelist +defs.qh +entry.qc +#endlist \ No newline at end of file