]> icculus.org git repositories - divverent/darkplaces.git/blob - progdefs.h
massive speedups (removed a few 256k memsets)
[divverent/darkplaces.git] / progdefs.h
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 {
25         int     pad[28];
26         int     self;
27         int     other;
28         int     world;
29         float   time;
30         float   frametime;
31         float   force_retouch;
32         string_t        mapname;
33         float   deathmatch;
34         float   coop;
35         float   teamplay;
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   movetype;
89         float   solid;
90         vec3_t  origin;
91         vec3_t  oldorigin;
92         vec3_t  velocity;
93         vec3_t  angles;
94         vec3_t  avelocity;
95         vec3_t  punchangle;
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         float   idealpitch;
132         string_t        netname;
133         int     enemy;
134         float   flags;
135         float   colormap;
136         float   team;
137         float   max_health;
138         float   teleport_time;
139         float   armortype;
140         float   armorvalue;
141         float   waterlevel;
142         float   watertype;
143         float   ideal_yaw;
144         float   yaw_speed;
145         int     aiment;
146         int     goalentity;
147         float   spawnflags;
148         string_t        target;
149         string_t        targetname;
150         float   dmg_take;
151         float   dmg_save;
152         int     dmg_inflictor;
153         int     owner;
154         vec3_t  movedir;
155         string_t        message;
156         float   sounds;
157         string_t        noise;
158         string_t        noise1;
159         string_t        noise2;
160         string_t        noise3;
161 } entvars_t;
162
163 #define PROGHEADER_CRC 5927