/dports/games/scorched3d/scorched/src/client/GLW/ |
H A D | GLWWindView.cpp | 189 int arenaWidth = ScorchedClient::instance()->getLandscapeMaps(). in drawScene() local 198 int maxSize = MAX(arenaWidth, arenaHeight); in drawScene() 201 glTranslatef(arenaWidth/-2.0f-arenaX, arenaHeight/-2.0f-arenaY, 0.0f); in drawScene() 203 int sqSizeW = arenaWidth / 16; in drawScene() 208 for (int x=arenaX; x<=arenaX+arenaWidth; x+=sqSizeW) in drawScene() 233 for (int x=arenaX; x<=arenaX+arenaWidth; x+=sqSizeW) in drawScene() 235 float per = float(x - arenaX) / float(arenaWidth); in drawScene() 247 glVertex3f(float(arenaX + arenaWidth), float(y), -15.0f); in drawScene() 249 …glVertex3f(float(arenaX + arenaWidth), float(y), hmp.getHeight(arenaX + arenaWidth, y).asFloat());… in drawScene() 251 for (int x=arenaX+arenaWidth; x>=arenaX; x-=sqSizeW) in drawScene() [all …]
|
H A D | GLWPlanView.cpp | 446 int arenaWidth = ScorchedClient::instance()-> in mouseDown() local 451 float maxWidth = (float) MAX(arenaWidth, arenaHeight); in mouseDown() 458 mapX < arenaX + arenaWidth && in mouseDown()
|
/dports/games/scorched3d/scorched/src/client/landscape/ |
H A D | Wall.cpp | 46 float arenaWidth = (float) ScorchedClient::instance()->getLandscapeMaps(). in draw() local 52 Vector botB(arenaX + arenaWidth, arenaY, 0.0f); in draw() 53 Vector botC(arenaX + arenaWidth, arenaY + arenaHeight, 0.0f); in draw() 56 Vector topB(arenaX + arenaWidth, arenaY, 256.0f); in draw() 57 Vector topC(arenaX + arenaWidth, arenaY + arenaHeight, 256.0f); in draw()
|
H A D | LandscapePoints.cpp | 74 int arenaWidth = ScorchedClient::instance()->getLandscapeMaps().getGroundMaps().getArenaWidth(); in generate() local 77 int pointsX = arenaWidth / 32; // Each point is 32 units appart in generate() 93 points_.push_back(Vector(arenaX + arenaWidth, arenaY + pos)); in generate()
|
/dports/games/scorched3d/scorched/src/client/graph/ |
H A D | MainCamera.cpp | 138 float arenaWidth = (float) ScorchedClient::instance()->getLandscapeMaps(). in simulate() local 161 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight, in simulate() 177 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight, in simulate() 199 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight, in simulate() 220 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight, in simulate() 332 float arenaWidth = (float) ScorchedClient::instance()->getLandscapeMaps(). in keyboardCheck() local 346 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight, in keyboardCheck() 354 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight, in keyboardCheck() 362 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight, in keyboardCheck() 370 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight, in keyboardCheck()
|
H A D | TargetCamera.cpp | 272 float arenaWidth = (float) ScorchedClient::instance()->getLandscapeMaps(). in moveCamera() local 281 Vector position(arenaX + arenaWidth / 2.0f, arenaY + arenaHeight / 2.0f, 15.0f); in moveCamera() 537 float arenaWidth = (float) ScorchedClient::instance()->getLandscapeMaps(). in viewSpectator() local 546 Vector at(arenaX + arenaWidth / 2.0f, arenaY + arenaHeight / 2.0f, 0.0f); in viewSpectator() 595 float arenaWidth = (float) ScorchedClient::instance()->getLandscapeMaps(). in mouseDrag() local 604 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight); in mouseDrag() 676 int arenaWidth = ScorchedClient::instance()->getLandscapeMaps(). in mouseUp() local 686 if (posX > arenaX && posX < arenaX + arenaWidth && in mouseUp()
|
/dports/games/scorched3d/scorched/src/client/water/ |
H A D | WaterMapPoints.cpp | 77 int arenaWidth = ScorchedClient::instance()->getLandscapeMaps().getGroundMaps().getArenaWidth(); in generate() local 80 int pointsX = arenaWidth / 32; // Each point is 32 units appart in generate() 96 pts_.push_back(Vector(arenaX + arenaWidth, arenaY + pos)); in generate()
|
/dports/games/scorched3d/scorched/src/common/engine/ |
H A D | PhysicsParticleObject.cpp | 229 int arenaWidth = context_->getLandscapeMaps().getGroundMaps().getArenaWidth(); in checkShotCollision() local 277 position_[0] = arenaX + arenaWidth - 1; in checkShotCollision() 300 position_[0] = arenaX + arenaWidth - 10; in checkShotCollision() 326 int arenaWidth = context_->getLandscapeMaps().getGroundMaps().getArenaWidth(); in checkBounceCollision() local 350 position_[0] = arenaX + arenaWidth - 1; in checkBounceCollision() 387 int arenaWidth = context_->getLandscapeMaps().getGroundMaps().getArenaWidth(); in checkFallingCollision() local 407 position_[0] = arenaX + arenaWidth - 1; in checkFallingCollision() 501 int arenaWidth = context_->getLandscapeMaps().getGroundMaps().getArenaWidth(); in getWallCollision() local 510 else if (position_[0] >= arenaX + arenaWidth) in getWallCollision()
|
/dports/games/scorched3d/scorched/src/common/weapons/ |
H A D | WeaponCenterPosition.cpp | 68 int arenaWidth = context.getLandscapeMaps().getGroundMaps().getArenaWidth(); in fireWeapon() local 72 newPositon[0] = (arenaWidth / 2) + arenaX; in fireWeapon()
|
H A D | WeaponMoveTank.cpp | 63 int arenaWidth = context.getLandscapeMaps().getDefinitions().getDefn()->getArenaWidth(); in fireWeapon() local 68 if (posX > arenaX + 5 && posX < arenaX + arenaWidth - 5 && in fireWeapon()
|
H A D | WeaponTeleport.cpp | 74 int arenaWidth = context.getLandscapeMaps().getGroundMaps().getArenaWidth(); in fireWeapon() local 79 position[0] < fixed(arenaX + arenaWidth - 5) && in fireWeapon()
|
H A D | WeaponScatterPosition.cpp | 83 fixed arenaWidth = fixed(context.getLandscapeMaps().getGroundMaps().getArenaWidth()); in fireWeapon() local 85 fixed scatterWidth = arenaWidth * scatterpercentage / 100; in fireWeapon()
|
/dports/games/scorched3d/scorched/src/client/sprites/ |
H A D | WallActionRenderer.cpp | 74 float arenaWidth = (float) ScorchedClient::instance()->getLandscapeMaps(). in init() local 90 pos[0] = arenaX + arenaWidth; in init()
|
/dports/games/scorched3d/scorched/src/common/placement/ |
H A D | PlacementTankPosition.cpp | 201 int arenaWidth = context.getLandscapeMaps().getGroundMaps().getArenaWidth(); in placeTank() local 209 fixed posX = fixed(arenaX) + (fixed(arenaWidth - tankBorder * 2) * in placeTank()
|
/dports/games/scorched3d/scorched/src/client/GLEXT/ |
H A D | GLImageModifier.cpp | 610 int arenaWidth = ScorchedClient::instance()->getLandscapeMaps().getGroundMaps().getArenaWidth(); in makeArenaBitmap() local 617 int lw = lx + (arenaWidth * handle.getWidth() / landscapeWidth); in makeArenaBitmap() 662 int arenaWidth = ScorchedClient::instance()->getLandscapeMaps().getGroundMaps().getArenaWidth(); in addBorderToBitmap() local 669 int borderWidth = int(float(arenaWidth) / float(landscapeWidth) * float(destBitmap.getWidth())); in addBorderToBitmap()
|
/dports/games/scorched3d/scorched/src/common/landscapemap/ |
H A D | MovementMap.cpp | 645 int arenaWidth = in limitTexture() local 672 posX < arenaX + arenaWidth && in limitTexture()
|
/dports/games/scorched3d/scorched/src/server/tankai/ |
H A D | TankAICurrentMove.cpp | 831 int arenaWidth = ScorchedServer::instance()->getLandscapeMaps(). in makeGroupShot() local 840 for (int x=arenaX; x<arenaX + arenaWidth; x+=4) in makeGroupShot()
|