Lines Matching refs:newmove

394 qboolean PM_SaberKataDone(int curmove, int newmove);
396 int PM_SaberAnimTransitionAnim( int curmove, int newmove ) in PM_SaberAnimTransitionAnim() argument
398 int retmove = newmove; in PM_SaberAnimTransitionAnim()
401 switch ( newmove ) in PM_SaberAnimTransitionAnim()
411 retmove = LS_S_TL2BR + (newmove-LS_A_TL2BR); in PM_SaberAnimTransitionAnim()
417 switch ( newmove ) in PM_SaberAnimTransitionAnim()
432 retmove = LS_R_TL2BR + (newmove-LS_A_TL2BR); in PM_SaberAnimTransitionAnim()
444 if ( newmove == curmove ) in PM_SaberAnimTransitionAnim()
447 if ( PM_SaberKataDone( curmove, newmove ) ) in PM_SaberAnimTransitionAnim()
449 retmove = LS_R_TL2BR + (newmove-LS_A_TL2BR); in PM_SaberAnimTransitionAnim()
453 retmove = transitionMove[saberMoveData[curmove].endQuad][saberMoveData[newmove].startQuad]; in PM_SaberAnimTransitionAnim()
456 else if ( saberMoveData[curmove].endQuad == saberMoveData[newmove].startQuad ) in PM_SaberAnimTransitionAnim()
458 retmove = newmove; in PM_SaberAnimTransitionAnim()
480 retmove = transitionMove[saberMoveData[curmove].endQuad][saberMoveData[newmove].startQuad]; in PM_SaberAnimTransitionAnim()
537 retmove = transitionMove[saberMoveData[curmove].endQuad][saberMoveData[newmove].startQuad]; in PM_SaberAnimTransitionAnim()
549 return newmove; in PM_SaberAnimTransitionAnim()
716 qboolean PM_SaberKataDone(int curmove, int newmove) in PM_SaberKataDone() argument
743 if ( curmove == LS_NONE || newmove == LS_NONE ) in PM_SaberKataDone()
756 int chainAngle = PM_SaberAttackChainAngle( curmove, newmove ); in PM_SaberKataDone()
779 if (newmove == LS_A_TL2BR || in PM_SaberKataDone()
780 newmove == LS_A_L2R || in PM_SaberKataDone()
781 newmove == LS_A_BL2TR || in PM_SaberKataDone()
782 newmove == LS_A_BR2TL || in PM_SaberKataDone()
783 newmove == LS_A_R2L || in PM_SaberKataDone()
784 newmove == LS_A_TR2BL ) in PM_SaberKataDone()
2153 saberMoveName_t newmove = LS_NONE; in PM_SaberAttackForMovement() local
2248 newmove = LS_BUTTERFLY_RIGHT; in PM_SaberAttackForMovement()
2261 newmove = LS_JUMPATTACK_ARIAL_RIGHT; in PM_SaberAttackForMovement()
2265 newmove = LS_JUMPATTACK_CART_RIGHT; in PM_SaberAttackForMovement()
2272 newmove = LS_A_TL2BR; in PM_SaberAttackForMovement()
2276 newmove = LS_A_BL2TR; in PM_SaberAttackForMovement()
2280 newmove = LS_A_L2R; in PM_SaberAttackForMovement()
2309 newmove = LS_BUTTERFLY_LEFT; in PM_SaberAttackForMovement()
2322 newmove = LS_JUMPATTACK_ARIAL_LEFT; in PM_SaberAttackForMovement()
2326 newmove = LS_JUMPATTACK_CART_LEFT; in PM_SaberAttackForMovement()
2333 newmove = LS_A_TR2BL; in PM_SaberAttackForMovement()
2337 newmove = LS_A_BR2TL; in PM_SaberAttackForMovement()
2341 newmove = LS_A_R2L; in PM_SaberAttackForMovement()
2362 newmove = PM_SaberJumpAttackMove2(); in PM_SaberAttackForMovement()
2363 if ( newmove != LS_A_T2B in PM_SaberAttackForMovement()
2364 && newmove != LS_NONE ) in PM_SaberAttackForMovement()
2381 newmove = PM_SaberFlipOverAttackMove(); in PM_SaberAttackForMovement()
2382 if ( newmove != LS_A_T2B in PM_SaberAttackForMovement()
2383 && newmove != LS_NONE ) in PM_SaberAttackForMovement()
2401 newmove = PM_SaberJumpAttackMove(); in PM_SaberAttackForMovement()
2402 if ( newmove != LS_A_T2B in PM_SaberAttackForMovement()
2403 && newmove != LS_NONE ) in PM_SaberAttackForMovement()
2416 newmove = PM_SaberLungeAttackMove( noSpecials ); in PM_SaberAttackForMovement()
2417 if ( newmove != LS_A_T2B in PM_SaberAttackForMovement()
2418 && newmove != LS_NONE ) in PM_SaberAttackForMovement()
2429 newmove = stabDownMove; in PM_SaberAttackForMovement()
2434 newmove = LS_A_T2B; in PM_SaberAttackForMovement()
2453 newmove = PM_SaberBackflipAttackMove(); in PM_SaberAttackForMovement()
2461 newmove = LS_A_BACK_CR; in PM_SaberAttackForMovement()
2465 newmove = LS_A_BACK; in PM_SaberAttackForMovement()
2470 newmove = LS_A_BACKSTAB; in PM_SaberAttackForMovement()
2475 newmove = LS_A_T2B; in PM_SaberAttackForMovement()
2480 newmove = saberMoveData[curmove].chain_attack; in PM_SaberAttackForMovement()
2482 if ( PM_SaberKataDone(curmove, newmove) ) in PM_SaberAttackForMovement()
2484 newmove = saberMoveData[curmove].chain_idle; in PM_SaberAttackForMovement()
2488 newmove = saberMoveData[curmove].chain_attack; in PM_SaberAttackForMovement()
2499 newmove = LS_A_T2B; //decided we don't like random attacks when idle, use an overhead instead. in PM_SaberAttackForMovement()
2505 if ( ( newmove == LS_A_R2L || newmove == LS_S_R2L in PM_SaberAttackForMovement()
2506 || newmove == LS_A_L2R || newmove == LS_S_L2R ) in PM_SaberAttackForMovement()
2511 newmove = LS_DUAL_LR; in PM_SaberAttackForMovement()
2515 else if ( (newmove == LS_A_T2B || newmove == LS_S_T2B in PM_SaberAttackForMovement()
2516 || newmove == LS_A_BACK || newmove == LS_A_BACK_CR ) in PM_SaberAttackForMovement()
2521 newmove = LS_DUAL_FB; in PM_SaberAttackForMovement()
2527 return newmove; in PM_SaberAttackForMovement()
2750 int anim=-1, curmove, newmove=LS_NONE; in PM_WeaponLightsaber() local
3489 newmove = LS_R_T2B; in PM_WeaponLightsaber()
3507 newmove = LS_A_TL2BR + (curmove-LS_S_TL2BR); in PM_WeaponLightsaber()
3511 newmove = LS_R_TL2BR + (curmove-LS_A_TL2BR); in PM_WeaponLightsaber()
3515 newmove = saberMoveData[curmove].chain_attack; in PM_WeaponLightsaber()
3519 newmove = saberMoveData[curmove].chain_idle;//oops, not attacking, so don't chain in PM_WeaponLightsaber()
3561 newmove = LS_A_T2B; in PM_WeaponLightsaber()
3564 newmove = LS_A_TR2BL; in PM_WeaponLightsaber()
3567 newmove = LS_A_TL2BR; in PM_WeaponLightsaber()
3570 newmove = LS_A_BR2TL; in PM_WeaponLightsaber()
3573 newmove = LS_A_BL2TR; in PM_WeaponLightsaber()
3579 if ( newmove != LS_NONE ) in PM_WeaponLightsaber()
3581 anim = saberMoveData[newmove].animToUse; in PM_WeaponLightsaber()
3590 newmove = saberMoveData[curmove].chain_attack; in PM_WeaponLightsaber()
3594 newmove = LS_A_TL2BR + (curmove-LS_S_TL2BR); in PM_WeaponLightsaber()
3598 newmove = LS_READY; in PM_WeaponLightsaber()
3608 newmove = PM_SaberAttackForMovement( curmove ); in PM_WeaponLightsaber()
3610 && saberMoveData[newmove].startQuad == saberMoveData[curmove].endQuad ) in PM_WeaponLightsaber()
3612 newmove = saberMoveData[curmove].chain_attack; in PM_WeaponLightsaber()
3615 if ( PM_SaberKataDone( curmove, newmove ) ) in PM_WeaponLightsaber()
3617 newmove = saberMoveData[curmove].chain_idle; in PM_WeaponLightsaber()
3627 if ( newmove != LS_NONE ) in PM_WeaponLightsaber()
3630 newmove = PM_SaberAnimTransitionAnim( curmove, newmove ); in PM_WeaponLightsaber()
3631 anim = saberMoveData[newmove].animToUse; in PM_WeaponLightsaber()
3638 newmove = saberMoveData[curmove].chain_attack; in PM_WeaponLightsaber()
3640 anim= saberMoveData[newmove].animToUse; in PM_WeaponLightsaber()
3679 newmove = LS_READY; in PM_WeaponLightsaber()
3682 PM_SetSaberMove( newmove ); in PM_WeaponLightsaber()