Home
last modified time | relevance | path

Searched refs:pushangle (Results 1 – 8 of 8) sorted by relevance

/dports/games/vavoom/vavoom-1.33/progs/common/linespec/
H A DPusher.vc216 float pushangle;
230 pushangle = atan2(sy - thing.Origin.y, sx - thing.Origin.x);
232 pushangle += 180.0; // away
233 thing.Velocity.x += speed * cos(pushangle) * 35.0 * DeltaTime;
234 thing.Velocity.y += speed * sin(pushangle) * 35.0 * DeltaTime;
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dp_spec.c3163 angle_t pushangle; in PIT_PushThing() local
3192 pushangle = R_PointToAngle2(thing->x,thing->y,sx,sy); in PIT_PushThing()
3194 pushangle += ANG180; // away in PIT_PushThing()
3195 pushangle >>= ANGLETOFINESHIFT; in PIT_PushThing()
3196 thing->momx += FixedMul(speed,finecosine[pushangle]); in PIT_PushThing()
3197 thing->momy += FixedMul(speed,finesine[pushangle]); in PIT_PushThing()
/dports/games/prboom/prboom-2.5.0/src/
H A Dp_spec.c3122 angle_t pushangle; in PIT_PushThing() local
3151 pushangle = R_PointToAngle2(thing->x,thing->y,sx,sy); in PIT_PushThing()
3153 pushangle += ANG180; // away in PIT_PushThing()
3154 pushangle >>= ANGLETOFINESHIFT; in PIT_PushThing()
3155 thing->momx += FixedMul(speed,finecosine[pushangle]); in PIT_PushThing()
3156 thing->momy += FixedMul(speed,finesine[pushangle]); in PIT_PushThing()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dp_spec.c3269 angle_t pushangle; in PIT_PushThing() local
3298 pushangle = R_PointToAngle2(thing->x,thing->y,sx,sy); in PIT_PushThing()
3300 pushangle += ANG180; // away in PIT_PushThing()
3301 pushangle >>= ANGLETOFINESHIFT; in PIT_PushThing()
3302 thing->momx += FixedMul(speed,finecosine[pushangle]); in PIT_PushThing()
3303 thing->momy += FixedMul(speed,finesine[pushangle]); in PIT_PushThing()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_spec.cpp2246 angle_t pushangle = thing->AngleTo(sx, sy); in Tick() local
2248 pushangle += ANG180; // away in Tick()
2249 pushangle >>= ANGLETOFINESHIFT; in Tick()
2250 thing->velx += FixedMul (speed, finecosine[pushangle]); in Tick()
2251 thing->vely += FixedMul (speed, finesine[pushangle]); in Tick()
/dports/games/odamex/odamex-src-0.7.0/common/
H A Dp_spec.cpp2656 angle_t pushangle = P_PointToAngle (thing->x, thing->y, sx, sy); in PIT_PushThing() local
2658 pushangle += ANG180; // away in PIT_PushThing()
2659 pushangle >>= ANGLETOFINESHIFT; in PIT_PushThing()
2660 thing->momx += FixedMul (speed, finecosine[pushangle]); in PIT_PushThing()
2661 thing->momy += FixedMul (speed, finesine[pushangle]); in PIT_PushThing()
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dp_spec.c4127 angle_t pushangle; in PIT_PushThing() local
4154 pushangle = R_PointToAngle2(thing->x,thing->y,sx,sy); in PIT_PushThing()
4156 pushangle += ANG180; // away in PIT_PushThing()
4157 thing->momx += FixedMul(speed, cosine_ANG(pushangle)); in PIT_PushThing()
4158 thing->momy += FixedMul(speed, sine_ANG(pushangle)); in PIT_PushThing()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dp_spec.c8524 angle_t pushangle; in PIT_PushThing() local
8526 pushangle = R_PointToAngle2(thing->x, thing->y, sx, sy); in PIT_PushThing()
8528 pushangle += ANGLE_180; // away in PIT_PushThing()
8529 pushangle >>= ANGLETOFINESHIFT; in PIT_PushThing()
8530 thing->momx += FixedMul(speed, FINECOSINE(pushangle)); in PIT_PushThing()
8531 thing->momy += FixedMul(speed, FINESINE(pushangle)); in PIT_PushThing()
8535 thing->player->cmomx += FixedMul(speed, FINECOSINE(pushangle)); in PIT_PushThing()
8536 thing->player->cmomy += FixedMul(speed, FINESINE(pushangle)); in PIT_PushThing()