Home
last modified time | relevance | path

Searched refs:Weapon_flash_info (Results 1 – 3 of 3) sorted by relevance

/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/hud/
H A Dhudtarget.cpp436 weapon_flash Weapon_flash_info; variable
1000 Weapon_flash_info.is_bright = 0; in hud_weapons_init()
1002 Weapon_flash_info.flash_duration[i] = 1; in hud_weapons_init()
1003 Weapon_flash_info.flash_next[i] = 1; in hud_weapons_init()
4533 Weapon_flash_info.is_bright &= ~(1<<index); in hud_start_flash_weapon()
4552 Weapon_flash_info.is_bright ^= (1<<index); in hud_maybe_flash_weapon()
4555 if ( Weapon_flash_info.is_bright & (1<<index) ) { in hud_maybe_flash_weapon()
5783 if ( Weapon_flash_info.is_bright & (1<<i) ) in render()
6204 Weapon_flash_info.is_bright ^= (1<<i); in hud_update_weapon_flash()
6220 if ( Weapon_flash_info.is_bright & (1<<index) ) { in maybeFlashWeapon()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/
H A Dhudtarget.cpp439 weapon_flash Weapon_flash_info; variable
1003 Weapon_flash_info.is_bright = 0; in hud_weapons_init()
1005 Weapon_flash_info.flash_duration[i] = 1; in hud_weapons_init()
1006 Weapon_flash_info.flash_next[i] = 1; in hud_weapons_init()
4549 Weapon_flash_info.is_bright &= ~(1<<index); in hud_start_flash_weapon()
4568 Weapon_flash_info.is_bright ^= (1<<index); in hud_maybe_flash_weapon()
4571 if ( Weapon_flash_info.is_bright & (1<<index) ) { in hud_maybe_flash_weapon()
5751 if ( Weapon_flash_info.is_bright & (1<<i) ) in render()
6162 Weapon_flash_info.is_bright ^= (1<<i); in hud_update_weapon_flash()
6178 if ( Weapon_flash_info.is_bright & (1<<index) ) { in maybeFlashWeapon()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/patches/
H A Dcolonial_hud.patch2671 - if ( !timestamp_elapsed(Weapon_flash_info.flash_duration[x]) )
2672 + if ( !timestamp_elapsed(Weapon_flash_info.flash_duration[i]) )
2674 - if ( Weapon_flash_info.is_bright & (1<<x) )
2675 + if ( Weapon_flash_info.is_bright & (1<<i) )
2926 + if ( !timestamp_elapsed(Weapon_flash_info.flash_duration[index]) ) {
2927 + if ( Weapon_flash_info.is_bright & (1<<index) ) {