Home
last modified time | relevance | path

Searched refs:absSpeed (Results 1 – 11 of 11) sorted by relevance

/dports/games/dustrac/DustRacing2D-ae380b8/src/game/
H A Dai.cpp124 const float absSpeed = m_car.absSpeed(); in speedControl() local
130 if (absSpeed > 14.0f * scale) in speedControl()
138 if (absSpeed > 9.5f * scale) in speedControl()
146 if (absSpeed > 7.0f * scale) in speedControl()
154 if (absSpeed > 8.3f * scale) in speedControl()
163 if (absSpeed > 5.0f) in speedControl()
170 if (absSpeed < 3.6f * scale) in speedControl()
H A Dcar.hpp90 float absSpeed() const;
H A Dcar.cpp266 return absSpeed() > 7.5f && s.lengthFast() > 0.25f; in isSliding()
274 float Car::absSpeed() const in absSpeed() function in Car
H A Dcarsoundeffectmanager.cpp60 const int speed = static_cast<int>(m_car.absSpeed() * 10.0); in processEngineSound()
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/common/src/world/
H A Dpolyobjs.cpp101 uint absSpeed; in T_RotatePoly() local
106 absSpeed = abs(pe->intSpeed); in T_RotatePoly()
114 pe->dist -= absSpeed; in T_RotatePoly()
127 if(pe->dist < absSpeed) in T_RotatePoly()
247 uint const absSpeed = abs(pe->intSpeed); in T_MovePoly() local
249 pe->dist -= absSpeed; in T_MovePoly()
261 if(pe->dist < absSpeed) in T_MovePoly()
481 int absSpeed = abs(pd->intSpeed); in T_PolyDoor() local
482 pd->dist -= absSpeed; in T_PolyDoor()
530 int absSpeed = abs(pd->intSpeed); in T_PolyDoor() local
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/
H A Dpo_man.c77 int absSpeed; in T_RotatePoly() local
82 absSpeed = abs(pe->speed); in T_RotatePoly()
88 pe->dist -= absSpeed; in T_RotatePoly()
100 if (pe->dist < absSpeed) in T_RotatePoly()
211 int absSpeed; in T_MovePoly() local
216 absSpeed = abs(pe->speed); in T_MovePoly()
217 pe->dist -= absSpeed; in T_MovePoly()
229 if (pe->dist < absSpeed) in T_MovePoly()
329 int absSpeed; in T_PolyDoor() local
348 pd->dist -= absSpeed; in T_PolyDoor()
[all …]
/dports/games/uhexen/uhexen-0.601/src/
H A Dpo_man.c75 int absSpeed; in T_RotatePoly() local
80 absSpeed = abs(pe->speed); in T_RotatePoly()
86 pe->dist -= absSpeed; in T_RotatePoly()
98 if(pe->dist < absSpeed) in T_RotatePoly()
207 int absSpeed; in T_MovePoly() local
212 absSpeed = abs(pe->speed); in T_MovePoly()
213 pe->dist -= absSpeed; in T_MovePoly()
225 if(pe->dist < absSpeed) in T_MovePoly()
324 int absSpeed; in T_PolyDoor() local
343 pd->dist -= absSpeed; in T_PolyDoor()
[all …]
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/hexen/
H A Dpo_man.c77 int absSpeed; in T_RotatePoly() local
82 absSpeed = abs(pe->speed); in T_RotatePoly()
88 pe->dist -= absSpeed; in T_RotatePoly()
100 if (pe->dist < absSpeed) in T_RotatePoly()
211 int absSpeed; in T_MovePoly() local
216 absSpeed = abs(pe->speed); in T_MovePoly()
217 pe->dist -= absSpeed; in T_MovePoly()
229 if (pe->dist < absSpeed) in T_MovePoly()
329 int absSpeed; in T_PolyDoor() local
348 pd->dist -= absSpeed; in T_PolyDoor()
[all …]
/dports/games/odamex/odamex-src-0.7.0/common/
H A Dpo_man.cpp178 int absSpeed = abs (m_Speed); in RunThink() local
184 m_Dist -= absSpeed; in RunThink()
195 else if (m_Dist < absSpeed) in RunThink()
292 int absSpeed = abs (m_Speed); in RunThink() local
293 m_Dist -= absSpeed; in RunThink()
304 else if (m_Dist < absSpeed) in RunThink()
374 int absSpeed; in RunThink() local
391 absSpeed = abs (m_Speed); in RunThink()
392 m_Dist -= absSpeed; in RunThink()
439 absSpeed = abs (m_Speed); in RunThink()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dpo_man.cpp470 int absSpeed = abs (m_Speed); in Tick() local
471 m_Dist -= absSpeed; in Tick()
477 else if (m_Dist < absSpeed) in Tick()
550 int absSpeed = abs (m_Speed); in Tick() local
551 m_Dist -= absSpeed; in Tick()
557 else if (m_Dist < absSpeed) in Tick()
621 int absSpeed; in Tick() local
639 absSpeed = abs (m_Speed); in Tick()
640 m_Dist -= absSpeed; in Tick()
681 absSpeed = abs (m_Speed); in Tick()
[all …]
H A Dp_enemy.cpp2523 const fixed_t absSpeed = abs (self->Speed); in P_CheckForResurrection() local
2525 FixedMul (absSpeed, xspeed[self->movedir]), in P_CheckForResurrection()
2526 FixedMul (absSpeed, yspeed[self->movedir]), true); in P_CheckForResurrection()