/dports/games/scorched3d/scorched/src/client/GLW/ |
H A D | GLWWindView.cpp | 191 int arenaHeight = 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() 204 int sqSizeH = arenaHeight / 16; in drawScene() 205 for (int y=arenaY; y<=arenaY+arenaHeight-sqSizeH; y+=sqSizeH) in drawScene() 224 for (int y=arenaY; y<=arenaY+arenaHeight; y+=sqSizeH) in drawScene() 226 float per = float(y - arenaY) / float(arenaHeight); in drawScene() 238 glVertex3f(float(x), float(arenaY + arenaHeight), -15.0f); in drawScene() 240 …glVertex3f(float(x), float(arenaY + arenaHeight), hmp.getHeight(x, arenaY + arenaHeight).asFloat()… in drawScene() 242 for (int y=arenaY+arenaHeight; y>=arenaY; y-=sqSizeH) in drawScene() [all …]
|
H A D | GLWPlanView.cpp | 448 int arenaHeight = ScorchedClient::instance()-> in mouseDown() local 451 float maxWidth = (float) MAX(arenaWidth, arenaHeight); in mouseDown() 459 mapY < arenaY + arenaHeight) in mouseDown()
|
/dports/games/scorched3d/scorched/src/client/landscape/ |
H A D | Wall.cpp | 48 float arenaHeight = (float) ScorchedClient::instance()->getLandscapeMaps(). in draw() local 53 Vector botC(arenaX + arenaWidth, arenaY + arenaHeight, 0.0f); in draw() 54 Vector botD(arenaX, arenaY + arenaHeight, 0.0f); in draw() 57 Vector topC(arenaX + arenaWidth, arenaY + arenaHeight, 256.0f); in draw() 58 Vector topD(arenaX, arenaY + arenaHeight, 256.0f); in draw()
|
H A D | LandscapePoints.cpp | 75 int arenaHeight = ScorchedClient::instance()->getLandscapeMaps().getGroundMaps().getArenaHeight(); in generate() local 78 int pointsY = arenaHeight / 32; // Each point is 32 units appart in generate() 86 points_.push_back(Vector(arenaX + pos, arenaY + arenaHeight)); in generate()
|
/dports/games/scorched3d/scorched/src/client/graph/ |
H A D | MainCamera.cpp | 140 float arenaHeight = (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() 334 float arenaHeight = (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 | 274 float arenaHeight = (float) ScorchedClient::instance()->getLandscapeMaps(). in moveCamera() local 281 Vector position(arenaX + arenaWidth / 2.0f, arenaY + arenaHeight / 2.0f, 15.0f); in moveCamera() 539 float arenaHeight = (float) ScorchedClient::instance()->getLandscapeMaps(). in viewSpectator() local 546 Vector at(arenaX + arenaWidth / 2.0f, arenaY + arenaHeight / 2.0f, 0.0f); in viewSpectator() 597 float arenaHeight = (float) ScorchedClient::instance()->getLandscapeMaps(). in mouseDrag() local 604 arenaX, arenaY, arenaX + arenaWidth, arenaY + arenaHeight); in mouseDrag() 678 int arenaHeight = ScorchedClient::instance()->getLandscapeMaps(). in mouseUp() local 687 posY > arenaY && posY < arenaY + arenaHeight) in mouseUp()
|
/dports/games/scorched3d/scorched/src/client/water/ |
H A D | WaterMapPoints.cpp | 78 int arenaHeight = ScorchedClient::instance()->getLandscapeMaps().getGroundMaps().getArenaHeight(); in generate() local 81 int pointsY = arenaHeight / 32; // Each point is 32 units appart in generate() 89 pts_.push_back(Vector(arenaX + pos, arenaY + arenaHeight)); in generate()
|
/dports/games/scorched3d/scorched/src/common/engine/ |
H A D | PhysicsParticleObject.cpp | 230 int arenaHeight = context_->getLandscapeMaps().getGroundMaps().getArenaHeight(); in checkShotCollision() local 283 position_[1] = arenaY + arenaHeight - 1; in checkShotCollision() 306 position_[1] = arenaY + arenaHeight - 10; in checkShotCollision() 327 int arenaHeight = context_->getLandscapeMaps().getGroundMaps().getArenaHeight(); in checkBounceCollision() local 356 position_[1] = arenaY + arenaHeight - 1; in checkBounceCollision() 388 int arenaHeight = context_->getLandscapeMaps().getGroundMaps().getArenaHeight(); in checkFallingCollision() local 413 position_[1] = arenaY + arenaHeight - 1; in checkFallingCollision() 502 int arenaHeight = context_->getLandscapeMaps().getGroundMaps().getArenaHeight(); in getWallCollision() local 524 else if (position_[1] >= arenaY + arenaHeight) in getWallCollision()
|
/dports/games/scorched3d/scorched/src/common/weapons/ |
H A D | WeaponCenterPosition.cpp | 69 int arenaHeight = context.getLandscapeMaps().getGroundMaps().getArenaHeight(); in fireWeapon() local 73 newPositon[1] = (arenaHeight / 2) + arenaY; in fireWeapon()
|
H A D | WeaponMoveTank.cpp | 64 int arenaHeight = context.getLandscapeMaps().getDefinitions().getDefn()->getArenaHeight(); in fireWeapon() local 69 posY > arenaY + 5 && posY < arenaY + arenaHeight - 5) in fireWeapon()
|
H A D | WeaponTeleport.cpp | 75 int arenaHeight = context.getLandscapeMaps().getGroundMaps().getArenaHeight(); in fireWeapon() local 80 position[1] < fixed(arenaY + arenaHeight - 5)) in fireWeapon()
|
H A D | WeaponScatterPosition.cpp | 84 fixed arenaHeight = fixed(context.getLandscapeMaps().getGroundMaps().getArenaHeight()); in fireWeapon() local 86 fixed scatterHeight = arenaHeight * scatterpercentage / 100; in fireWeapon()
|
/dports/games/scorched3d/scorched/src/client/sprites/ |
H A D | WallActionRenderer.cpp | 76 float arenaHeight = (float) ScorchedClient::instance()->getLandscapeMaps(). in init() local 107 pos[1] = arenaY + arenaHeight; in init()
|
/dports/games/scorched3d/scorched/src/common/placement/ |
H A D | PlacementTankPosition.cpp | 202 int arenaHeight = context.getLandscapeMaps().getGroundMaps().getArenaHeight(); in placeTank() local 211 fixed posY = fixed(arenaY) + (fixed(arenaHeight - tankBorder * 2) * in placeTank()
|
/dports/games/scorched3d/scorched/src/client/GLEXT/ |
H A D | GLImageModifier.cpp | 611 int arenaHeight = ScorchedClient::instance()->getLandscapeMaps().getGroundMaps().getArenaHeight(); in makeArenaBitmap() local 618 int lh = ly + (arenaHeight * handle.getHeight() / landscapeHeight); in makeArenaBitmap() 663 int arenaHeight = ScorchedClient::instance()->getLandscapeMaps().getGroundMaps().getArenaHeight(); in addBorderToBitmap() local 670 …int borderHeight = int(float(arenaHeight) / float(landscapeHeight) * float(destBitmap.getHeight())… in addBorderToBitmap()
|
/dports/games/scorched3d/scorched/src/common/landscapemap/ |
H A D | MovementMap.cpp | 647 int arenaHeight = in limitTexture() local 673 posY < arenaY + arenaHeight) in limitTexture()
|
/dports/games/scorched3d/scorched/src/server/tankai/ |
H A D | TankAICurrentMove.cpp | 833 int arenaHeight = ScorchedServer::instance()->getLandscapeMaps(). in makeGroupShot() local 838 for (int y=arenaY; y<arenaY + arenaHeight; y+=4) in makeGroupShot()
|