Eliminat "const.h"

This commit is contained in:
2024-09-28 10:16:35 +02:00
parent 8d263931b2
commit f2cc0dc352
28 changed files with 74 additions and 91 deletions

View File

@@ -985,7 +985,7 @@ void Game::createPowerBall()
const int values = 6;
const int posY = -BLOCK;
const int left = PLAY_AREA_LEFT;
const int left = param.game.playArea.rect.x;
const int center = param.game.playArea.centerX - (BALLOON_WIDTH_4 / 2);
const int right = param.game.playArea.rect.w - BALLOON_WIDTH_4;
@@ -1416,7 +1416,7 @@ void Game::checkBulletBalloonCollision()
// Suelta el item si se da el caso
const int droppeditem = dropItem();
if ((droppeditem != NO_KIND) && !(demo.recording))
if ((droppeditem != ITEM_NULL) && !(demo.recording))
{
if (droppeditem != ITEM_COFFEE_MACHINE)
{
@@ -1596,7 +1596,7 @@ int Game::dropItem()
break;
}
return NO_KIND;
return ITEM_NULL;
}
// Crea un objeto item
@@ -2460,7 +2460,7 @@ void Game::initPaths()
// Letrero de GetReady
const int size = textNokiaBig2->lenght(lang::getText(75), -2);
const float start1 = PLAY_AREA_LEFT - size;
const float start1 = param.game.playArea.rect.x - size;
const float finish1 = param.game.playArea.centerX - (size / 2);
const float start2 = finish1;