1 /* 2 Copyright (C) 1996-1997 Id Software, Inc. 3 4 This program is free software; you can redistribute it and/or 5 modify it under the terms of the GNU General Public License 6 as published by the Free Software Foundation; either version 2 7 of the License, or (at your option) any later version. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 13 See the GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 19 */ 20 21 /* file generated by qcc, do not modify */ 22 23 typedef struct 24 { int pad[28]; 25 int self; 26 int other; 27 int world; 28 float time; 29 float frametime; 30 int newmis; 31 float force_retouch; 32 string_t mapname; 33 float serverflags; 34 float total_secrets; 35 float total_monsters; 36 float found_secrets; 37 float killed_monsters; 38 float parm1; 39 float parm2; 40 float parm3; 41 float parm4; 42 float parm5; 43 float parm6; 44 float parm7; 45 float parm8; 46 float parm9; 47 float parm10; 48 float parm11; 49 float parm12; 50 float parm13; 51 float parm14; 52 float parm15; 53 float parm16; 54 vec3_t v_forward; 55 vec3_t v_up; 56 vec3_t v_right; 57 float trace_allsolid; 58 float trace_startsolid; 59 float trace_fraction; 60 vec3_t trace_endpos; 61 vec3_t trace_plane_normal; 62 float trace_plane_dist; 63 int trace_ent; 64 float trace_inopen; 65 float trace_inwater; 66 int msg_entity; 67 func_t main; 68 func_t StartFrame; 69 func_t PlayerPreThink; 70 func_t PlayerPostThink; 71 func_t ClientKill; 72 func_t ClientConnect; 73 func_t PutClientInServer; 74 func_t ClientDisconnect; 75 func_t SetNewParms; 76 func_t SetChangeParms; 77 } globalvars_t; 78 79 typedef struct 80 { 81 float modelindex; 82 vec3_t absmin; 83 vec3_t absmax; 84 float ltime; 85 float lastruntime; 86 float movetype; 87 float solid; 88 vec3_t origin; 89 vec3_t oldorigin; 90 vec3_t velocity; 91 vec3_t angles; 92 vec3_t avelocity; 93 string_t classname; 94 string_t model; 95 float frame; 96 float skin; 97 float effects; 98 vec3_t mins; 99 vec3_t maxs; 100 vec3_t size; 101 func_t touch; 102 func_t use; 103 func_t think; 104 func_t blocked; 105 float nextthink; 106 int groundentity; 107 float health; 108 float frags; 109 float weapon; 110 string_t weaponmodel; 111 float weaponframe; 112 float currentammo; 113 float ammo_shells; 114 float ammo_nails; 115 float ammo_rockets; 116 float ammo_cells; 117 float items; 118 float takedamage; 119 int chain; 120 float deadflag; 121 vec3_t view_ofs; 122 float button0; 123 float button1; 124 float button2; 125 float impulse; 126 float fixangle; 127 vec3_t v_angle; 128 string_t netname; 129 int enemy; 130 float flags; 131 float colormap; 132 float team; 133 float max_health; 134 float teleport_time; 135 float armortype; 136 float armorvalue; 137 float waterlevel; 138 float watertype; 139 float ideal_yaw; 140 float yaw_speed; 141 int aiment; 142 int goalentity; 143 float spawnflags; 144 string_t target; 145 string_t targetname; 146 float dmg_take; 147 float dmg_save; 148 int dmg_inflictor; 149 int owner; 150 vec3_t movedir; 151 string_t message; 152 float sounds; 153 string_t noise; 154 string_t noise1; 155 string_t noise2; 156 string_t noise3; 157 } entvars_t; 158 159 #define PROGHEADER_CRC 54730 160