Home
last modified time | relevance | path

Searched refs:closestaxis (Results 1 – 2 of 2) sorted by relevance

/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dp_user.c498 if (closestaxis == NULL) in P_TransferToNextMare()
500 closestaxis = mo2; in P_TransferToNextMare()
510 closestaxis = mo2; in P_TransferToNextMare()
517 if (closestaxis == NULL) in P_TransferToNextMare()
602 mobj_t *closestaxis; in P_TransferToAxis() local
608 closestaxis = NULL; in P_TransferToAxis()
626 if (closestaxis == NULL) in P_TransferToAxis()
628 closestaxis = mo2; in P_TransferToAxis()
637 closestaxis = mo2; in P_TransferToAxis()
643 if (!closestaxis) in P_TransferToAxis()
[all …]
H A Dp_mobj.c6117 mobj_t *closestaxis = NULL; in P_GetClosestAxis() local
6130 if (closestaxis == NULL) in P_GetClosestAxis()
6132 closestaxis = mo2; in P_GetClosestAxis()
6141 closestaxis = mo2; in P_GetClosestAxis()
6148 if (closestaxis == NULL) in P_GetClosestAxis()
6151 return closestaxis; in P_GetClosestAxis()
6154 static void P_GimmeAxisXYPos(mobj_t *closestaxis, degenmobj_t *mobj) in P_GimmeAxisXYPos() argument
6156 …const angle_t fa = R_PointToAngle2(closestaxis->x, closestaxis->y, mobj->x, mobj->y)>>ANGLETOFINES… in P_GimmeAxisXYPos()
6158 mobj->x = closestaxis->x + FixedMul(FINECOSINE(fa),closestaxis->radius); in P_GimmeAxisXYPos()
6159 mobj->y = closestaxis->y + FixedMul(FINESINE(fa),closestaxis->radius); in P_GimmeAxisXYPos()