Searched refs:healthbar_x_len_loss (Results 1 – 1 of 1) sorted by relevance
432 double healthbar_x_len_loss=0; in draw_actor_banner() local700 healthbar_x_len_loss=bar_x_len*(float)((float)actor_id->damage/(float)actor_id->max_health); in draw_actor_banner()704 healthbar_x_len_loss=bar_x_len*(float)((float)(-actor_id->damage)/(float)actor_id->max_health); in draw_actor_banner()730 if(healthbar_x_len_loss){ in draw_actor_banner()738 glVertex3d(hx + healthbar_x_len_converted + healthbar_x_len_loss, top_y, hz); in draw_actor_banner()742 glVertex3d(hx + healthbar_x_len_converted + healthbar_x_len_loss, bot_y, hz); in draw_actor_banner()