Home
last modified time | relevance | path

Searched refs:moveDist (Results 1 – 14 of 14) sorted by relevance

/dports/games/opendungeons/OpenDungeons-0.7.1/source/entities/
H A DMissileObject.cpp97 double moveDist = getMoveSpeed(); in doUpkeep() local
100 mIsMissileAlive = computeDestination(position, moveDist, mDirection, destination, tiles); in doUpkeep()
133 … mIsMissileAlive = computeDestination(position, moveDist, mDirection, destination, tiles); in doUpkeep()
148 moveDist -= lastPos.distance(curPos); in doUpkeep()
177 destination -= moveDist * mDirection; in doUpkeep()
193 destination -= moveDist * mDirection; in doUpkeep()
204 bool MissileObject::computeDestination(const Ogre::Vector3& position, double moveDist, const Ogre::… in computeDestination() argument
207 destination = position + (moveDist * direction); in computeDestination()
H A DMovableGameEntity.cpp232 double moveDist = ODApplication::turnsPerSecond in update() local
240 while(moveDist > 0.0) in update()
243 if(distToNextDest > moveDist) in update()
245 newPosition = newPosition + walkDirection * static_cast<Ogre::Real>(moveDist); in update()
252 moveDist -= distToNextDest; in update()
H A DMissileObject.h106 …bool computeDestination(const Ogre::Vector3& position, double moveDist, const Ogre::Vector3& direc…
/dports/games/opendungeons/OpenDungeons-0.7.1/source/renderscene/
H A DRenderSceneMoveEntity.cpp78 Ogre::Real moveDist = mSpeed * timeSinceLastFrame; in update() local
80 if(distToDest > moveDist) in update()
82 mPosition = mPosition + walkDirection * moveDist; in update()
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dtilemode.cpp1387 t.u += moveDist; in cheatMove()
1388 t.v += moveDist; in cheatMove()
1393 t.u -= moveDist; in cheatMove()
1394 t.v -= moveDist; in cheatMove()
1399 t.u += moveDist; in cheatMove()
1404 t.v += moveDist; in cheatMove()
1409 t.v -= moveDist; in cheatMove()
1414 t.u -= moveDist; in cheatMove()
1419 t.u -= moveDist; in cheatMove()
1420 t.v += moveDist; in cheatMove()
[all …]
/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dwl_cloudsky.cpp214 fixed moveDist = tics * curSky->speed; in DrawClouds() local
215 cloudx += FixedMul(moveDist,finesine[curSky->angle>>ANGLETOFINESHIFT]); in DrawClouds()
216 cloudy -= FixedMul(moveDist,finecosine[curSky->angle>>ANGLETOFINESHIFT]); in DrawClouds()
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/tools/GUIEditor/
H A DCGUITextureCacheBrowser.cpp111 core::position2di moveDist(0, h+5); in updateImageList() local
175 pos = pos + moveDist; in updateImageList()
/dports/games/openjk/OpenJK-07675e2/code/game/
H A Dg_emplaced.cpp105 float moveDist; in EWebPositionUser() local
108 moveDist = VectorNormalize( moveDir ); in EWebPositionUser()
109 if ( moveDist > 4.0f ) in EWebPositionUser()
/dports/games/keeperrl/keeperrl-alpha23/
H A Dmap_gui.cpp874 double moveDist = min(offset, max(offset, 4.0) * 10 * timeDiff / 1000); in processScrolling() local
877 center.x += offsetx * moveDist; in processScrolling()
878 center.y += offsety * moveDist; in processScrolling()
/dports/games/iortcw/iortcw-1.51c/MP/code/game/
H A Dai_cast_funcs.c2712 float moveDist; in AIFunc_BattleChase() local
2721 moveDist = VectorNormalize( vec ); in AIFunc_BattleChase()
2732 …gsTimer && cs->lastRollMove < level.time - 800 && move.numtouch == 0 && moveDist > simTime * cs->a… in AIFunc_BattleChase()
2737 … cs->castScriptStatus.castScriptEventIndex < 0 && move.numtouch == 0 && moveDist > simTime * cs->a… in AIFunc_BattleChase()
3032 float dist, moveDist; in AIFunc_BattleTakeCover() local
3172 moveDist = VectorNormalize( vec ); in AIFunc_BattleTakeCover()
3183 …dex < 0 && cs->lastRollMove < level.time - 800 && move.numtouch == 0 && moveDist > 64 && move.grou… in AIFunc_BattleTakeCover()
3201 … cs->castScriptStatus.castScriptEventIndex < 0 && move.numtouch == 0 && moveDist > simTime * cs->a… in AIFunc_BattleTakeCover()
/dports/games/iortcw/iortcw-1.51c/SP/code/game/
H A Dai_cast_funcs.c2984 float moveDist; in AIFunc_BattleChase() local
2993 moveDist = VectorNormalize( vec ); in AIFunc_BattleChase()
3004 … ( cs->lastRollMove < level.time - 800 ) && ( move.numtouch == 0 ) && ( moveDist > simTime * cs->a… in AIFunc_BattleChase()
3010 … cs->castScriptStatus.castScriptEventIndex < 0 && move.numtouch == 0 && moveDist > simTime * cs->a… in AIFunc_BattleChase()
3304 float dist, moveDist; in AIFunc_BattleTakeCover() local
3472 moveDist = VectorNormalize( vec ); in AIFunc_BattleTakeCover()
3483 …x < 0 && cs->lastRollMove < level.time - 800 && move.numtouch == 0 && ( moveDist > simTime * cs->a… in AIFunc_BattleTakeCover()
3502 … cs->castScriptStatus.castScriptEventIndex < 0 && move.numtouch == 0 && moveDist > simTime * cs->a… in AIFunc_BattleTakeCover()
/dports/games/openjk/OpenJK-07675e2/codemp/rd-dedicated/
H A DG2_bones.cpp3649 vec3_t moveDist; in G2_RagDollSettlePositionNumeroTrois()
3653 VectorSubtract(goalSpot, e.currentOrigin, moveDist); in G2_RagDollSettlePositionNumeroTrois()
3654 len = VectorLength(moveDist); in G2_RagDollSettlePositionNumeroTrois()
3658 VectorScale(moveDist, extent/len, moveDist); in G2_RagDollSettlePositionNumeroTrois()
3659 VectorAdd(e.currentOrigin, moveDist, goalSpot); in G2_RagDollSettlePositionNumeroTrois()
/dports/games/openjk/OpenJK-07675e2/codemp/rd-vanilla/
H A DG2_bones.cpp3861 vec3_t moveDist; in G2_RagDollSettlePositionNumeroTrois()
3865 VectorSubtract(goalSpot, e.currentOrigin, moveDist); in G2_RagDollSettlePositionNumeroTrois()
3866 len = VectorLength(moveDist); in G2_RagDollSettlePositionNumeroTrois()
3870 VectorScale(moveDist, extent/len, moveDist); in G2_RagDollSettlePositionNumeroTrois()
3871 VectorAdd(e.currentOrigin, moveDist, goalSpot); in G2_RagDollSettlePositionNumeroTrois()
/dports/games/openjk/OpenJK-07675e2/code/rd-vanilla/
H A DG2_bones.cpp3749 vec3_t moveDist; in G2_RagDollSettlePositionNumeroTrois()
3753 VectorSubtract(goalSpot, e.currentOrigin, moveDist); in G2_RagDollSettlePositionNumeroTrois()
3754 len = VectorLength(moveDist); in G2_RagDollSettlePositionNumeroTrois()
3758 VectorScale(moveDist, extent/len, moveDist); in G2_RagDollSettlePositionNumeroTrois()
3759 VectorAdd(e.currentOrigin, moveDist, goalSpot); in G2_RagDollSettlePositionNumeroTrois()