diff --git a/source/game.cpp b/source/game.cpp index 3b60da4..017c14c 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -3024,15 +3024,6 @@ void Game::renderMessages() } } - // D E M O - if (demo.enabled) - { - if (demo.counter % 30 > 8) - { - textNokiaBig2->writeDX(TXT_CENTER, PLAY_AREA_CENTER_X, PLAY_AREA_FIRST_QUARTER_Y, lang->getText(37), 0, noColor, 2, shdwTxtColor); - } - } - // STAGE NUMBER if (stageBitmapCounter < STAGE_COUNTER) { diff --git a/source/scoreboard.cpp b/source/scoreboard.cpp index a4988a7..29a6cfa 100644 --- a/source/scoreboard.cpp +++ b/source/scoreboard.cpp @@ -215,20 +215,21 @@ void Scoreboard::fillBackgroundTexture() else if (mode[SCOREBOARD_LEFT_SIDE] == SCOREBOARD_MODE_DEMO) { + textScoreBoard->writeCentered(offsetScoreP1Label.x, offsetScoreP1Label.y + 4, "Mode demostracio"); if (counter % 10 < 8) { - textScoreBoard->writeCentered(offsetScoreP1Label.x, offsetScoreP1Label.y+4, "Mode DEMO"); - textScoreBoard->writeCentered(offsetMultP1Label.x, offsetMultP1Label.y-2, "Pulsa START"); - textScoreBoard->writeCentered(offsetMultP1.x, offsetMultP1.y-2, "per jugar"); + textScoreBoard->writeCentered(offsetMultP1Label.x, offsetMultP1Label.y - 2, "Pulsa START"); + textScoreBoard->writeCentered(offsetMultP1.x, offsetMultP1.y - 2, "per jugar"); } } else if (mode[SCOREBOARD_LEFT_SIDE] == SCOREBOARD_MODE_GAME_OVER) { + textScoreBoard->writeCentered(offsetScoreP1Label.x, offsetScoreP1Label.y + 4, "Game Over"); + if (counter % 10 < 8) { - textScoreBoard->writeCentered(offsetScoreP1Label.x, offsetScoreP1Label.y+4, "Game Over"); - textScoreBoard->writeCentered(offsetMultP1Label.x, offsetMultP1Label.y-2, "Pulsa START"); - textScoreBoard->writeCentered(offsetMultP1.x, offsetMultP1.y-2, "per jugar"); + textScoreBoard->writeCentered(offsetMultP1Label.x, offsetMultP1Label.y - 2, "Pulsa START"); + textScoreBoard->writeCentered(offsetMultP1.x, offsetMultP1.y - 2, "per jugar"); } } @@ -245,20 +246,21 @@ void Scoreboard::fillBackgroundTexture() else if (mode[SCOREBOARD_RIGHT_SIDE] == SCOREBOARD_MODE_DEMO) { + textScoreBoard->writeCentered(offsetScoreP2Label.x, offsetScoreP2Label.y + 4, "Mode demostracio"); if (counter % 10 < 8) { - textScoreBoard->writeCentered(offsetScoreP2Label.x, offsetScoreP2Label.y+4, "Mode DEMO"); - textScoreBoard->writeCentered(offsetMultP2Label.x, offsetMultP2Label.y-2, "Pulsa START"); - textScoreBoard->writeCentered(offsetMultP2.x, offsetMultP2.y-2, "per jugar"); + textScoreBoard->writeCentered(offsetMultP2Label.x, offsetMultP2Label.y - 2, "Pulsa START"); + textScoreBoard->writeCentered(offsetMultP2.x, offsetMultP2.y - 2, "per jugar"); } } else if (mode[SCOREBOARD_RIGHT_SIDE] == SCOREBOARD_MODE_GAME_OVER) { + textScoreBoard->writeCentered(offsetScoreP2Label.x, offsetScoreP2Label.y + 4, "Game Over"); + if (counter % 10 < 8) { - textScoreBoard->writeCentered(offsetScoreP2Label.x, offsetScoreP2Label.y+4, "Game Over"); - textScoreBoard->writeCentered(offsetMultP2Label.x, offsetMultP2Label.y-2, "Pulsa START"); - textScoreBoard->writeCentered(offsetMultP2.x, offsetMultP2.y-2, "per jugar"); + textScoreBoard->writeCentered(offsetMultP2Label.x, offsetMultP2Label.y - 2, "Pulsa START"); + textScoreBoard->writeCentered(offsetMultP2.x, offsetMultP2.y - 2, "per jugar"); } } diff --git a/source/title.cpp b/source/title.cpp index 33551f1..d5e7342 100644 --- a/source/title.cpp +++ b/source/title.cpp @@ -181,10 +181,11 @@ void Title::render() if (section->subsection == SUBSECTION_TITLE_2) { + const color_t shadow = {0x14, 0x87, 0xc4}; // 'PULSA 1P o 2P PARA JUGAR' if (counter % 50 > 14 && !defineButtons->isEnabled()) { - text1->writeDX(TXT_CENTER | TXT_SHADOW, GAMECANVAS_CENTER_X, param->pressStart, lang->getText(23), 1, noColor, 1, shdwTxtColor); + text1->writeDX(TXT_CENTER | TXT_SHADOW, GAMECANVAS_CENTER_X, param->pressStart, lang->getText(23), 1, noColor, 1, shadow); } // Mini logo @@ -194,7 +195,7 @@ void Title::render() miniLogoSprite->render(); // Texto con el copyright - text1->writeDX(TXT_CENTER | TXT_SHADOW, GAMECANVAS_CENTER_X, pos2, TEXT_COPYRIGHT, 1, noColor, 1, shdwTxtColor); + text1->writeDX(TXT_CENTER | TXT_SHADOW, GAMECANVAS_CENTER_X, pos2, TEXT_COPYRIGHT, 1, noColor, 1, shadow); } defineButtons->render();