Compare commits

...

3 Commits

5 changed files with 8 additions and 10 deletions

View File

@ -572,12 +572,6 @@ HUD_Draw(void)
Damage_Draw(); Damage_Draw();
} }
string g_specmodes[] = {
"Free Camera",
"Third Person",
"First Person"
};
/* specatator main entry */ /* specatator main entry */
void void
HUD_DrawSpectator(void) HUD_DrawSpectator(void)

View File

@ -17,7 +17,7 @@
class HLGameRules:NSGameRules class HLGameRules:NSGameRules
{ {
virtual void DamageApply(entity, entity, float, int, damageType_t); virtual void DamageApply(entity, entity, float, int, damageType_t);
virtual void DamageRadius(vector, entity, float, float, int, int); virtual void DamageRadius(vector, entity, float, float, bool, int);
virtual void PlayerConnect(NSClientPlayer); virtual void PlayerConnect(NSClientPlayer);
virtual void PlayerDisconnect(NSClientPlayer); virtual void PlayerDisconnect(NSClientPlayer);
virtual void PlayerKill(NSClientPlayer); virtual void PlayerKill(NSClientPlayer);

View File

@ -56,7 +56,7 @@ HLGameRules::DamageApply(entity t, entity c, float dmg, int w, damageType_t type
} }
void void
HLGameRules::DamageRadius(vector org, entity attacker, float dmg, float r, int check, int w) HLGameRules::DamageRadius(vector org, entity attacker, float dmg, float r, bool check, int w)
{ {
float new_dmg; float new_dmg;
float dist; float dist;

View File

@ -86,6 +86,10 @@ void
item_backpack::item_backpack(void) item_backpack::item_backpack(void)
{ {
botinfo = BOTINFO_AMMO; botinfo = BOTINFO_AMMO;
ammo_shells = 0;
ammo_nails = 0;
ammo_rockets = 0;
ammo_cells = 0;
} }
void void

View File

@ -198,7 +198,7 @@ w_grapple_hudpic(player pl, int selected, vector pos, float a)
drawsubpic( drawsubpic(
pos, pos,
[170,45], [170,45],
g_hudcb_spr, "sprites/hud10.png",
[0,0], [0,0],
[1,0.625], [1,0.625],
g_hud_color, g_hud_color,
@ -209,7 +209,7 @@ w_grapple_hudpic(player pl, int selected, vector pos, float a)
drawsubpic( drawsubpic(
pos, pos,
[170,45], [170,45],
g_hudcb_spr, "sprites/hud10.png",
[0,0], [0,0],
[1,0.625], [1,0.625],
g_hud_color, g_hud_color,