Home
last modified time | relevance | path

Searched refs:pitchLimit (Results 1 – 17 of 17) sorted by relevance

/dports/x11-fm/xcruise/xcruiser-0.30/
H A DMainScreeP.h87 int pitchLimit; member
H A DMainScreen.c341 offset(mainScreen.pitchLimit),
1229 move_ship_polar(&scr->curview, scr->velocity, dx, dy, scr->pitchLimit); in MainScreenIdleTask()
/dports/games/cake/cake_src/cake/
H A Dclient.h284 bool pitchLimit; /**< pitch limitation */ variable
H A Dclient.cpp39 pitchLimit = true; // pitch limit enabled by default in Client()
318 if (pitchLimit) in Update()
/dports/games/openjk/OpenJK-07675e2/codemp/game/
H A DFighterNPC.c1253 if ( pVeh->m_pVehicleInfo->pitchLimit != -1 in FighterPitchClamp()
1257 if (pVeh->m_vOrientation[PITCH] > pVeh->m_pVehicleInfo->pitchLimit ) in FighterPitchClamp()
1259 pVeh->m_vOrientation[PITCH] = pVeh->m_pVehicleInfo->pitchLimit; in FighterPitchClamp()
1261 else if (pVeh->m_vOrientation[PITCH] < -pVeh->m_pVehicleInfo->pitchLimit) in FighterPitchClamp()
1263 pVeh->m_vOrientation[PITCH] = -pVeh->m_pVehicleInfo->pitchLimit; in FighterPitchClamp()
H A Dbg_vehicles.h170 float pitchLimit; //how far it can roll forward or backward member
H A Dbg_vehicleLoad.c410 {"pitchLimit", VFOFS(pitchLimit), VF_FLOAT}, //how far it can roll forward or backward
H A Dbg_pmove.c514 || ( pVeh->m_pVehicleInfo->pitchLimit == 0 && pVeh->m_pVehicleInfo->rollLimit == 0 ) ) in PM_SetVehicleAngles()
591 if ( pVeh->m_pVehicleInfo->pitchLimit != -1 ) in PM_SetVehicleAngles()
593 if ( vAngles[PITCH] > pVeh->m_pVehicleInfo->pitchLimit ) in PM_SetVehicleAngles()
595 vAngles[PITCH] = pVeh->m_pVehicleInfo->pitchLimit; in PM_SetVehicleAngles()
597 else if ( vAngles[PITCH] < -pVeh->m_pVehicleInfo->pitchLimit ) in PM_SetVehicleAngles()
599 vAngles[PITCH] = -pVeh->m_pVehicleInfo->pitchLimit; in PM_SetVehicleAngles()
/dports/games/barony/Barony-3.3.7/src/
H A Dacthudweapon.cpp2231 real_t pitchLimit = .2; in actHudWeapon() local
2234 pitchLimit = -PI / 2; in actHudWeapon()
2241 if ( HUDWEAPON_PITCH < pitchLimit ) in actHudWeapon()
2243 HUDWEAPON_PITCH = pitchLimit; in actHudWeapon()
2249 if (HUDWEAPON_PITCH == pitchLimit && HUDWEAPON_YAW == result in actHudWeapon()
2394 real_t pitchLimit = .2; in actHudWeapon() local
2396 if ( HUDWEAPON_PITCH < pitchLimit ) in actHudWeapon()
2398 HUDWEAPON_PITCH = pitchLimit; in actHudWeapon()
H A Dactplayer.cpp4196 double pitchLimit = PI / 4.f; in actPlayer() local
4200 pitchLimit = PI / 8.f; in actPlayer()
4279 if ( entity->pitch < -pitchLimit ) in actPlayer()
4281 entity->pitch = -pitchLimit; in actPlayer()
4307 if ( entity->pitch > pitchLimit ) in actPlayer()
4309 entity->pitch = pitchLimit; in actPlayer()
4712 double pitchLimit = PI / 4.f; in actPlayer() local
4716 pitchLimit = PI / 8.f; in actPlayer()
4730 entity->pitch = -pitchLimit; in actPlayer()
4736 if ( entity->pitch > pitchLimit ) in actPlayer()
[all …]
/dports/games/openjk/OpenJK-07675e2/code/game/
H A Dg_vehicleLoad.cpp58 {"pitchLimit", VFOFS(pitchLimit), VF_FLOAT}, //how far it can roll forward or backward
H A Dg_vehicles.h183 float pitchLimit; //how far it can roll forward or backward member
H A Dbg_vehicleLoad.cpp505 {"pitchLimit", VFOFS(pitchLimit), VF_FLOAT}, //how far it can roll forward or backward
H A Dbg_pangles.cpp1471 pitchMax = pVeh->m_pVehicleInfo->pitchLimit; in PM_UpdateViewAngles()
H A Dbg_pmove.cpp4523 || ( pVeh->m_pVehicleInfo->pitchLimit <= 0 && pVeh->m_pVehicleInfo->rollLimit <= 0 ) ) in PM_SetVehicleAngles()
4643 if ( vAngles[PITCH] > pVeh->m_pVehicleInfo->pitchLimit ) in PM_SetVehicleAngles()
4645 vAngles[PITCH] = pVeh->m_pVehicleInfo->pitchLimit; in PM_SetVehicleAngles()
4647 else if ( vAngles[PITCH] < -pVeh->m_pVehicleInfo->pitchLimit ) in PM_SetVehicleAngles()
4649 vAngles[PITCH] = -pVeh->m_pVehicleInfo->pitchLimit; in PM_SetVehicleAngles()
/dports/games/cake/cake_src/
H A Dmain.cpp1189 client->pitchLimit = !client->pitchLimit; in cmd_tpl()
/dports/games/warzone2100/warzone2100/src/
H A Dmove.cpp385 int newPitch, deltaPitch, pitchLimit; in updateDroidOrientation() local
423 pitchLimit = gameTimeAdjustedIncrement(DEG(PITCH_LIMIT)); in updateDroidOrientation()
424 deltaPitch = MAX(deltaPitch, -pitchLimit); in updateDroidOrientation()