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