]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/gamec/t_quake.c
add g_navnodeedit
[divverent/nexuiz.git] / data / qcsrc / gamec / t_quake.c
1 //***********************
2 //QUAKE 1 ENTITIES - So people can play quake1 maps with the nexuiz weapons
3 //***********************
4 void weapon_nailgun (void) {weapon_electro();}
5 void weapon_supernailgun (void) {weapon_hagar();}
6 void weapon_supershotgun (void) {weapon_uzi();}
7
8 void item_spikes (void) {item_bullets();}
9 void item_armor2 (void) {item_armor25();}
10 void item_armorInv (void) {item_armor25();}
11 void item_health (void) {if (self.spawnflags & 2) item_health100();else item_health25();}
12
13 //item_spikes
14 //item_health
15
16
17
18 // garbage function to reduce warnings in compiling about unused variables
19 void junk_function ()
20 {
21         self.exteriormodeltoclient = world;
22         self.glow_trail = 0;
23         self.tag_entity = world;
24         self.button6 = 0;
25         self.button7 = 0;
26         self.button8 = 0;
27         self.pitch_speed = 0;
28         self.drawonlytoclient = world;
29         self.nodrawtoclient = world;
30         self.cursor_active = 0;
31         self.cursor_screen = '0 0 0';
32         self.cursor_trace_start = '0 0 0';
33         self.ping = 0;
34         self.roomtype = 0;
35         self.radius = 0;
36         self.pitch = 0;
37         self.renderamt = 0;
38         self.rendermode = 0;
39         self.rendercolor = '0 0 0';
40         self.light_lev = 0;
41         self.color = '0 0 0';
42         self.style = 0;
43         bprint(ftos(sv_maxairspeed), "\n");
44 }
45