/dports/games/iortcw/iortcw-1.51c/SP/code/game/ |
H A D | ai_cast_func_boss1.c | 73 ent->client->ps.torsoTimer = 0; in AIFunc_Helga_SpiritAttack() 80 ent->client->ps.torsoTimer = 0; in AIFunc_Helga_SpiritAttack() 91 ent->client->ps.torsoTimer = 0; in AIFunc_Helga_SpiritAttack() 98 ent->client->ps.torsoTimer = 1000; in AIFunc_Helga_SpiritAttack() 400 if ( ent->client->ps.torsoTimer ) { in AIFunc_Heinrich_SwordLunge() 414 ent->client->ps.torsoTimer = 0; in AIFunc_Heinrich_SwordLunge() 494 if ( ent->client->ps.torsoTimer ) { in AIFunc_Heinrich_SwordKnockback() 507 ent->client->ps.torsoTimer = 0; in AIFunc_Heinrich_SwordKnockback() 591 if ( ent->client->ps.torsoTimer ) { in AIFunc_Heinrich_SwordSideSlash() 604 ent->client->ps.torsoTimer = 0; in AIFunc_Heinrich_SwordSideSlash() [all …]
|
H A D | ai_cast_func_attack.c | 81 ent->client->ps.torsoTimer = 0; in AIFunc_ZombieFlameAttack() 88 ent->client->ps.torsoTimer = 0; in AIFunc_ZombieFlameAttack() 98 ent->client->ps.torsoTimer = 0; in AIFunc_ZombieFlameAttack() 258 if ( !ent->client->ps.torsoTimer ) { in AIFunc_ZombieMelee() 952 if ( !ent->client->ps.torsoTimer ) { in AIFunc_WarriorZombieMelee() 1108 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() 1119 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() 1127 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() 1141 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() 1151 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() [all …]
|
H A D | ai_cast_script_actions.c | 848 client->ps.torsoTimer = 9999; in AICast_ScriptAction_PlayAnim() 867 client->ps.torsoTimer = 9999; in AICast_ScriptAction_PlayAnim() 876 client->ps.torsoTimer = 400; in AICast_ScriptAction_PlayAnim() 884 client->ps.torsoTimer = 400; in AICast_ScriptAction_PlayAnim() 894 client->ps.torsoTimer = 9999; in AICast_ScriptAction_PlayAnim() 898 client->ps.torsoTimer = 9999; in AICast_ScriptAction_PlayAnim() 947 client->ps.torsoTimer = duration; in AICast_ScriptAction_PlayAnim() 957 client->ps.torsoTimer = duration; in AICast_ScriptAction_PlayAnim() 1001 client->ps.torsoTimer = 0; in AICast_ScriptAction_ClearAnim() 2090 if ( client->ps.torsoTimer && ( client->ps.torsoTimer > ( level.time - cs->scriptAnimTime ) ) ) { in AICast_ScriptAction_ResetScript() [all …]
|
H A D | ai_cast_funcs.c | 393 if ( ent->client->ps.torsoTimer < 500 ) { in AICast_SpecialFunc() 411 if ( ent->client->ps.torsoTimer && !ent->client->ps.legsTimer ) { in AICast_SpecialFunc() 416 if ( ent->client->ps.torsoTimer < 500 ) { in AICast_SpecialFunc() 424 if ( !ent->takedamage || ( ent->count2 < level.time && ent->client->ps.torsoTimer < 4000 ) ) { in AICast_SpecialFunc() 1920 if ( !client->ps.torsoTimer ) { in AIFunc_BattleRoll() 1979 g_entities[cs->entityNum].client->ps.torsoTimer = duration; in AIFunc_BattleRollStart() 2043 if ( !client->ps.torsoTimer ) { in AIFunc_FlipMove() 3004 …[TACTICAL] > 0.85 ) && ( cs->aiFlags & AIFL_ROLL_ANIM ) && !client->ps.torsoTimer && !client->ps.l… in AIFunc_BattleChase() 3010 …& AIFL_FLIP_ANIM && cs->lastRollMove < level.time - 800 && !client->ps.torsoTimer && cs->castScrip… in AIFunc_BattleChase() 3483 …else if ( ( cs->aiFlags & AIFL_DIVE_ANIM && !client->ps.torsoTimer && cs->castScriptStatus.castS… in AIFunc_BattleTakeCover() [all …]
|
H A D | bg_animation.c | 1592 if ( ( ps->torsoTimer < 50 ) || ( force && ( newAnim->priority >= oldAnim->priority ) ) ) { in BG_PlayAnim() 1596 ps->torsoTimer = duration + TIMER_PADDING; in BG_PlayAnim() 1599 ps->torsoTimer = duration + TIMER_PADDING; in BG_PlayAnim()
|
/dports/games/iortcw/iortcw-1.51c/MP/code/game/ |
H A D | ai_cast_func_attack.c | 81 ent->client->ps.torsoTimer = 0; in AIFunc_ZombieFlameAttack() 88 ent->client->ps.torsoTimer = 0; in AIFunc_ZombieFlameAttack() 98 ent->client->ps.torsoTimer = 0; in AIFunc_ZombieFlameAttack() 103 ent->client->ps.torsoTimer = 400; in AIFunc_ZombieFlameAttack() 798 if ( !ent->client->ps.torsoTimer ) { in AIFunc_WarriorZombieMelee() 935 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() 946 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() 954 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() 968 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() 978 ent->client->ps.torsoTimer = 0; in AIFunc_WarriorZombieDefense() [all …]
|
H A D | ai_cast_func_boss1.c | 247 ent->client->ps.torsoTimer = 500; in AIFunc_FZombie_LightningAttack() 389 if ( !ent->client->ps.torsoTimer ) { in AIFunc_FZombie_HandLightningAttack() 402 if ( ent->client->ps.torsoTimer < FEMZOMBIE_HANDATTACK_DURATION - 1000 ) { in AIFunc_FZombie_HandLightningAttack() 406 …if ( ent->client->ps.torsoTimer < 400 || cs->bs->cur_ps.ammo[BG_FindAmmoForWeapon( WP_MONSTER_ATTA… in AIFunc_FZombie_HandLightningAttack() 410 ent->client->ps.torsoTimer = 300; in AIFunc_FZombie_HandLightningAttack() 428 ent->client->ps.torsoTimer = FEMZOMBIE_HANDATTACK_DURATION; in AIFunc_FZombie_HandLightningAttackStart() 544 ent->client->ps.torsoTimer = PORTAL_ZOMBIE_SPAWNTIME - 200; in AIFunc_FlameZombie_PortalStart()
|
H A D | ai_cast_script_actions.c | 737 …ChangeTime != level.time ) && ( client->ps.legsTimer < 250 ) && ( client->ps.torsoTimer < 250 ) ) { in AICast_ScriptAction_PlayAnim() 780 client->ps.torsoTimer = duration; in AICast_ScriptAction_PlayAnim() 790 client->ps.torsoTimer = duration; in AICast_ScriptAction_PlayAnim() 834 client->ps.torsoTimer = 0; in AICast_ScriptAction_ClearAnim() 1758 if ( client->ps.torsoTimer && ( client->ps.torsoTimer > ( level.time - cs->scriptAnimTime ) ) ) { in AICast_ScriptAction_ResetScript() 1760 client->ps.torsoTimer = 0; in AICast_ScriptAction_ResetScript()
|
H A D | bg_animation.c | 1533 if ( ( ps->torsoTimer < 50 ) || force ) { in BG_PlayAnim() 1537 ps->torsoTimer = duration; in BG_PlayAnim() 1540 ps->torsoTimer = duration; in BG_PlayAnim()
|
H A D | ai_cast_funcs.c | 1700 if ( !client->ps.torsoTimer ) { in AIFunc_BattleRoll() 1713 …if ( ( cs->bs->enemy >= 0 ) && ( client->ps.torsoTimer < 400 ) && ( cs->takeCoverTime < level.time… in AIFunc_BattleRoll() 1716 if ( client->ps.torsoTimer ) { in AIFunc_BattleRoll() 1762 g_entities[cs->entityNum].client->ps.torsoTimer = duration; in AIFunc_BattleRollStart() 1824 if ( !client->ps.torsoTimer ) { in AIFunc_FlipMove() 2732 …ibutes[TACTICAL] > 0.85 && cs->aiFlags & AIFL_ROLL_ANIM && !client->ps.torsoTimer && !client->ps.l… in AIFunc_BattleChase() 2737 …& AIFL_FLIP_ANIM && cs->lastRollMove < level.time - 800 && !client->ps.torsoTimer && cs->castScrip… in AIFunc_BattleChase() 3183 …else if ( ( cs->aiFlags & AIFL_DIVE_ANIM && !client->ps.torsoTimer && cs->castScriptStatus.castS… in AIFunc_BattleTakeCover() 3201 …& AIFL_FLIP_ANIM && cs->lastRollMove < level.time - 800 && !client->ps.torsoTimer && cs->castScrip… in AIFunc_BattleTakeCover()
|
/dports/games/ioquake3/ioquake3-1.36/code/game/ |
H A D | bg_pmove.c | 126 if ( pm->ps->torsoTimer > 0 ) { in PM_ContinueTorsoAnim() 1716 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1723 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1728 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1733 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1738 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1743 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1781 if ( pm->ps->torsoTimer > 0 ) { in PM_DropTimers() 1782 pm->ps->torsoTimer -= pml.msec; in PM_DropTimers() 1783 if ( pm->ps->torsoTimer < 0 ) { in PM_DropTimers() [all …]
|
/dports/games/ioquake3-server/ioquake3-1.36/code/game/ |
H A D | bg_pmove.c | 126 if ( pm->ps->torsoTimer > 0 ) { in PM_ContinueTorsoAnim() 1716 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1723 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1728 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1733 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1738 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1743 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1781 if ( pm->ps->torsoTimer > 0 ) { in PM_DropTimers() 1782 pm->ps->torsoTimer -= pml.msec; in PM_DropTimers() 1783 if ( pm->ps->torsoTimer < 0 ) { in PM_DropTimers() [all …]
|
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/game/ |
H A D | bg_pmove.c | 126 if ( pm->ps->torsoTimer > 0 ) { in PM_ContinueTorsoAnim() 1716 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1723 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1728 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1733 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1738 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1743 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1781 if ( pm->ps->torsoTimer > 0 ) { in PM_DropTimers() 1782 pm->ps->torsoTimer -= pml.msec; in PM_DropTimers() 1783 if ( pm->ps->torsoTimer < 0 ) { in PM_DropTimers() [all …]
|
/dports/games/evq3/evq3/code/game/ |
H A D | bg_pmove.c | 126 if ( pm->ps->torsoTimer > 0 ) { in PM_ContinueTorsoAnim() 1716 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1723 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1728 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1733 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1738 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1743 if ( pm->ps->torsoTimer == 0 ) { in PM_Animate() 1781 if ( pm->ps->torsoTimer > 0 ) { in PM_DropTimers() 1782 pm->ps->torsoTimer -= pml.msec; in PM_DropTimers() 1783 if ( pm->ps->torsoTimer < 0 ) { in PM_DropTimers() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codemp/game/ |
H A D | NPC_AI_GalakMech.c | 303 if ( !self->lockCount && self->client->ps.torsoTimer <= 0 ) in NPC_GM_Pain() 606 NPCS.NPC->client->ps.torsoTimer += 500; in GM_StartGloat() 630 if ( NPC->client->ps.torsoTimer <= 500 ) in NPC_BSGM_Attack() 635 NPC->client->ps.torsoTimer += 500; in NPC_BSGM_Attack() 640 if ( NPC->client->ps.torsoTimer <= 500 ) in NPC_BSGM_Attack() 644 NPC->client->ps.torsoTimer += 500; in NPC_BSGM_Attack() 649 if ( NPC->client->ps.torsoTimer <= 500 ) in NPC_BSGM_Attack() 653 NPC->client->ps.torsoTimer += 500; in NPC_BSGM_Attack() 658 if ( NPC->client->ps.torsoTimer <= 500 ) in NPC_BSGM_Attack() 662 NPC->client->ps.torsoTimer = -1; in NPC_BSGM_Attack() [all …]
|
H A D | bg_saber.c | 895 pm->ps->weaponTime = pm->ps->torsoTimer; in PM_SaberLockWinAnim() 1127 duelist->torsoTimer += 250; in PM_SaberLockResultAnim() 1346 pm->ps->torsoTimer = 0; in PM_SaberLocked() 1348 genemy->torsoTimer = 0; in PM_SaberLocked() 2830 pm->ps->torsoTimer = 0; in PM_WeaponLightsaber() 2852 if ( pm->ps->torsoTimer > 0 ) in PM_WeaponLightsaber() 2866 pm->ps->torsoTimer <= 0) in PM_WeaponLightsaber() 3014 pm->ps->torsoTimer = 1; in PM_WeaponLightsaber() 3060 pm->ps->torsoTimer = 0; in PM_WeaponLightsaber() 3094 pm->ps->torsoTimer = 0; in PM_WeaponLightsaber() [all …]
|
H A D | NPC_AI_Mark1.c | 272 if (self->client->ps.torsoTimer>0) in Mark1_dying() 538 NPCS.NPC->client->ps.torsoTimer=0; // Just in case the firing anim is running. in Mark1_BlasterAttack() 555 NPCS.NPC->client->ps.torsoTimer=0; // Just in case the firing anim is running. in Mark1_BlasterAttack() 563 NPCS.NPC->client->ps.torsoTimer=0; // Just in case the firing anim is running. in Mark1_BlasterAttack()
|
H A D | bg_panimate.c | 2680 ps->torsoTimer = time; in BG_SetTorsoAnimTimer() 2682 if (ps->torsoTimer < 0 && time != -1 ) in BG_SetTorsoAnimTimer() 2684 ps->torsoTimer = 0; in BG_SetTorsoAnimTimer() 2784 if( !(setAnimFlags & SETANIM_FLAG_OVERRIDE) && ((ps->torsoTimer > 0)||(ps->torsoTimer == -1)) ) in BG_SetAnimFinal() 2803 ps->torsoTimer = dur-1; in BG_SetAnimFinal() 2807 ps->torsoTimer = fabs((float)(animations[anim].frameLerp)); in BG_SetAnimFinal() 2812 ps->torsoTimer = ((animations[anim].numFrames ) * fabs((float)(animations[anim].frameLerp))); in BG_SetAnimFinal() 2817 ps->torsoTimer /= 1.7; in BG_SetAnimFinal()
|
H A D | bg_pmove.c | 3890 pm->ps->torsoTimer = 0; in PM_CrashLand() 6450 if (pm->ps->torsoTimer <= 0) in PM_VehicleWeaponAnimate() 6494 if (pm->ps->torsoTimer <= 0) in PM_VehicleWeaponAnimate() 6949 pm->ps->torsoTimer = 1; in PM_Weapon() 6966 pm->ps->torsoTimer = 1; in PM_Weapon() 7292 pm->ps->torsoTimer <= 0 && in PM_Weapon() 7797 pm->ps->torsoTimer = 0; in PM_DropTimers() 8281 if ( ps->torsoTimer <= 250 ) in BG_CmdForRoll() 8299 if ( ps->torsoTimer <= 100 ) in BG_CmdForRoll() 8317 if ( ps->torsoTimer <= 550 ) in BG_CmdForRoll() [all …]
|
H A D | g_utils.c | 1566 ent->client->ps.torsoTimer = 500; in TryHeal() 1741 ent->client->ps.torsoTimer = 500; in TryUse() 1747 ent->client->ps.weaponTime = ent->client->ps.torsoTimer; in TryUse() 1769 ent->client->ps.torsoTimer = 500; in TryUse() 1775 ent->client->ps.weaponTime = ent->client->ps.torsoTimer; in TryUse() 1791 ent->client->ps.torsoTimer = 500; in TryUse() 1797 ent->client->ps.weaponTime = ent->client->ps.torsoTimer; in TryUse()
|
H A D | w_saber.c | 2239 currentPoint = self->client->ps.torsoTimer; in G_GetAttackDamage() 2276 currentPoint = self->client->ps.torsoTimer; in G_GetAnimPoint() 2965 int animTimer = ent->client->ps.torsoTimer; in G_PowerLevelForSaberAnim() 8060 if (grabbed->client->ps.torsoTimer < self->client->ps.torsoTimer) in G_GrabSomeMofos() 8062 grabbed->client->ps.torsoTimer = self->client->ps.torsoTimer; in G_GrabSomeMofos() 8242 if (self->client->ps.torsoTimer < 3400) in WP_SaberPositionUpdate() 8264 if (self->client->ps.torsoTimer < 2550) in WP_SaberPositionUpdate() 8286 if (self->client->ps.torsoTimer < 1300) in WP_SaberPositionUpdate() 8314 if (self->client->ps.torsoTimer < 3200) in WP_SaberPositionUpdate() 8336 if (self->client->ps.torsoTimer < 2000) in WP_SaberPositionUpdate() [all …]
|
H A D | NPC_AI_Jedi.c | 287 self->client->ps.powerups[PW_DISINT_4] = level.time + self->client->ps.torsoTimer + 500; in WP_ResistForcePush() 444 self->client->ps.torsoTimer = flameTime;//+1000; in Boba_StartFlameThrower() 2307 baseTime = self->client->ps.torsoTimer; in Jedi_ReCalcParryTime() 2311 baseTime = self->client->ps.torsoTimer; in Jedi_ReCalcParryTime() 2426 if ( self->client->ps.torsoTimer > 300 in Jedi_SaberBusy() 3038 self->client->ps.weaponTime = self->client->ps.torsoTimer; in Jedi_SaberBlockGo() 3040 self->client->ps.pm_time = self->client->ps.torsoTimer; in Jedi_SaberBlockGo() 3308 int dodgeTime = NPCS.NPC->client->ps.torsoTimer; in Jedi_SaberBlock() 4307 …S.NPC->painDebounceTime = NPCS.NPC->useDebounceTime = level.time + NPCS.NPC->client->ps.torsoTimer; in Jedi_AttackDecide() 4806 NPCS.NPC->client->ps.weaponTime = NPCS.NPC->client->ps.torsoTimer; in Jedi_TryJump() [all …]
|
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/game/ |
H A D | bg_pmove.c | 122 if( pm->ps->torsoTimer > 0 ) in PM_StartLegsAnim() 148 if( pm->ps->torsoTimer > 0 ) in PM_ContinueLegsAnim() 165 if( pm->ps->torsoTimer > 0 ) in PM_ContinueTorsoAnim() 182 pm->ps->torsoTimer = 0; in PM_ForceLegsAnim() 1521 pm->ps->torsoTimer = TIMER_LAND; in PM_CrashLand() 3074 if( pm->ps->torsoTimer == 0 ) in PM_Animate() 3084 if( pm->ps->torsoTimer == 0 ) in PM_Animate() 3124 if( pm->ps->torsoTimer > 0 ) in PM_DropTimers() 3126 pm->ps->torsoTimer -= pml.msec; in PM_DropTimers() 3128 if( pm->ps->torsoTimer < 0 ) in PM_DropTimers() [all …]
|
/dports/games/openjk/OpenJK-07675e2/code/game/ |
H A D | WalkerNPC.cpp | 77 #define torsoAnimTimer torsoTimer
|
H A D | SpeederNPC.cpp | 79 #define torsoAnimTimer torsoTimer 1092 pVeh->m_pPilot->playerState->torsoTimer = BG_AnimLength(pVeh->m_pPilot->localAnimIndex, Anim); in AnimateRiders()
|