Searched refs:PUSH_FACTOR (Results 1 – 12 of 12) sorted by relevance
48 #define PUSH_FACTOR 64.0f // should be 128 ?? macro195 f->magnitude = length * mo->info->speed / PUSH_FACTOR / 24.0f; in P_AddPointForce()207 f->mag.x = x_mag / PUSH_FACTOR; in P_AddSectorForce()208 f->mag.y = y_mag / PUSH_FACTOR; in P_AddSectorForce()
38 #define PUSH_FACTOR 0.5 macro142 f.x = PUSH_FACTOR * push_vector.x / push_timestep; in update_ui_snow()144 f.y = PUSH_FACTOR * push_vector.y / push_timestep; in update_ui_snow()
89 float PUSH_FACTOR;223 speed = itof(Magnitude - (ftoi(dist) >> 1)) / (2.0 * PUSH_FACTOR);322 thing.Velocity.x += (itof(xspeed) / PUSH_FACTOR) * 35.0 * DeltaTime;323 thing.Velocity.y += (itof(yspeed) / PUSH_FACTOR) * 35.0 * DeltaTime;329 PUSH_FACTOR = 128.0;
4085 #define PUSH_FACTOR 7 macro4101 p->magnitude = P_AproxDistance(p->x_mag,p->y_mag)<<(FRACBITS-PUSH_FACTOR); in Add_Pusher()4136 ((dist>>FRACBITS)>>1))<<(FRACBITS-PUSH_FACTOR-1); in PIT_PushThing()4352 thing->momx += xspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()4353 thing->momy += yspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()4503 thing->momx += xspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()4504 thing->momy += yspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()
3118 #define PUSH_FACTOR 7 macro3170 >>FRACBITS)>>1))<<(FRACBITS-PUSH_FACTOR-1); in PIT_PushThing()3325 thing->momx += xspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()3326 thing->momy += yspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()
3077 #define PUSH_FACTOR 7 macro3129 >>FRACBITS)>>1))<<(FRACBITS-PUSH_FACTOR-1); in PIT_PushThing()3284 thing->momx += xspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()3285 thing->momy += yspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()
2132 #define PUSH_FACTOR 7 macro2239 int speed = (m_Magnitude - ((dist>>FRACBITS)>>1))<<(FRACBITS-PUSH_FACTOR-1); in Tick()2324 thing->velx += xspeed<<(FRACBITS-PUSH_FACTOR); in Tick()2325 thing->vely += yspeed<<(FRACBITS-PUSH_FACTOR); in Tick()
2600 #define PUSH_FACTOR 7 macro2649 ((dist>>FRACBITS)>>1))<<(FRACBITS-PUSH_FACTOR-1); in PIT_PushThing()2798 thing->momx += xspeed<<(FRACBITS-PUSH_FACTOR); in RunThink()2799 thing->momy += yspeed<<(FRACBITS-PUSH_FACTOR); in RunThink()
3224 #define PUSH_FACTOR 7 macro3276 >>FRACBITS)>>1))<<(FRACBITS-PUSH_FACTOR-1); in PIT_PushThing()3431 thing->momx += xspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()3432 thing->momy += yspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()
46 #define PUSH_FACTOR 0.5 macro111 f = PUSH_FACTOR / push_timestep * push_vector; in Update()
8386 #define PUSH_FACTOR 7 macro8421 p->magnitude = P_AproxDistance(p->x_mag,p->y_mag)<<(FRACBITS-PUSH_FACTOR); in Add_Pusher()8485 speed = (tmpusher->magnitude - ((dist>>FRACBITS)>>1))<<(FRACBITS - PUSH_FACTOR - 1); in PIT_PushThing()8804 thing->momx += xspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()8805 thing->momy += yspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()8808 thing->player->cmomx += xspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()8809 thing->player->cmomy += yspeed<<(FRACBITS-PUSH_FACTOR); in T_Pusher()8816 …thing->momz += P_AproxDistance(xspeed<<(FRACBITS-PUSH_FACTOR), yspeed<<(FRACBITS-PUSH_FACTOR)) >> … in T_Pusher()8830 …hing->angle = R_PointToAngle2 (0, 0, xspeed<<(FRACBITS-PUSH_FACTOR), yspeed<<(FRACBITS-PUSH_FACTOR… in T_Pusher()
26400 float PUSH_FACTOR = ent->modeldata.pushingfactor; in check_entity_collision() local26418 if (entity_pushing && !PUSH_FACTOR) PUSH_FACTOR = 1.0f; in check_entity_collision()26546 if (ent->movex != -1 * target->movex || (!target->movex)) ent->movex -= PUSH_FACTOR; in check_entity_collision()26562 if (ent->movex != -1 * target->movex || (!target->movex)) ent->movex += PUSH_FACTOR; in check_entity_collision()26581 if (ent->movez != -1 * target->movez || (!target->movez)) ent->movez += PUSH_FACTOR; in check_entity_collision()26598 if (ent->movez != -1 * target->movez || (!target->movez)) ent->movez -= PUSH_FACTOR; in check_entity_collision()