Home
last modified time | relevance | path

Searched refs:tankSpeed (Results 1 – 25 of 25) sorted by relevance

/dports/games/bzflag-server/bzflag-2.4.22/src/common/
H A DBZDBCache.cxx58 BZDBCache::Float BZDBCache::tankSpeed; member in BZDBCache
160 tankSpeed = getGoodPosValue(tankSpeed,StateDatabase::BZDB_TANKSPEED); in init()
256 tankSpeed = getGoodPosValue(tankSpeed,StateDatabase::BZDB_TANKSPEED); in serverCallback()
/dports/games/bzflag/bzflag-2.4.22/src/common/
H A DBZDBCache.cxx58 BZDBCache::Float BZDBCache::tankSpeed; member in BZDBCache
160 tankSpeed = getGoodPosValue(tankSpeed,StateDatabase::BZDB_TANKSPEED); in init()
256 tankSpeed = getGoodPosValue(tankSpeed,StateDatabase::BZDB_TANKSPEED); in serverCallback()
/dports/games/bzflag-server/bzflag-2.4.22/src/bzflag/
H A DRobotPlayer.cxx224 float tankSpeed = BZDBCache::tankSpeed; in doUpdateMotion() local
324 if (distance <= dt * tankSpeed) in doUpdateMotion()
328 setDesiredSpeed(distance / dt / tankSpeed); in doUpdateMotion()
H A DclientCommands.cxx922 roamDZoom = +2.0f * BZDBCache::tankSpeed; in cmdRoam()
924 roamDZoom = -2.0f * BZDBCache::tankSpeed; in cmdRoam()
H A DRoaming.cxx389 float nomDist = 4.0f * BZDBCache::tankSpeed; in updatePosition()
H A DLocalPlayer.cxx1139 float oldFrac = desiredSpeed / BZDBCache::tankSpeed; in setDesiredSpeed()
1159 desiredSpeed = BZDBCache::tankSpeed * fracOfMaxSpeed; in setDesiredSpeed()
H A DPlayer.cxx216 float maxSpeed = BZDBCache::tankSpeed; in getMaxSpeed()
H A Dplaying.cxx6650 deltaCamera.pos[0] = (float)(4 * myTank->getSpeed()) * BZDBCache::tankSpeed; in setupRoamingCamera()
6652 deltaCamera.pos[1] = (float)(4 * myTank->getRotation()) * BZDBCache::tankSpeed; in setupRoamingCamera()
6658 deltaCamera.pos[2] = (float)(4 * myTank->getSpeed()) * BZDBCache::tankSpeed; in setupRoamingCamera()
/dports/games/bzflag/bzflag-2.4.22/src/bzflag/
H A DRobotPlayer.cxx224 float tankSpeed = BZDBCache::tankSpeed; in doUpdateMotion() local
324 if (distance <= dt * tankSpeed) in doUpdateMotion()
328 setDesiredSpeed(distance / dt / tankSpeed); in doUpdateMotion()
H A DclientCommands.cxx922 roamDZoom = +2.0f * BZDBCache::tankSpeed; in cmdRoam()
924 roamDZoom = -2.0f * BZDBCache::tankSpeed; in cmdRoam()
H A DRoaming.cxx389 float nomDist = 4.0f * BZDBCache::tankSpeed; in updatePosition()
H A DLocalPlayer.cxx1139 float oldFrac = desiredSpeed / BZDBCache::tankSpeed; in setDesiredSpeed()
1159 desiredSpeed = BZDBCache::tankSpeed * fracOfMaxSpeed; in setDesiredSpeed()
H A DPlayer.cxx216 float maxSpeed = BZDBCache::tankSpeed; in getMaxSpeed()
H A Dplaying.cxx6650 deltaCamera.pos[0] = (float)(4 * myTank->getSpeed()) * BZDBCache::tankSpeed; in setupRoamingCamera()
6652 deltaCamera.pos[1] = (float)(4 * myTank->getRotation()) * BZDBCache::tankSpeed; in setupRoamingCamera()
6658 deltaCamera.pos[2] = (float)(4 * myTank->getSpeed()) * BZDBCache::tankSpeed; in setupRoamingCamera()
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/MoveMath/
H A DMoveMath.cpp59 case MoveDef::Tank: { return (GroundSpeedMod(moveDef, height, slope) * tt.tankSpeed ); } break; in GetPosSpeedMod()
100 …case MoveDef::Tank: { return (GroundSpeedMod(moveDef, height, slope, dirSlopeMod) * tt.tankSpeed in GetPosSpeedMod()
/dports/games/bzflag-server/bzflag-2.4.22/include/
H A DBZDBCache.h93 static Float tankSpeed; variable
/dports/games/bzflag/bzflag-2.4.22/include/
H A DBZDBCache.h93 static Float tankSpeed; variable
/dports/games/spring/spring_98.0/rts/Map/
H A DMapInfo.cpp398 terrType.tankSpeed = moveTable.GetFloat("tank", 1.0f); in ReadTerrainTypes()
405 terrType.tankSpeed = max(0.000f, terrType.tankSpeed); in ReadTerrainTypes()
H A DMapInfo.h220 float tankSpeed; ///< "TankMoveSpeed" member
/dports/games/spring/spring_98.0/rts/Game/UI/
H A DTooltipConsole.cpp328 tt->tankSpeed, tt->kbotSpeed, tt->hoverSpeed, tt->shipSpeed, in MakeGroundString()
/dports/games/bzflag-server/bzflag-2.4.22/src/bzfs/
H A Dbzfs.cxx3679 const float tankSpeed = BZDBCache::tankSpeed; in grabFlag() local
3680 … const float radius2 = (tankSpeed + tankRadius + BZDBCache::flagRadius) * (tankSpeed + tankRadius + in grabFlag()
4132 const float maxTankSpeed = BZDBCache::tankSpeed; in shotFired()
4134 float tankSpeed = maxTankSpeed; in shotFired() local
4144 tankSpeed = 0.0f; in shotFired()
4147 tankSpeed *= tankSpeedMult; in shotFired()
4149 tankSpeed *= BZDB.eval(StateDatabase::BZDB_THIEFVELAD); in shotFired()
4154 tankSpeed *= BZDB.eval(StateDatabase::BZDB_AGILITYADVEL); in shotFired()
4160 tankSpeed *= tankSpeedMult; in shotFired()
4164 shotSpeed += tankSpeed; in shotFired()
[all …]
/dports/games/bzflag/bzflag-2.4.22/src/bzfs/
H A Dbzfs.cxx3679 const float tankSpeed = BZDBCache::tankSpeed; in grabFlag() local
3680 … const float radius2 = (tankSpeed + tankRadius + BZDBCache::flagRadius) * (tankSpeed + tankRadius + in grabFlag()
4132 const float maxTankSpeed = BZDBCache::tankSpeed; in shotFired()
4134 float tankSpeed = maxTankSpeed; in shotFired() local
4144 tankSpeed = 0.0f; in shotFired()
4147 tankSpeed *= tankSpeedMult; in shotFired()
4149 tankSpeed *= BZDB.eval(StateDatabase::BZDB_THIEFVELAD); in shotFired()
4154 tankSpeed *= BZDB.eval(StateDatabase::BZDB_AGILITYADVEL); in shotFired()
4160 tankSpeed *= tankSpeedMult; in shotFired()
4164 shotSpeed += tankSpeed; in shotFired()
[all …]
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/
H A DMoveDefHandler.cpp111 crc << terrType.tankSpeed << terrType.kbotSpeed; in MoveDefHandler()
/dports/games/spring/spring_98.0/rts/Lua/
H A DLuaSyncedCtrl.cpp3583 if (args >= 2 && lua_isnumber(L, 2)) { tt->tankSpeed = lua_tofloat(L, 2); } in SetTerrainTypeData()
H A DLuaSyncedRead.cpp478 lua_pushnumber(L, tt->tankSpeed); in PushTerrainTypeData()