Client: Include ammo notify routines.
Add mirror shader for endlessrain.
This commit is contained in:
parent
bdbdcc6c68
commit
b1d47ca4f3
3 changed files with 15 additions and 1 deletions
|
@ -31,6 +31,7 @@
|
||||||
../../../valve/src/client/viewmodel.qc
|
../../../valve/src/client/viewmodel.qc
|
||||||
../../../valve/src/client/view.qc
|
../../../valve/src/client/view.qc
|
||||||
../../../valve/src/client/obituary.qc
|
../../../valve/src/client/obituary.qc
|
||||||
|
../../../valve/src/client/hud_ammonotify.qc
|
||||||
../../../valve/src/client/hud.qc
|
../../../valve/src/client/hud.qc
|
||||||
../../../valve/src/client/hud_weaponselect.qc
|
../../../valve/src/client/hud_weaponselect.qc
|
||||||
../../../valve/src/client/scoreboard.qc
|
../../../valve/src/client/scoreboard.qc
|
||||||
|
|
|
@ -107,6 +107,7 @@ class player:base_player
|
||||||
|
|
||||||
#ifdef CLIENT
|
#ifdef CLIENT
|
||||||
void Weapons_AmmoUpdate(entity);
|
void Weapons_AmmoUpdate(entity);
|
||||||
|
void HUD_AmmoNotify_Check(player);
|
||||||
/*
|
/*
|
||||||
=================
|
=================
|
||||||
player::ReceiveEntity
|
player::ReceiveEntity
|
||||||
|
@ -165,8 +166,10 @@ player::ReceiveEntity(float new, float fl)
|
||||||
ammo_hammer_state = readbyte();
|
ammo_hammer_state = readbyte();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fl & PLAYER_AMMO1 || fl & PLAYER_AMMO2 || fl & PLAYER_AMMO3)
|
if (fl & PLAYER_AMMO1 || fl & PLAYER_AMMO2 || fl & PLAYER_AMMO3) {
|
||||||
Weapons_AmmoUpdate(this);
|
Weapons_AmmoUpdate(this);
|
||||||
|
HUD_AmmoNotify_Check(this);
|
||||||
|
}
|
||||||
|
|
||||||
setorigin(this, origin);
|
setorigin(this, origin);
|
||||||
}
|
}
|
||||||
|
|
10
zpak001.pk3dir/scripts/endlrain.shader
Normal file
10
zpak001.pk3dir/scripts/endlrain.shader
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
streetglass
|
||||||
|
{
|
||||||
|
portal
|
||||||
|
{
|
||||||
|
map glass_dark
|
||||||
|
blendFunc add
|
||||||
|
tcMod scale -4.5 1.0
|
||||||
|
depthWrite
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue