Home
last modified time | relevance | path

Searched refs:PUSH_FACTOR (Results 1 – 12 of 12) sorted by relevance

/dports/games/edge/Edge-1.35-source/src/
H A Dp_forces.cc48 #define PUSH_FACTOR 64.0f // should be 128 ?? macro
195 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()
/dports/games/tuxracer/tuxracer-0.61/src/
H A Dui_snow.c38 #define PUSH_FACTOR 0.5 macro
142 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()
/dports/games/vavoom/vavoom-1.33/progs/common/linespec/
H A DPusher.vc89 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;
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dp_spec.c4085 #define PUSH_FACTOR 7 macro
4101 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()
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dp_spec.c3118 #define PUSH_FACTOR 7 macro
3170 >>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()
/dports/games/prboom/prboom-2.5.0/src/
H A Dp_spec.c3077 #define PUSH_FACTOR 7 macro
3129 >>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()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_spec.cpp2132 #define PUSH_FACTOR 7 macro
2239 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()
/dports/games/odamex/odamex-src-0.7.0/common/
H A Dp_spec.cpp2600 #define PUSH_FACTOR 7 macro
2649 ((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()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dp_spec.c3224 #define PUSH_FACTOR 7 macro
3276 >>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()
/dports/games/etracer/etr-0.8.1/src/
H A Dparticles.cpp46 #define PUSH_FACTOR 0.5 macro
111 f = PUSH_FACTOR / push_timestep * push_vector; in Update()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dp_spec.c8386 #define PUSH_FACTOR 7 macro
8421 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()
/dports/games/openbor/openbor-3caaddd5/engine/
H A Dopenbor.c26400 float PUSH_FACTOR = ent->modeldata.pushingfactor; in check_entity_collision() local
26418 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()