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