#pragma once
#include "../panel.qh"

bool autocvar_hud_panel_timer;
bool autocvar_hud_panel_timer_dynamichud = true;
bool autocvar_hud_panel_timer_increment;
int autocvar_hud_panel_timer_secondary = 1;
bool autocvar_hud_panel_timer_unbound;
int autocvar_hud_panel_timer_warning_relative = 0;
float autocvar_hud_panel_timer_warning_relative_red = 1.2;
float autocvar_hud_panel_timer_warning_relative_yellow = 3;
float autocvar_hud_panel_timer_warning_red = 60;
float autocvar_hud_panel_timer_warning_yellow = 300;

vector HUD_Timer_Color(float timeleft, float timelimit);
float HUD_Timer_TimeElapsed(float curtime, float starttime);
float HUD_Timer_TimeLeft(float curtime, float starttime, float timelimit);
