Home
last modified time | relevance | path

Searched refs:ms_till_fire (Results 1 – 5 of 5) sorted by relevance

/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/hud/
H A Dhudtarget.cpp6151 int ms_till_fire = timestamp_until(sw->next_secondary_fire_stamp[sw->current_secondary_bank]); in render() local
6152 … if ( (ms_till_fire >= 500) && ((wip->fire_wait >= 1 ) || (ms_till_fire > wip->fire_wait*1000)) ) { in render()
6153 …ition[0] + Weapon_sreload_offset_x, name_y, EG_NULL, "%d", (int)std::lround(ms_till_fire/1000.0f)); in render()
7060 int ms_till_fire = timestamp_until(sw->next_secondary_fire_stamp[sw->current_secondary_bank]); in render() local
7061 … if ( (ms_till_fire >= 500) && ((wip->fire_wait >= 1 ) || (ms_till_fire > wip->fire_wait*1000)) ) { in render()
7062 …load_offset_x, position[1] + text_y_offset, EG_NULL, "%d", (int)std::lround(ms_till_fire/1000.0f)); in render()
H A Dhud.cpp1348 int ms_till_fire = timestamp_until(swp->next_secondary_fire_stamp[i]); in hud_maybe_popup_weapons_gauge() local
1349 if ( ms_till_fire >= 1000 ) { in hud_maybe_popup_weapons_gauge()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/
H A Dhudtarget.cpp6109 int ms_till_fire = timestamp_until(sw->next_secondary_fire_stamp[sw->current_secondary_bank]); in render() local
6110 … if ( (ms_till_fire >= 500) && ((wip->fire_wait >= 1 ) || (ms_till_fire > wip->fire_wait*1000)) ) { in render()
6111 …renderPrintf(position[0] + Weapon_sreload_offset_x, name_y, EG_NULL, "%d", fl2i(ms_till_fire/1000.… in render()
7016 int ms_till_fire = timestamp_until(sw->next_secondary_fire_stamp[sw->current_secondary_bank]); in render() local
7017 … if ( (ms_till_fire >= 500) && ((wip->fire_wait >= 1 ) || (ms_till_fire > wip->fire_wait*1000)) ) { in render()
7018 …+ _sreload_offset_x, position[1] + text_y_offset, EG_NULL, "%d", fl2i(ms_till_fire/1000.0f +0.5f))… in render()
H A Dhud.cpp1370 int ms_till_fire = timestamp_until(swp->next_secondary_fire_stamp[i]); in hud_maybe_popup_weapons_gauge() local
1371 if ( ms_till_fire >= 1000 ) { in hud_maybe_popup_weapons_gauge()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/patches/
H A Dcolonial_hud.patch3142 + int ms_till_fire = timestamp_until(sw->next_secondary_fire_stamp[sw->current_secondary_bank]);
3143 + if ( (ms_till_fire >= 500) && ((wip->fire_wait >= 1 ) || (ms_till_fire > wip->fire_wait*1000))…
3144 …+ _sreload_offset_x, position[1] + text_y_offset, EG_NULL, "%d", fl2i(ms_till_fire/1000.0f +0.5f))…