diff --git a/source/code/BlockGame.cpp b/source/code/BlockGame.cpp index 38c3ae0..fb7264e 100644 --- a/source/code/BlockGame.cpp +++ b/source/code/BlockGame.cpp @@ -81,31 +81,7 @@ int BlockGame::firstUnusedChain() { //Constructor BlockGame::BlockGame() { srand((int)time(nullptr)); - nrFellDown = 0; - nrPushedPixel = 0; - nrStops=0; - //topx = tx; - //topy = ty; - cursorx = 2; - cursory = 3; - stop = 0; - pixels = 0; - score = 0; - bGameOver = false; - bDraw = false; - timetrial = false; - stageClear = false; - vsMode = false; - puzzleMode = false; - linesCleared = 0; - AI_Enabled = false; AI_MoveSpeed=100; - AIlineToClear = 0; - AIcolorToClear = 0; - hasWonTheGame = false; - combo=0; //counts - chain=0; - hangTicks = 0; baseSpeed = 0.5; //All other speeds are relative to this speed = baseSpeed; speedLevel = 1; @@ -120,10 +96,6 @@ BlockGame::BlockGame() { board[i][j] = -1; } } - for (int i=0; i