/dports/games/bzflag-server/bzflag-2.4.22/src/bzfs/ |
H A D | SpawnPolicy.cxx | 82 const float tankRadius = BZDBCache::tankRadius; in getPosition() local 83 … safeSWRadius = (float)((BZDB.eval(StateDatabase::BZDB_SHOCKOUTRADIUS) + BZDBCache::tankRadius) * in getPosition() 85 safeSRRadius = tankRadius * BZDB.eval("_spawnSafeSRMod"); in getPosition() 86 safeDistance = tankRadius * BZDB.eval("_spawnSafeRadMod"); in getPosition() 109 testPos[0] = ((float)bzfrand() - 0.5f) * (size - 2.0f * tankRadius); in getPosition() 110 testPos[1] = ((float)bzfrand() - 0.5f) * (size - 2.0f * tankRadius); in getPosition()
|
H A D | TeamBases.cxx | 134 float deltaX = (size[0] - 2.0f * BZDBCache::tankRadius) * ((float)bzfrand() - 0.5f); in getRandomPosition() 135 float deltaY = (size[1] - 2.0f * BZDBCache::tankRadius) * ((float)bzfrand() - 0.5f); in getRandomPosition()
|
H A D | DropGeometry.cxx | 72 bool value = dropIt(pos, minZ, maxZ, BZDBCache::tankRadius, tankHeight, -1); in dropPlayer() 81 return dropIt(pos, minZ, maxZ, BZDBCache::tankRadius, flagHeight, -1); in dropFlag()
|
H A D | bzfs.cxx | 3678 const float tankRadius = BZDBCache::tankRadius; in grabFlag() local 3680 … const float radius2 = (tankSpeed + tankRadius + BZDBCache::flagRadius) * (tankSpeed + tankRadius + in grabFlag()
|
/dports/games/bzflag/bzflag-2.4.22/src/bzfs/ |
H A D | SpawnPolicy.cxx | 82 const float tankRadius = BZDBCache::tankRadius; in getPosition() local 83 … safeSWRadius = (float)((BZDB.eval(StateDatabase::BZDB_SHOCKOUTRADIUS) + BZDBCache::tankRadius) * in getPosition() 85 safeSRRadius = tankRadius * BZDB.eval("_spawnSafeSRMod"); in getPosition() 86 safeDistance = tankRadius * BZDB.eval("_spawnSafeRadMod"); in getPosition() 109 testPos[0] = ((float)bzfrand() - 0.5f) * (size - 2.0f * tankRadius); in getPosition() 110 testPos[1] = ((float)bzfrand() - 0.5f) * (size - 2.0f * tankRadius); in getPosition()
|
H A D | TeamBases.cxx | 134 float deltaX = (size[0] - 2.0f * BZDBCache::tankRadius) * ((float)bzfrand() - 0.5f); in getRandomPosition() 135 float deltaY = (size[1] - 2.0f * BZDBCache::tankRadius) * ((float)bzfrand() - 0.5f); in getRandomPosition()
|
H A D | DropGeometry.cxx | 72 bool value = dropIt(pos, minZ, maxZ, BZDBCache::tankRadius, tankHeight, -1); in dropPlayer() 81 return dropIt(pos, minZ, maxZ, BZDBCache::tankRadius, flagHeight, -1); in dropFlag()
|
H A D | bzfs.cxx | 3678 const float tankRadius = BZDBCache::tankRadius; in grabFlag() local 3680 … const float radius2 = (tankSpeed + tankRadius + BZDBCache::flagRadius) * (tankSpeed + tankRadius + in grabFlag()
|
/dports/games/bzflag-server/bzflag-2.4.22/src/bzflag/ |
H A D | RobotPlayer.cxx | 94 …tance = hypotf(deltax,deltay) - BZDB.eval(StateDatabase::BZDB_MUZZLEFRONT) - BZDBCache::tankRadius; in getProjectedPosition() 130 float tankRadius = BZDBCache::tankRadius; in doUpdate() local 160 BZDB.eval(StateDatabase::BZDB_MUZZLEFRONT) - tankRadius; in doUpdate() 192 float impact = rayAtDistanceFromOrigin(ray, 5 * BZDBCache::tankRadius); in doUpdate() 293 float tankRadius = BZDBCache::tankRadius; in doUpdateMotion() local 295 if (distance <= 2.5f * tankRadius) in doUpdateMotion()
|
H A D | RadarRenderer.cxx | 169 const float tankRadius = BZDBCache::tankRadius; in drawTank() local 172 if (tankRadius < minSize) in drawTank() 175 size = tankRadius; in drawTank() 290 float tankRadius = BZDBCache::tankRadius; in drawFlagOnTank() local 291 GLfloat s = 2.5f * tankRadius > 4.0f * ps ? 2.5f * tankRadius : 4.0f * ps; in drawFlagOnTank()
|
H A D | Player.cxx | 111 const float sphereRad = (1.5f * BZDBCache::tankRadius); in Player() 209 return (dimensionsScale[0] * BZDBCache::tankRadius); in getRadius() 230 float front = (dimensionsScale[0] * BZDBCache::tankRadius); in getMuzzle() 277 World::getWorld()->getProximity(state.pos, BZDBCache::tankRadius); in move() 643 World::getWorld()->getProximity(state.pos, BZDBCache::tankRadius); in updateTranslucency() 1004 1.5f * BZDBCache::tankRadius * dimensionsScale[0]); in addToScene()
|
H A D | BaseLocalPlayer.cxx | 101 float size = BZDBCache::tankRadius; in update()
|
H A D | playing.cxx | 4484 const float tankRadius = BZDBCache::tankRadius; in addObstacle() local 4490 const float w = obstacle.getWidth() + tankRadius; in addObstacle() 4542 const float tankRadius = BZDBCache::tankRadius; in makeObstacleList() local 4552 gameArea[0][0] = -0.5f * worldSize + tankRadius; in makeObstacleList() 4553 gameArea[0][1] = -0.5f * worldSize + tankRadius; in makeObstacleList() 4554 gameArea[1][0] = 0.5f * worldSize - tankRadius; in makeObstacleList() 4555 gameArea[1][1] = -0.5f * worldSize + tankRadius; in makeObstacleList() 4556 gameArea[2][0] = 0.5f * worldSize - tankRadius; in makeObstacleList() 4557 gameArea[2][1] = 0.5f * worldSize - tankRadius; in makeObstacleList() 4558 gameArea[3][0] = -0.5f * worldSize + tankRadius; in makeObstacleList() [all …]
|
H A D | LocalPlayer.cxx | 1690 float tankRadius = BZDBCache::tankRadius; in setFlag() local 1712 while (World::getWorld()->inBuilding(flagAntidotePos, tankRadius, in setFlag()
|
/dports/games/bzflag/bzflag-2.4.22/src/bzflag/ |
H A D | RobotPlayer.cxx | 94 …tance = hypotf(deltax,deltay) - BZDB.eval(StateDatabase::BZDB_MUZZLEFRONT) - BZDBCache::tankRadius; in getProjectedPosition() 130 float tankRadius = BZDBCache::tankRadius; in doUpdate() local 160 BZDB.eval(StateDatabase::BZDB_MUZZLEFRONT) - tankRadius; in doUpdate() 192 float impact = rayAtDistanceFromOrigin(ray, 5 * BZDBCache::tankRadius); in doUpdate() 293 float tankRadius = BZDBCache::tankRadius; in doUpdateMotion() local 295 if (distance <= 2.5f * tankRadius) in doUpdateMotion()
|
H A D | RadarRenderer.cxx | 169 const float tankRadius = BZDBCache::tankRadius; in drawTank() local 172 if (tankRadius < minSize) in drawTank() 175 size = tankRadius; in drawTank() 290 float tankRadius = BZDBCache::tankRadius; in drawFlagOnTank() local 291 GLfloat s = 2.5f * tankRadius > 4.0f * ps ? 2.5f * tankRadius : 4.0f * ps; in drawFlagOnTank()
|
H A D | Player.cxx | 111 const float sphereRad = (1.5f * BZDBCache::tankRadius); in Player() 209 return (dimensionsScale[0] * BZDBCache::tankRadius); in getRadius() 230 float front = (dimensionsScale[0] * BZDBCache::tankRadius); in getMuzzle() 277 World::getWorld()->getProximity(state.pos, BZDBCache::tankRadius); in move() 643 World::getWorld()->getProximity(state.pos, BZDBCache::tankRadius); in updateTranslucency() 1004 1.5f * BZDBCache::tankRadius * dimensionsScale[0]); in addToScene()
|
H A D | BaseLocalPlayer.cxx | 101 float size = BZDBCache::tankRadius; in update()
|
H A D | playing.cxx | 4484 const float tankRadius = BZDBCache::tankRadius; in addObstacle() local 4490 const float w = obstacle.getWidth() + tankRadius; in addObstacle() 4542 const float tankRadius = BZDBCache::tankRadius; in makeObstacleList() local 4552 gameArea[0][0] = -0.5f * worldSize + tankRadius; in makeObstacleList() 4553 gameArea[0][1] = -0.5f * worldSize + tankRadius; in makeObstacleList() 4554 gameArea[1][0] = 0.5f * worldSize - tankRadius; in makeObstacleList() 4555 gameArea[1][1] = -0.5f * worldSize + tankRadius; in makeObstacleList() 4556 gameArea[2][0] = 0.5f * worldSize - tankRadius; in makeObstacleList() 4557 gameArea[2][1] = 0.5f * worldSize - tankRadius; in makeObstacleList() 4558 gameArea[3][0] = -0.5f * worldSize + tankRadius; in makeObstacleList() [all …]
|
H A D | LocalPlayer.cxx | 1690 float tankRadius = BZDBCache::tankRadius; in setFlag() local 1712 while (World::getWorld()->inBuilding(flagAntidotePos, tankRadius, in setFlag()
|
/dports/games/bzflag-server/bzflag-2.4.22/src/common/ |
H A D | BZDBCache.cxx | 59 BZDBCache::Float BZDBCache::tankRadius; member in BZDBCache 161 tankRadius = getGoodPosValue(tankRadius,StateDatabase::BZDB_TANKRADIUS); in init() 272 tankRadius = BZDB.eval(StateDatabase::BZDB_TANKRADIUS); in update()
|
/dports/games/bzflag/bzflag-2.4.22/src/common/ |
H A D | BZDBCache.cxx | 59 BZDBCache::Float BZDBCache::tankRadius; member in BZDBCache 161 tankRadius = getGoodPosValue(tankRadius,StateDatabase::BZDB_TANKRADIUS); in init() 272 tankRadius = BZDB.eval(StateDatabase::BZDB_TANKRADIUS); in update()
|
/dports/games/bzflag-server/bzflag-2.4.22/include/ |
H A D | BZDBCache.h | 94 static Float tankRadius; variable
|
/dports/games/bzflag/bzflag-2.4.22/include/ |
H A D | BZDBCache.h | 94 static Float tankRadius; variable
|