]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/server/t_quake.qc
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3661 f962a42d-fe04-0410-a3ab-8c8b0445ebaa
[divverent/nexuiz.git] / data / qcsrc / server / t_quake.qc
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_armor1 (void) {item_armor_medium;}  // FIXME: in Quake this is green armor, in Nexuiz maps it is an armor shard
10 void item_armor2 (void) {item_armor_large();}
11 void item_armorInv (void) {item_armor_large();}
12 void item_health (void) {if (self.spawnflags & 2) item_health_mega();else item_health_medium();}
13
14 //item_spikes
15 //item_health
16
17
18
19 // garbage function to reduce warnings in compiling about unused variables
20 void junk_function ()
21 {
22         self.exteriormodeltoclient = world;
23         self.glow_trail = 0;
24         self.tag_entity = world;
25         self.button6 = 0;
26         self.button7 = 0;
27         self.button8 = 0;
28         self.pitch_speed = 0;
29         self.drawonlytoclient = world;
30         self.nodrawtoclient = world;
31         self.cursor_active = 0;
32         self.cursor_screen = '0 0 0';
33         self.cursor_trace_start = '0 0 0';
34         self.cursor_trace_endpos = '0 0 0';
35         self.ping = 0;
36         self.roomtype = 0;
37         self.radius = 0;
38         self.pitch = 0;
39         self.renderamt = 0;
40         self.rendermode = 0;
41         self.rendercolor = '0 0 0';
42         self.light_lev = 0;
43         self.color = '0 0 0';
44         self.style = 0;
45         self.jumppadsused = world;
46         self.disableclientprediction = 0;
47         self.contentstransition = SUB_Null;
48         self.dphitcontentsmask = 0;
49         self.modelflags = 0;
50         self.attack_finished_for = 0; // why is this even valid? Spiiiiiiiiiiiiiiiiiiiiike!
51         self.notsingle = 0;
52         trace_dphittexturename = "";
53 }
54