]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/server/t_halflife.qc
change all spawn functions to use the spawnfunc_ prefix; sync dpextensions
[divverent/nexuiz.git] / data / qcsrc / server / t_halflife.qc
1
2 .float  roomtype;
3 .float  radius;
4 .float  pitch;
5 .float  renderamt;
6 .float  rendermode;
7 .vector rendercolor;
8
9 void() spawnfunc_weapon_crossbow = {};
10 void() spawnfunc_weapon_handgrenade = {};
11 void() spawnfunc_ammo_crossbow = {};
12 void() spawnfunc_ammo_9mmclip = {};
13 void() spawnfunc_ammo_gaussclip = {};
14 void() spawnfunc_weapon_rpg = {};
15 void() spawnfunc_weapon_357 = {};
16 void() ammo_ARgrenades = {};
17 void() spawnfunc_item_battery = {};
18 void() spawnfunc_ammo_rpgclip = {};
19 void() weapon_9mmAR = {};
20 void() spawnfunc_weapon_tripmine = {};
21 void() spawnfunc_weapon_snark = {};
22 void() spawnfunc_ammo_buckshot = {};
23 void() ammo_9mmAR = {};
24 void() spawnfunc_ammo_357 = {};
25 void() spawnfunc_weapon_gauss = {};
26 void() spawnfunc_weapon_hornetgun = {};
27 //void() spawnfunc_weapon_shotgun = {};
28 void() spawnfunc_item_healthkit = {};
29 void() spawnfunc_item_longjump = {};
30 void() spawnfunc_item_antidote = {};
31 void() spawnfunc_func_recharge = {};
32 void() spawnfunc_info_node = {};
33 void() spawnfunc_env_sound = {};
34 void() spawnfunc_light_spot = {};
35 void() spawnfunc_func_healthcharger = {};
36
37
38 void() func_ladder_touch =
39 {
40         if (other.classname != "player")
41                 return;
42         other.ladder_time = time + 0.1;
43         other.ladder_entity = self;
44 };
45
46 void() spawnfunc_func_ladder =
47 {
48         InitTrigger ();
49         self.touch = func_ladder_touch;
50 };
51
52 void() spawnfunc_func_water =
53 {
54         self.solid = SOLID_TRIGGER;
55         setmodel (self, self.model);    // set size and link into world, precision set by mapper
56         self.touch = func_ladder_touch;
57 };
58