1 2 /* file generated by qcc, do not modify */ 3 4 typedef struct 5 { int pad[28]; 6 int self; 7 int other; 8 int world; 9 float time; 10 float frametime; 11 float force_retouch; 12 string_t mapname; 13 float deathmatch; 14 float coop; 15 float teamplay; 16 float serverflags; 17 float total_secrets; 18 float total_monsters; 19 float found_secrets; 20 float killed_monsters; 21 float parm1; 22 float parm2; 23 float parm3; 24 float parm4; 25 float parm5; 26 float parm6; 27 float parm7; 28 float parm8; 29 float parm9; 30 float parm10; 31 float parm11; 32 float parm12; 33 float parm13; 34 float parm14; 35 float parm15; 36 float parm16; 37 vec3_t v_forward; 38 vec3_t v_up; 39 vec3_t v_right; 40 float trace_allsolid; 41 float trace_startsolid; 42 float trace_fraction; 43 vec3_t trace_endpos; 44 vec3_t trace_plane_normal; 45 float trace_plane_dist; 46 int trace_ent; 47 float trace_inopen; 48 float trace_inwater; 49 int msg_entity; 50 func_t main; 51 func_t StartFrame; 52 func_t PlayerPreThink; 53 func_t PlayerPostThink; 54 func_t ClientKill; 55 func_t ClientConnect; 56 func_t PutClientInServer; 57 func_t ClientDisconnect; 58 func_t SetNewParms; 59 func_t SetChangeParms; 60 } globalvars_t; 61 62 typedef struct 63 { 64 float modelindex; 65 vec3_t absmin; 66 vec3_t absmax; 67 float ltime; 68 float movetype; 69 float solid; 70 vec3_t origin; 71 vec3_t oldorigin; 72 vec3_t velocity; 73 vec3_t angles; 74 vec3_t avelocity; 75 vec3_t punchangle; 76 string_t classname; 77 string_t model; 78 float frame; 79 float skin; 80 float effects; 81 vec3_t mins; 82 vec3_t maxs; 83 vec3_t size; 84 func_t touch; 85 func_t use; 86 func_t think; 87 func_t blocked; 88 float nextthink; 89 int groundentity; 90 float health; 91 float frags; 92 float weapon; 93 string_t weaponmodel; 94 float weaponframe; 95 float currentammo; 96 float ammo_shells; 97 float ammo_nails; 98 float ammo_rockets; 99 float ammo_cells; 100 float items; 101 float takedamage; 102 int chain; 103 float deadflag; 104 vec3_t view_ofs; 105 float button0; 106 float button1; 107 float button2; 108 float impulse; 109 float fixangle; 110 vec3_t v_angle; 111 float idealpitch; 112 string_t netname; 113 int enemy; 114 float flags; 115 float colormap; 116 float team; 117 float max_health; 118 float teleport_time; 119 float armortype; 120 float armorvalue; 121 float waterlevel; 122 float watertype; 123 float ideal_yaw; 124 float yaw_speed; 125 int aiment; 126 int goalentity; 127 float spawnflags; 128 string_t target; 129 string_t targetname; 130 float dmg_take; 131 float dmg_save; 132 int dmg_inflictor; 133 int owner; 134 vec3_t movedir; 135 string_t message; 136 float sounds; 137 string_t noise; 138 string_t noise1; 139 string_t noise2; 140 string_t noise3; 141 } entvars_t; 142 143 #define PROGHEADER_CRC 5927 144