/dports/games/openjk/OpenJK-07675e2/codeJK2/game/ |
H A D | wp_saber.cpp | 4085 if ( !WP_ForcePowerUsable( self, FP_SABERTHROW, 20 ) ) in WP_SaberLaunch() 4092 if ( !WP_ForcePowerUsable( self, FP_SABERTHROW, 0 ) ) in WP_SaberLaunch() 4116 WP_ForcePowerStart( self, FP_SABERTHROW, 10 ); in WP_SaberLaunch() 4120 WP_ForcePowerStart( self, FP_SABERTHROW, 0 ); in WP_SaberLaunch() 4150 switch ( self->client->ps.forcePowerLevel[FP_SABERTHROW] ) in WP_SaberLaunch() 4207 self->client->ps.forcePowersKnown |= (1<<FP_SABERTHROW); in WP_SaberLose() 4208 self->client->ps.forcePowerLevel[FP_SABERTHROW] = FORCE_LEVEL_1; in WP_SaberLose() 4527 if ( WP_ForcePowerAvailable( self, FP_SABERTHROW, 1 ) ) in WP_SaberThrow() 4529 WP_ForcePowerDrain( self, FP_SABERTHROW, 1 ); in WP_SaberThrow() 8428 ent->client->ps.forcePowerLevel[FP_SABERTHROW] = FORCE_LEVEL_3; in WP_InitForcePowers() [all …]
|
H A D | g_svcmds.cpp | 392 Svcmd_ForceSetLevel_f( FP_SABERTHROW ); in Svcmd_SetSaberAll_f() 568 { "setSaberThrow", Svcmd_ForceSetLevel_f<FP_SABERTHROW>, CMD_CHEAT },
|
H A D | g_itemLoad.cpp | 426 tag = FP_SABERTHROW; in IT_Tag()
|
H A D | AI_Jedi.cpp | 789 && NPC->client->ps.forcePowerLevel[FP_SABERTHROW] > FORCE_LEVEL_1 //2nd or 3rd level lightsaber in Jedi_CombatDistance() 1031 else if ( WP_ForcePowerAvailable( NPC, FP_SABERTHROW, 0 ) in Jedi_CombatDistance()
|
/dports/games/openjk/OpenJK-07675e2/codemp/game/ |
H A D | bg_misc.c | 219 FP_SABERTHROW 540 (final_Powers[FP_SABER_DEFENSE] > minPow || final_Powers[FP_SABERTHROW] > 0)) in BG_LegalizedForcePowers() 542 int whichOne = FP_SABERTHROW; //first try throw in BG_LegalizedForcePowers() 648 final_Powers[FP_SABERTHROW] = 0; in BG_LegalizedForcePowers() 1923 …if ( i != FP_LEVITATION && i != FP_SABER_OFFENSE && i != FP_SABER_DEFENSE && i != FP_SABERTHROW ) { in BG_CycleForce()
|
H A D | bg_saber.c | 2699 …pm->ps->fd.forcePower > forcePowerNeeded[pm->ps->fd.forcePowerLevel[FP_SABERTHROW]][FP_SABERTHROW]) in PM_SaberPowerCheck() 2706 …noughForcePowerForMove(forcePowerNeeded[pm->ps->fd.forcePowerLevel[FP_SABERTHROW]][FP_SABERTHROW]); in PM_SaberPowerCheck() 2966 BG_CanUseFPNow(pm->gametype, pm->ps, pm->cmd.serverTime, FP_SABERTHROW) && in PM_WeaponLightsaber() 2967 pm->ps->fd.forcePowerLevel[FP_SABERTHROW] > 0 && in PM_WeaponLightsaber() 2989 …m->ps->fd.forcePower -= forcePowerNeeded[pm->ps->fd.forcePowerLevel[FP_SABERTHROW]][FP_SABERTHROW]; in PM_WeaponLightsaber()
|
H A D | bg_saga.c | 134 ENUM2STRING(FP_SABERTHROW),
|
H A D | w_saber.c | 4069 fDmg = 2.5f*self->client->ps.fd.forcePowerLevel[FP_SABERTHROW]; in CheckSaberDamage() 6894 throwLevel = saberOwner->client->ps.fd.forcePowerLevel[FP_SABERTHROW]; in saberCheckKnockdown_Thrown() 6990 if (saberOwner->client->ps.fd.forcePowerLevel[FP_SABERTHROW] >= FORCE_LEVEL_3) in saberBackToOwner() 7191 if (!BG_CanUseFPNow(level.gametype, &saberOwn->client->ps, level.time, FP_SABERTHROW)) in saberFirstThrown() 7200 if (vLen >= (SABER_MAX_THROW_DISTANCE*saberOwn->client->ps.fd.forcePowerLevel[FP_SABERTHROW])) in saberFirstThrown() 7206 if (saberOwn->client->ps.fd.forcePowerLevel[FP_SABERTHROW] >= FORCE_LEVEL_2 && in saberFirstThrown() 7225 if (saberOwn->client->ps.fd.forcePowerLevel[FP_SABERTHROW] >= FORCE_LEVEL_3) in saberFirstThrown() 7241 if (saberOwn->client->ps.fd.forcePowerLevel[FP_SABERTHROW] >= FORCE_LEVEL_3) in saberFirstThrown()
|
H A D | w_force.c | 404 …e if ( i != FP_LEVITATION && i != FP_SABER_OFFENSE && i != FP_SABER_DEFENSE && i != FP_SABERTHROW ) in WP_InitForcePowers() 724 case FP_SABERTHROW: in WP_ForcePowerUsable() 1054 case FP_SABERTHROW: in WP_ForcePowerStart() 4338 case FP_SABERTHROW: in WP_ForcePowerRun() 4525 case FP_SABERTHROW: in WP_DoSpecificPower()
|
H A D | g_misc.c | 902 …FP_SABER_OFFENSE && self->count != FP_SABER_DEFENSE && self->count != FP_SABERTHROW && self->count… in HolocronTouch() 1059 ent->count == FP_SABERTHROW) in SP_misc_holocron()
|
/dports/games/openjk/OpenJK-07675e2/code/game/ |
H A D | wp_saber.h | 197 #define FORCE_POWERS_ROSH_FROM_TWINS ((1<<FP_SPEED)|(1<<FP_GRIP)|(1<<FP_RAGE)|(1<<FP_SABERTHROW))
|
H A D | g_svcmds.cpp | 649 Svcmd_ForceSetLevel_f( FP_SABERTHROW ); in Svcmd_SetSaberAll_f() 912 { "setSaberThrow", Svcmd_ForceSetLevel_f<FP_SABERTHROW>, CMD_CHEAT },
|
H A D | wp_saber.cpp | 6591 if ( !WP_ForcePowerUsable( self, FP_SABERTHROW, 20 ) ) in WP_SaberLaunch() 6598 if ( !WP_ForcePowerUsable( self, FP_SABERTHROW, 0 ) ) in WP_SaberLaunch() 6625 WP_ForcePowerStart( self, FP_SABERTHROW, 10 ); in WP_SaberLaunch() 6629 WP_ForcePowerStart( self, FP_SABERTHROW, 0 ); in WP_SaberLaunch() 6669 switch ( self->client->ps.forcePowerLevel[FP_SABERTHROW] ) in WP_SaberLaunch() 6807 self->client->ps.forcePowersKnown |= (1<<FP_SABERTHROW); in WP_SetSaberOrigin() 6811 self->client->ps.forcePowerLevel[FP_SABERTHROW] = FORCE_LEVEL_1; in WP_SetSaberOrigin() 7191 if ( WP_ForcePowerAvailable( self, FP_SABERTHROW, 1 ) ) in WP_SaberThrow() 7193 WP_ForcePowerDrain( self, FP_SABERTHROW, 1 ); in WP_SaberThrow() 14207 case FP_SABERTHROW: in WP_CheckForcedPowers() [all …]
|
H A D | g_itemLoad.cpp | 429 tag = FP_SABERTHROW; in IT_Tag()
|
H A D | g_target.cpp | 995 gi.cvar_set("ui_stats_throw", va("%d",client->sess.missionStats.forceUsed[FP_SABERTHROW])); in set_mission_stats_cvars()
|
H A D | AI_Jedi.cpp | 1455 && NPC->client->ps.forcePowerLevel[FP_SABERTHROW] > FORCE_LEVEL_1 //2nd or 3rd level lightsaber in Jedi_CombatDistance() 1737 if ( (NPCInfo->rank >= RANK_LT_JG||WP_ForcePowerUsable( NPC, FP_SABERTHROW, 0 )) in Jedi_CombatDistance() 1906 if ( WP_ForcePowerUsable( NPC, FP_SABERTHROW, 0 ) in Jedi_CombatDistance() 1916 if ( (NPCInfo->rank >= RANK_LT_JG||WP_ForcePowerUsable( NPC, FP_SABERTHROW, 0 )) in Jedi_CombatDistance()
|
H A D | NPC_stats.cpp | 82 ENUM2STRING(FP_SABERTHROW),
|
/dports/games/openjk/OpenJK-07675e2/codemp/ui/ |
H A D | ui_force.c | 419 uiForcePowersRank[FP_SABERTHROW]=0; in UpdateForceUsed() 1029 else if (forcepower == FP_SABER_DEFENSE || forcepower == FP_SABERTHROW) in UI_ForcePowerRank_HandleKey()
|
/dports/games/openjk/OpenJK-07675e2/codemp/qcommon/ |
H A D | q_shared.h | 384 FP_SABERTHROW, enumerator
|
/dports/games/openjk/OpenJK-07675e2/codeJK2/cgame/ |
H A D | cg_ents.cpp | 599 switch ( cent->gent->owner->client->ps.forcePowerLevel[FP_SABERTHROW] ) in CG_General() 663 switch ( cent->gent->owner->client->ps.forcePowerLevel[FP_SABERTHROW] ) in CG_General()
|
H A D | cg_main.cpp | 3196 FP_SABERTHROW,
|
/dports/games/openjk/OpenJK-07675e2/code/cgame/ |
H A D | cg_ents.cpp | 618 switch ( cent->gent->owner->client->ps.forcePowerLevel[FP_SABERTHROW] ) in CG_General() 695 switch ( cent->gent->owner->client->ps.forcePowerLevel[FP_SABERTHROW] ) in CG_General()
|
/dports/games/openjk/OpenJK-07675e2/code/ui/ |
H A D | ui_main.cpp | 4499 { "sabthrow", FP_SABERTHROW }, 4767 uiInfo.forcePowerLevel[FP_SABERTHROW]=1; in UI_DemoSetForceLevels() 4790 uiInfo.forcePowerLevel[FP_SABERTHROW]=3; in UI_DemoSetForceLevels()
|
/dports/games/openjk/OpenJK-07675e2/codemp/cgame/ |
H A D | cg_ents.c | 1706 (s1->modelindex+128) == FP_SABERTHROW) in CG_General() 1770 (s1->modelindex+128) == FP_SABERTHROW) in CG_General()
|
/dports/games/openjk/OpenJK-07675e2/code/qcommon/ |
H A D | q_shared.h | 748 FP_SABERTHROW, enumerator
|