DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
progdefs.h
Go to the documentation of this file.
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
#define PROGHEADER_CRC_TENEBRAE 32401
168
169
#endif
170
func_t
unsigned int func_t
Definition
pr_comp.h:26
string_t
int string_t
Definition
pr_comp.h:27
vec3_t
vec_t vec3_t[3]
Definition
qtypes.h:71
entvars_t
Definition
progdefs.h:86
entvars_t::modelindex
float modelindex
Definition
progdefs.h:87
entvars_t::button0
float button0
Definition
progdefs.h:128
entvars_t::button2
float button2
Definition
progdefs.h:130
entvars_t::blocked
func_t blocked
Definition
progdefs.h:110
entvars_t::mins
vec3_t mins
Definition
progdefs.h:104
entvars_t::nextthink
float nextthink
Definition
progdefs.h:111
entvars_t::health
float health
Definition
progdefs.h:113
entvars_t::weapon
float weapon
Definition
progdefs.h:115
entvars_t::maxs
vec3_t maxs
Definition
progdefs.h:105
entvars_t::classname
string_t classname
Definition
progdefs.h:99
entvars_t::frame
float frame
Definition
progdefs.h:101
entvars_t::message
string_t message
Definition
progdefs.h:158
entvars_t::dmg_inflictor
int dmg_inflictor
Definition
progdefs.h:155
entvars_t::frags
float frags
Definition
progdefs.h:114
entvars_t::dmg_save
float dmg_save
Definition
progdefs.h:154
entvars_t::button1
float button1
Definition
progdefs.h:129
entvars_t::enemy
int enemy
Definition
progdefs.h:136
entvars_t::target
string_t target
Definition
progdefs.h:151
entvars_t::ammo_shells
float ammo_shells
Definition
progdefs.h:119
entvars_t::think
func_t think
Definition
progdefs.h:109
entvars_t::yaw_speed
float yaw_speed
Definition
progdefs.h:147
entvars_t::idealpitch
float idealpitch
Definition
progdefs.h:134
entvars_t::flags
float flags
Definition
progdefs.h:137
entvars_t::punchangle
vec3_t punchangle
Definition
progdefs.h:98
entvars_t::goalentity
int goalentity
Definition
progdefs.h:149
entvars_t::angles
vec3_t angles
Definition
progdefs.h:96
entvars_t::weaponframe
float weaponframe
Definition
progdefs.h:117
entvars_t::oldorigin
vec3_t oldorigin
Definition
progdefs.h:94
entvars_t::absmin
vec3_t absmin
Definition
progdefs.h:88
entvars_t::dmg_take
float dmg_take
Definition
progdefs.h:153
entvars_t::noise
string_t noise
Definition
progdefs.h:160
entvars_t::colormap
float colormap
Definition
progdefs.h:138
entvars_t::absmax
vec3_t absmax
Definition
progdefs.h:89
entvars_t::origin
vec3_t origin
Definition
progdefs.h:93
entvars_t::team
float team
Definition
progdefs.h:139
entvars_t::chain
int chain
Definition
progdefs.h:125
entvars_t::impulse
float impulse
Definition
progdefs.h:131
entvars_t::armortype
float armortype
Definition
progdefs.h:142
entvars_t::use
func_t use
Definition
progdefs.h:108
entvars_t::v_angle
vec3_t v_angle
Definition
progdefs.h:133
entvars_t::skin
float skin
Definition
progdefs.h:102
entvars_t::spawnflags
float spawnflags
Definition
progdefs.h:150
entvars_t::avelocity
vec3_t avelocity
Definition
progdefs.h:97
entvars_t::model
string_t model
Definition
progdefs.h:100
entvars_t::weaponmodel
string_t weaponmodel
Definition
progdefs.h:116
entvars_t::teleport_time
float teleport_time
Definition
progdefs.h:141
entvars_t::noise1
string_t noise1
Definition
progdefs.h:161
entvars_t::watertype
float watertype
Definition
progdefs.h:145
entvars_t::waterlevel
float waterlevel
Definition
progdefs.h:144
entvars_t::sounds
float sounds
Definition
progdefs.h:159
entvars_t::takedamage
float takedamage
Definition
progdefs.h:124
entvars_t::movedir
vec3_t movedir
Definition
progdefs.h:157
entvars_t::currentammo
float currentammo
Definition
progdefs.h:118
entvars_t::ammo_cells
float ammo_cells
Definition
progdefs.h:122
entvars_t::size
vec3_t size
Definition
progdefs.h:106
entvars_t::view_ofs
vec3_t view_ofs
Definition
progdefs.h:127
entvars_t::aiment
int aiment
Definition
progdefs.h:148
entvars_t::groundentity
int groundentity
Definition
progdefs.h:112
entvars_t::ideal_yaw
float ideal_yaw
Definition
progdefs.h:146
entvars_t::touch
func_t touch
Definition
progdefs.h:107
entvars_t::items
float items
Definition
progdefs.h:123
entvars_t::owner
int owner
Definition
progdefs.h:156
entvars_t::ltime
float ltime
Definition
progdefs.h:90
entvars_t::movetype
float movetype
Definition
progdefs.h:91
entvars_t::noise3
string_t noise3
Definition
progdefs.h:163
entvars_t::deadflag
float deadflag
Definition
progdefs.h:126
entvars_t::fixangle
float fixangle
Definition
progdefs.h:132
entvars_t::netname
string_t netname
Definition
progdefs.h:135
entvars_t::ammo_nails
float ammo_nails
Definition
progdefs.h:120
entvars_t::max_health
float max_health
Definition
progdefs.h:140
entvars_t::effects
float effects
Definition
progdefs.h:103
entvars_t::solid
float solid
Definition
progdefs.h:92
entvars_t::armorvalue
float armorvalue
Definition
progdefs.h:143
entvars_t::ammo_rockets
float ammo_rockets
Definition
progdefs.h:121
entvars_t::velocity
vec3_t velocity
Definition
progdefs.h:95
entvars_t::targetname
string_t targetname
Definition
progdefs.h:152
entvars_t::noise2
string_t noise2
Definition
progdefs.h:162
globalvars_t
Definition
progdefs.h:27
globalvars_t::total_secrets
float total_secrets
Definition
progdefs.h:40
globalvars_t::found_secrets
float found_secrets
Definition
progdefs.h:42
globalvars_t::trace_inopen
float trace_inopen
Definition
progdefs.h:70
globalvars_t::parm7
float parm7
Definition
progdefs.h:50
globalvars_t::other
int other
Definition
progdefs.h:30
globalvars_t::parm15
float parm15
Definition
progdefs.h:58
globalvars_t::frametime
float frametime
Definition
progdefs.h:33
globalvars_t::msg_entity
int msg_entity
Definition
progdefs.h:72
globalvars_t::parm9
float parm9
Definition
progdefs.h:52
globalvars_t::trace_endpos
vec3_t trace_endpos
Definition
progdefs.h:66
globalvars_t::parm5
float parm5
Definition
progdefs.h:48
globalvars_t::serverflags
float serverflags
Definition
progdefs.h:39
globalvars_t::ClientKill
func_t ClientKill
Definition
progdefs.h:77
globalvars_t::trace_inwater
float trace_inwater
Definition
progdefs.h:71
globalvars_t::SetChangeParms
func_t SetChangeParms
Definition
progdefs.h:82
globalvars_t::ClientDisconnect
func_t ClientDisconnect
Definition
progdefs.h:80
globalvars_t::total_monsters
float total_monsters
Definition
progdefs.h:41
globalvars_t::v_forward
vec3_t v_forward
Definition
progdefs.h:60
globalvars_t::deathmatch
float deathmatch
Definition
progdefs.h:36
globalvars_t::world
int world
Definition
progdefs.h:31
globalvars_t::time
float time
Definition
progdefs.h:32
globalvars_t::parm16
float parm16
Definition
progdefs.h:59
globalvars_t::StartFrame
func_t StartFrame
Definition
progdefs.h:74
globalvars_t::trace_fraction
float trace_fraction
Definition
progdefs.h:65
globalvars_t::main
func_t main
Definition
progdefs.h:73
globalvars_t::v_right
vec3_t v_right
Definition
progdefs.h:62
globalvars_t::parm14
float parm14
Definition
progdefs.h:57
globalvars_t::trace_allsolid
float trace_allsolid
Definition
progdefs.h:63
globalvars_t::parm3
float parm3
Definition
progdefs.h:46
globalvars_t::parm10
float parm10
Definition
progdefs.h:53
globalvars_t::trace_plane_dist
float trace_plane_dist
Definition
progdefs.h:68
globalvars_t::parm6
float parm6
Definition
progdefs.h:49
globalvars_t::self
int self
Definition
progdefs.h:29
globalvars_t::PlayerPostThink
func_t PlayerPostThink
Definition
progdefs.h:76
globalvars_t::parm2
float parm2
Definition
progdefs.h:45
globalvars_t::trace_ent
int trace_ent
Definition
progdefs.h:69
globalvars_t::parm8
float parm8
Definition
progdefs.h:51
globalvars_t::parm11
float parm11
Definition
progdefs.h:54
globalvars_t::trace_startsolid
float trace_startsolid
Definition
progdefs.h:64
globalvars_t::ClientConnect
func_t ClientConnect
Definition
progdefs.h:78
globalvars_t::parm4
float parm4
Definition
progdefs.h:47
globalvars_t::force_retouch
float force_retouch
Definition
progdefs.h:34
globalvars_t::parm12
float parm12
Definition
progdefs.h:55
globalvars_t::coop
float coop
Definition
progdefs.h:37
globalvars_t::parm1
float parm1
Definition
progdefs.h:44
globalvars_t::killed_monsters
float killed_monsters
Definition
progdefs.h:43
globalvars_t::SetNewParms
func_t SetNewParms
Definition
progdefs.h:81
globalvars_t::teamplay
float teamplay
Definition
progdefs.h:38
globalvars_t::PutClientInServer
func_t PutClientInServer
Definition
progdefs.h:79
globalvars_t::PlayerPreThink
func_t PlayerPreThink
Definition
progdefs.h:75
globalvars_t::v_up
vec3_t v_up
Definition
progdefs.h:61
globalvars_t::trace_plane_normal
vec3_t trace_plane_normal
Definition
progdefs.h:67
globalvars_t::mapname
string_t mapname
Definition
progdefs.h:35
globalvars_t::parm13
float parm13
Definition
progdefs.h:56
progdefs.h
Generated on Mon Mar 10 2025 16:50:16 for DarkPlaces by
1.12.0