From 10cf928d1525b69b87b288054abd3dd7b046e8b6 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 18 Jul 2001 16:55:57 +0000 Subject: [PATCH] makefile: qwprogs.dat moved generate debug info clean it up, too options: move qwprogs.dat from .. to . nuke generated files --- files.dat | 3 -- makefile | 6 +-- options.qc | 2 +- progdefs.h | 140 ----------------------------------------------------- 4 files changed, 4 insertions(+), 147 deletions(-) delete mode 100644 files.dat delete mode 100644 progdefs.h diff --git a/files.dat b/files.dat deleted file mode 100644 index bb0b1cf..0000000 --- a/files.dat +++ /dev/null @@ -1,3 +0,0 @@ -0 -0 -0 diff --git a/makefile b/makefile index 85444da..d133a20 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -../qwprogs.dat: preprogs.src *.qc - qfpreqcc --warn=error +qwprogs.dat: preprogs.src *.qc + qfpreqcc --warn=error --debug clean: - rm -f core *.dat progdefs.h + rm -f core *.dat *.sym progdefs.h diff --git a/options.qc b/options.qc index 77e4e30..cd4384e 100644 --- a/options.qc +++ b/options.qc @@ -15,7 +15,7 @@ Defines for the compilable options within TF. #define QUAKE_WORLD #ifdef QUAKE_WORLD - #pragma PROGS_DAT "../qwprogs.dat" + #pragma PROGS_DAT "qwprogs.dat" #undef COOP_MODE #define NET_SERVER diff --git a/progdefs.h b/progdefs.h deleted file mode 100644 index 07087fd..0000000 --- a/progdefs.h +++ /dev/null @@ -1,140 +0,0 @@ - -/* file generated by qcc, do not modify */ - -typedef struct -{ int pad[28]; - int self; - int other; - int world; - float time; - float frametime; - int newmis; - float force_retouch; - string_t mapname; - 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; - vec3_t v_forward; - vec3_t v_up; - vec3_t v_right; - float trace_allsolid; - float trace_startsolid; - float trace_fraction; - vec3_t trace_endpos; - vec3_t trace_plane_normal; - float trace_plane_dist; - int trace_ent; - float trace_inopen; - float trace_inwater; - int msg_entity; - func_t main; - func_t StartFrame; - func_t PlayerPreThink; - func_t PlayerPostThink; - func_t ClientKill; - func_t ClientConnect; - func_t PutClientInServer; - func_t ClientDisconnect; - func_t SetNewParms; - func_t SetChangeParms; -} globalvars_t; - -typedef struct -{ - float modelindex; - vec3_t absmin; - vec3_t absmax; - float ltime; - float lastruntime; - float movetype; - float solid; - vec3_t origin; - vec3_t oldorigin; - vec3_t velocity; - vec3_t angles; - vec3_t avelocity; - string_t classname; - string_t model; - float frame; - float skin; - float effects; - vec3_t mins; - vec3_t maxs; - vec3_t size; - func_t touch; - func_t use; - func_t think; - func_t blocked; - float nextthink; - int groundentity; - float health; - float frags; - float weapon; - string_t weaponmodel; - float weaponframe; - float currentammo; - float ammo_shells; - float ammo_nails; - float ammo_rockets; - float ammo_cells; - float items; - float takedamage; - int chain; - float deadflag; - vec3_t view_ofs; - float button0; - float button1; - float button2; - float impulse; - float fixangle; - vec3_t v_angle; - string_t netname; - int 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; - int aiment; - int goalentity; - float spawnflags; - string_t target; - string_t targetname; - float dmg_take; - float dmg_save; - int dmg_inflictor; - int owner; - vec3_t movedir; - string_t message; - float sounds; - string_t noise; - string_t noise1; - string_t noise2; - string_t noise3; -} entvars_t; - -#define PROGHEADER_CRC 54730