Home
last modified time | relevance | path

Searched refs:FP_SABERTHROW (Results 1 – 25 of 34) sorted by relevance

12

/dports/games/openjk/OpenJK-07675e2/codeJK2/game/
H A Dwp_saber.cpp4085 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 Dg_svcmds.cpp392 Svcmd_ForceSetLevel_f( FP_SABERTHROW ); in Svcmd_SetSaberAll_f()
568 { "setSaberThrow", Svcmd_ForceSetLevel_f<FP_SABERTHROW>, CMD_CHEAT },
H A Dg_itemLoad.cpp426 tag = FP_SABERTHROW; in IT_Tag()
H A DAI_Jedi.cpp789 && 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 Dbg_misc.c219 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 Dbg_saber.c2699 …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 Dbg_saga.c134 ENUM2STRING(FP_SABERTHROW),
H A Dw_saber.c4069 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 Dw_force.c404 …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 Dg_misc.c902 …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 Dwp_saber.h197 #define FORCE_POWERS_ROSH_FROM_TWINS ((1<<FP_SPEED)|(1<<FP_GRIP)|(1<<FP_RAGE)|(1<<FP_SABERTHROW))
H A Dg_svcmds.cpp649 Svcmd_ForceSetLevel_f( FP_SABERTHROW ); in Svcmd_SetSaberAll_f()
912 { "setSaberThrow", Svcmd_ForceSetLevel_f<FP_SABERTHROW>, CMD_CHEAT },
H A Dwp_saber.cpp6591 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 Dg_itemLoad.cpp429 tag = FP_SABERTHROW; in IT_Tag()
H A Dg_target.cpp995 gi.cvar_set("ui_stats_throw", va("%d",client->sess.missionStats.forceUsed[FP_SABERTHROW])); in set_mission_stats_cvars()
H A DAI_Jedi.cpp1455 && 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 DNPC_stats.cpp82 ENUM2STRING(FP_SABERTHROW),
/dports/games/openjk/OpenJK-07675e2/codemp/ui/
H A Dui_force.c419 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 Dq_shared.h384 FP_SABERTHROW, enumerator
/dports/games/openjk/OpenJK-07675e2/codeJK2/cgame/
H A Dcg_ents.cpp599 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 Dcg_main.cpp3196 FP_SABERTHROW,
/dports/games/openjk/OpenJK-07675e2/code/cgame/
H A Dcg_ents.cpp618 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 Dui_main.cpp4499 { "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 Dcg_ents.c1706 (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 Dq_shared.h748 FP_SABERTHROW, enumerator

12