mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-08 03:28:03 +03:00
Refactor health.cpp
This commit is contained in:
parent
be1ee111bf
commit
a3b1403433
11 changed files with 182 additions and 186 deletions
|
@ -2265,10 +2265,9 @@ namespace TEN::Renderer
|
|||
|
||||
// Bars
|
||||
int flash = FlashIt();
|
||||
if (DashTimer < 120)
|
||||
drawBar(DashTimer / 120.0f, g_DashBar,ID_DASH_BAR_TEXTURE,0,0);
|
||||
UpdateHealthBar(flash);
|
||||
UpdateAirBar(flash);
|
||||
UpdateSprintBar();
|
||||
UpdateHealthBar(LaraItem, flash);
|
||||
UpdateAirBar(LaraItem, flash);
|
||||
DrawAllPickups();
|
||||
|
||||
drawOverlays(view); // Draw binoculars or lasersight
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue