]> icculus.org git repositories - divverent/nexuiz.git/blob - TeamNexuiz/game/gamec/t_halflife.c
now menu qc respects g_campaign_name
[divverent/nexuiz.git] / TeamNexuiz / game / gamec / t_halflife.c
1 \r
2 .float  roomtype;\r
3 .float  radius;\r
4 .float  pitch;\r
5 .float  renderamt;\r
6 .float  rendermode;\r
7 .vector rendercolor;\r
8 \r
9 void() weapon_crossbow = {};\r
10 void() weapon_handgrenade = {};\r
11 void() ammo_crossbow = {};\r
12 void() ammo_9mmclip = {};\r
13 void() ammo_gaussclip = {};\r
14 void() weapon_rpg = {};\r
15 void() weapon_357 = {};\r
16 void() ammo_ARgrenades = {};\r
17 void() item_battery = {};\r
18 void() ammo_rpgclip = {};\r
19 void() weapon_9mmAR = {};\r
20 void() weapon_tripmine = {};\r
21 void() weapon_snark = {};\r
22 void() ammo_buckshot = {};\r
23 void() ammo_9mmAR = {};\r
24 void() ammo_357 = {};\r
25 void() weapon_gauss = {};\r
26 void() weapon_hornetgun = {};\r
27 //void() weapon_shotgun = {};\r
28 void() item_healthkit = {};\r
29 void() item_longjump = {};\r
30 void() item_antidote = {};\r
31 void() func_recharge = {};\r
32 void() info_node = {};\r
33 void() env_sound = {};\r
34 void() light_spot = {};\r
35 void() func_healthcharger = {};\r
36 \r
37 \r
38 void() func_ladder_touch =\r
39 {\r
40         if (other.classname != "player")\r
41                 return;\r
42         other.ladder_time = time + 0.1;\r
43         other.ladder_entity = self;\r
44 };\r
45 \r
46 void() func_ladder =\r
47 {\r
48         InitTrigger ();\r
49         self.touch = func_ladder_touch;\r
50 };\r
51 \r
52 void() func_water =\r
53 {\r
54         self.solid = SOLID_TRIGGER;\r
55         setmodel (self, self.model);    // set size and link into world\r
56         self.touch = func_ladder_touch;\r
57 };\r
58 \r