diff --git a/VaporWaveWars/character.hpp b/VaporWaveWars/character.hpp index b32ece5..6cc742d 100644 --- a/VaporWaveWars/character.hpp +++ b/VaporWaveWars/character.hpp @@ -6,7 +6,6 @@ class Character : public sf::Sprite{ private: //CONFIG const double frameTime = BLACKVALUE/4.0f; - const int numFrames = 4; const std::string spriteFile = WORK_DIR+"Resources/spreadsheet.png"; //POSICIO PLAYER 1 float posX1 = W_WIDTH*0.05f, posY1 = W_HEIGHT*0.5f - 15; diff --git a/VaporWaveWars/game.cpp b/VaporWaveWars/game.cpp index 7e87cfd..0b134e6 100644 --- a/VaporWaveWars/game.cpp +++ b/VaporWaveWars/game.cpp @@ -20,7 +20,7 @@ Game* Game::i() { // Main game loop void Game::run() { sf::Clock c; - sf::RenderWindow window(sf::VideoMode(W_WIDTH, W_HEIGHT), "( ( ( Radio Waves ) ) )"); + sf::RenderWindow window(sf::VideoMode(W_WIDTH, W_HEIGHT), "( ( ( Radio Waves ) ) )", sf::Style::Close); window.setKeyRepeatEnabled(false); float oldTime = c.getElapsedTime().asSeconds(); while (isRunning) { diff --git a/build-VaporWaveWars-Desktop_Qt_5_7_0_GCC_64bit-Debug/VaporWaveWars b/build-VaporWaveWars-Desktop_Qt_5_7_0_GCC_64bit-Debug/VaporWaveWars index cf1151d..5fc7c2a 100755 Binary files a/build-VaporWaveWars-Desktop_Qt_5_7_0_GCC_64bit-Debug/VaporWaveWars and b/build-VaporWaveWars-Desktop_Qt_5_7_0_GCC_64bit-Debug/VaporWaveWars differ