Searched refs:NUM_AMMO_SEGS (Results 1 – 1 of 1) sorted by relevance
128 #define NUM_AMMO_SEGS (21) macro1209 temp = (ammo * NUM_AMMO_SEGS) / max_ammo; in DrawAmmo()1314 DrawLedStrip(::is_ps() ? 243 : 234, 155, gamestate.ammo_leds, NUM_AMMO_SEGS); in DrawAmmoGuage()1322 temp = ((int32_t)gamestate.rpower * NUM_AMMO_SEGS) / MAX_RADAR_ENERGY; in UpdateRadarGuage()1324 if (temp > NUM_AMMO_SEGS) { in UpdateRadarGuage()1325 temp = NUM_AMMO_SEGS; in UpdateRadarGuage()1352 DrawLedStrip(235, 155, gamestate.radar_leds, NUM_AMMO_SEGS); in DrawRadarGuage()1392 for (; ypos < NUM_AMMO_SEGS; ypos++) { in DrawLedStrip()