Client: Enable the damage notifications from Half-Life.

This commit is contained in:
Marco Cawthorne 2021-12-17 18:22:55 -08:00
parent 7635fb5277
commit 2a7ccf560f
Signed by: eukara
GPG key ID: C196CD8BA993248A
2 changed files with 3 additions and 0 deletions

View file

@ -54,6 +54,7 @@ HUD_Init(void)
precache_model("sprites/hudpulse.spr"); precache_model("sprites/hudpulse.spr");
precache_pic("gfx/vgui/640_metalhud_small.tga"); precache_pic("gfx/vgui/640_metalhud_small.tga");
precache_pic("gfx/vgui/640_metalhud.tga"); precache_pic("gfx/vgui/640_metalhud.tga");
HUD_DamageNotify_Init();
} }
/* /*
@ -283,6 +284,7 @@ HUD_Draw(void)
Textmenu_Draw(); Textmenu_Draw();
Obituary_Draw(); Obituary_Draw();
Damage_Draw(); Damage_Draw();
HUD_DamageNotify_Draw();
HUD_DrawHealth(); HUD_DrawHealth();
Weapons_DrawCrosshair(); Weapons_DrawCrosshair();
HUD_DrawWeaponSelect(); HUD_DrawWeaponSelect();

View file

@ -32,6 +32,7 @@ entities.qc
../../../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_dmgnotify.qc
hud.qc hud.qc
hud_weaponselect.qc hud_weaponselect.qc
../../../valve/src/client/scoreboard.qc ../../../valve/src/client/scoreboard.qc