diff --git a/breakout/breakout.c b/breakout/breakout.c index 2fa870b..b686474 100644 --- a/breakout/breakout.c +++ b/breakout/breakout.c @@ -12,110 +12,18 @@ #include #include #include +#include -typedef struct coord { - double x; - double y; -} coord; - -typedef struct colour { - double r; - double g; - double b; - double a; -} colour; - -typedef struct paddle { - int width; - int height; - double x; -} paddle; - -typedef struct ball { - double x; - double y; - double vX; - double vY; - double initVX; - double initVY; - double radius; - char isColliding; - char stickToPaddle; -} ball; - -typedef struct brick { - char brickType; - int x; - int y; - int width; - int height; - char destroyed; -} brick; - -typedef struct brickCD { - char isLeaf; - int x; - int y; - int width; - int height; - struct brickCD *container; - int brickID; -} brickCD; - -double heronsFormula(coord a, coord b, coord c) { - double A = sqrt(pow((a.x - b.x), 2) + pow((a.y - b.y), 2)); - double B = sqrt(pow((b.x - c.x), 2) + pow((b.y - c.y), 2)); - double C = sqrt(pow((c.x - a.x), 2) + pow((c.y - a.y), 2)); - double s = (A + B + C) / 2; - return sqrt(s*(s - A)*(s - B)*(s - C)); -} +#include "include/structs.h" +#include "include/utilityFunctions.h" +#include "include/bricks.h" +#include "include/paddleAndBall.h" int loadTextures(GLuint *texture, const char *imageLoc); void surfaceToTexture(GLuint *texture, SDL_Surface *surface); -char vertexWithinQuad(coord point, coord *quad); - -void updatePaddle(Uint32 tickrate, paddle *thePaddle, char moveX, int winWidth, int winHeight); -void updateBall(Uint32 tickrate, ball *theBall, paddle *thePaddle, int winWidth, int winHeight, brick *bricks, int brickCount, int *playerLives); void updateScore(int *playerScore, brick *bricks, int brickCount); -void drawText(const char *text, TTF_Font *font, SDL_Color txtColour, coord loc) { - SDL_Surface *text_surface = TTF_RenderUTF8_Blended(font, text, txtColour); - if (text_surface==NULL) { - fprintf(stderr, "Error generating text"); - } else { - GLuint testTxt; - surfaceToTexture(&testTxt, text_surface); - - glBindTexture(GL_TEXTURE_2D, testTxt); - - GLint matrixmode = 0; - glGetIntegerv(GL_MATRIX_MODE, &matrixmode); - glPushMatrix(); - glTranslated(loc.x-(text_surface->w/2), loc.y, 0.0); - - glBegin(GL_QUADS); - glTexCoord2f(0, 0); glVertex3d(0.0, 0.0, 0.0); - glTexCoord2f(0, 1); glVertex3d(0.0, -1*text_surface->h, 0.0); - glTexCoord2f(1, 1); glVertex3d(text_surface->w, -1*text_surface->h, 0.0); - glTexCoord2f(1, 0); glVertex3d(text_surface->w, 0.0, 0.0); - glEnd(); - - glBindTexture(GL_TEXTURE_2D, 0); - - glPopMatrix(); - glMatrixMode(matrixmode); - } -} -void drawHearts(GLuint heartFullTex, GLuint heartEmptyTex, int playerLives, int winWidth, int winHeight); -void drawPaddle(paddle *thePaddle, int winWidth, int winHeight, colour *c); -void drawBall(ball *theBall, colour *c); -void drawBricks(brick *bricks, int brickCount, int winWidth, int winHeight, colour *colours); -void drawBg(int winWidth, int winHeight, colour *c1, colour *c2); - -void initialiseBricks(brick *bricks, int *brickCount); -void initialiseBricks2(brick *bricks, int *brickCount); - int main(void) { /* @@ -488,141 +396,6 @@ void surfaceToTexture(GLuint *texture, SDL_Surface *surface) { glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); } -char vertexWithinQuad(coord point, coord *quad) { - double quadArea = heronsFormula(quad[0], quad[1], quad[2]) + heronsFormula(quad[1], quad[2], quad[3]); - double testArea = 0; - testArea += heronsFormula(point, quad[0], quad[1]); - testArea += heronsFormula(point, quad[1], quad[2]); - testArea += heronsFormula(point, quad[2], quad[3]); - testArea += heronsFormula(point, quad[3], quad[0]); - if ((int)testArea == (int)quadArea) { - return 1; - } else { - return 0; - } -} - -void updatePaddle(Uint32 tickrate, paddle *thePaddle, char moveX, int winWidth, int winHeight) { - thePaddle->x += moveX * 0.5 * tickrate; - if (thePaddle->x < 0-(thePaddle->width/2)) thePaddle->x = 0-(thePaddle->width/2); - if (thePaddle->x > winWidth-(thePaddle->width/2)) thePaddle->x = winWidth-(thePaddle->width/2); -} - -void updateBall(Uint32 tickrate, ball *theBall, paddle *thePaddle, int winWidth, int winHeight, brick *bricks, int brickCount, int *playerLives) { - if (theBall->stickToPaddle == 0) { - double ballNX = theBall->x + theBall->vX * 0.1 * tickrate; // Calculates the position of the ball's centre on the next step - double ballNY = theBall->y + theBall->vY * 0.1 * tickrate; - - double paddleRX = thePaddle->x - (double)(winWidth / 2); // Converts paddle X/Y to coordinates relative to the center of the window as the ball - double paddleRY = 20 - (double)(winHeight / 2); // (Default is absolute, offset from the top left corner of window) - - coord paddleQ[4] = { - {.x = paddleRX,.y = paddleRY }, // Sets up a quad (coord array) to pass to vertexWithinQuad function later - {.x = paddleRX,.y = paddleRY - thePaddle->height }, - {.x = paddleRX + thePaddle->width,.y = paddleRY - thePaddle->height }, - {.x = paddleRX + thePaddle->width,.y = paddleRY }, - }; - - // Collision with paddle - // (Testing each vertex of ball against paddle quad) - - char colliding = 0; - int mults[4] = { -1,-1,1,1 }; - - for (int i = 0, j = 3; i < 4; i++, j++) { - coord ballN = { .x = ballNX + (theBall->radius*mults[i % 4]),.y = ballNY + (theBall->radius*mults[j % 4]) }; // Constructs pairs of coordinates referring to each vertex of the ball - if (vertexWithinQuad(ballN, paddleQ)) colliding = 1; - } - - if (colliding) { - if (theBall->isColliding == 0) { - - theBall->isColliding = 1; // This keeps track of any current attepmts to 'solve' collision - // Without this flag, if the ball ends up within another object and moving slow enough that on the next frame it has not escaped the object, - // it will repeatedly have its velocity multiplied by -1 and get stuck, effectively moving only along one axis. With this flag, - // the game will ignore subsequent collisions, until it is no longer colliding. Note this does not solve the same problem where two objects - // are very close to each other and on exiting one object it enters another, in which case the ball will move through the other objects - - if (theBall->x + theBall->radius < paddleRX) { // Left side collision - theBall->vX *= -1.0; - } - else if (theBall->x - theBall->radius > paddleRX + thePaddle->width) { // Right side collision - theBall->vX *= -1.0; - } - else { // Top or bottom collision - theBall->vY *= -1.0; - theBall->vX = ((ballNX - paddleRX - (double)(thePaddle->width / 2)) / ((double)thePaddle->width / 2))*theBall->initVX; // Sets X velocity to be proportional to the relative position of the ball and the paddle on collision - } - } - else { - // Already solving a collision - } - } - else { - theBall->isColliding = 0; - } - - // Collision with bricks - // (Testing each vertex of ball against every brick) - - for (int i = 0; i < brickCount; i++) { - colliding = 0; - - if (bricks[i].destroyed == 0) { - coord brick[4] = { - {.x = bricks[i].x - (winWidth / 2),.y = bricks[i].y }, - {.x = bricks[i].x - (winWidth / 2),.y = bricks[i].y - bricks[i].height }, - {.x = bricks[i].x - (winWidth / 2) + bricks[i].width,.y = bricks[i].y - bricks[i].height }, - {.x = bricks[i].x - (winWidth / 2) + bricks[i].width,.y = bricks[i].y }, - }; - - for (int j = 0, k = 3; j < 4; j++, k++) { - coord ballN = { .x = ballNX + (theBall->radius*mults[j % 4]),.y = ballNY + (theBall->radius*mults[k % 4]) }; - if (vertexWithinQuad(ballN, brick)) colliding = 1; - } - - if (colliding) { - if (theBall->x + theBall->radius < bricks[i].x - (winWidth / 2)) { // Left side collision - theBall->vX *= -1.0; - } - else if (theBall->x - theBall->radius > bricks[i].x - (winWidth / 2) + bricks[i].width) { // Right side collision - theBall->vX *= -1.0; - } - else { - theBall->vY *= -1.0; - } - bricks[i].destroyed = 1; - break; - } - } - } - - // Collision with window boundaries - - if (ballNX > winWidth / 2 || ballNX < (-1.0*winWidth / 2)) { // Collision with walls - theBall->vX *= -1.0; - } - if (ballNY > winHeight / 2) { // Collision with ceiling - theBall->vY *= -1.0; - } - if (ballNY < (-1.0*winHeight / 2)) { // Collision with floor - theBall->x = 0; - theBall->y = 0; - theBall->vX = theBall->initVX; - theBall->vY = theBall->initVY; - *playerLives -= 1; - } - - // Update the ball's position - - theBall->x += theBall->vX * 0.1 * tickrate; - theBall->y += theBall->vY * 0.1 * tickrate; - } else { - theBall->x = thePaddle->x - (double)(winWidth / 2) + (thePaddle->width)/2; - theBall->y = 26 - (double)(winHeight / 2); - } -} - void updateScore(int *playerScore, brick *bricks, int brickCount) { *playerScore = 0; for (int i = 0; i < brickCount; i++) { @@ -643,1212 +416,4 @@ void updateScore(int *playerScore, brick *bricks, int brickCount) { } } } -} - -void drawHearts(GLuint heartFullTex, GLuint heartEmptyTex, int playerLives, int winWidth, int winHeight) { - coord locations[3] = { {.x = -19, .y = -32}, { .x = 0, .y = -32 }, { .x = 19, .y = -32 } }; - - for (int i = 0; i < 3; i++) { - if (i > playerLives-1) { - glBindTexture(GL_TEXTURE_2D, heartEmptyTex); - } else { - glBindTexture(GL_TEXTURE_2D, heartFullTex); - } - GLint matrixmode = 0; - glGetIntegerv(GL_MATRIX_MODE, &matrixmode); - glPushMatrix(); - glTranslated(0.0, (winHeight/2), 0.0); - - glBegin(GL_QUADS); - glTexCoord2f(0, 0); glVertex3d(0.0+locations[i].x, 0.0+locations[i].y, 0.0); - glTexCoord2f(0, 1); glVertex3d(0.0+locations[i].x, -15.0 + locations[i].y, 0.0); - glTexCoord2f(1, 1); glVertex3d(15.0+locations[i].x, -15.0 + locations[i].y, 0.0); - glTexCoord2f(1, 0); glVertex3d(15.0+locations[i].x, 0.0 + locations[i].y, 0.0); - glEnd(); - - glPopMatrix(); - glMatrixMode(matrixmode); - } - - glBindTexture(GL_TEXTURE_2D, 0); -} - -void drawBg(int winWidth, int winHeight, colour *c1, colour *c2) { - GLint matrixmode = 0; - glGetIntegerv(GL_MATRIX_MODE, &matrixmode); - glPushMatrix(); - glTranslated((GLdouble)(-1*winWidth/2), (GLdouble)(-1*winHeight/2), 0.0); - - glBegin(GL_QUADS); - //Top colour - glColor3f(c1->r, c1->g, c1->b); - glVertex2f(winWidth, 0.0); - glVertex2f(0.0,0.0); - //Bottom colour - glColor3f(c2->r, c2->g, c2->b); - glVertex2f(0.0,winHeight); - glVertex2f(winWidth, winHeight); - glEnd(); -} - -void drawPaddle(paddle *thePaddle, int winWidth, int winHeight, colour *c) { - GLint matrixmode = 0; - glGetIntegerv(GL_MATRIX_MODE, &matrixmode); - glPushMatrix(); - glTranslated((GLdouble)(thePaddle->x)-winWidth/2, (GLdouble)(20-winHeight/2), 0.0); - - glBegin(GL_QUADS); - glColor3f(c->r, c->g, c->b); - glVertex3d(0.0, 0.0, 0.0); - glVertex3d(0.0, (double)-1*thePaddle->height, 0.0); - glVertex3d((double)thePaddle->width, (double)-1*thePaddle->height, 0.0); - glVertex3d((double)thePaddle->width, 0.0, 0.0); - glEnd(); - - glPopMatrix(); - glMatrixMode(matrixmode); -} - -void drawBall(ball *theBall, colour *c) { - GLint matrixmode = 0; - glGetIntegerv(GL_MATRIX_MODE, &matrixmode); - glPushMatrix(); - glTranslated(theBall->x, theBall->y, 0.0); - - glBegin(GL_QUADS); - glColor3f(c->r, c->g, c->b); - glVertex3d(-1.0*theBall->radius, 1.0*theBall->radius, 0.0); - glVertex3d(-1.0*theBall->radius, -1.0*theBall->radius, 0.0); - glVertex3d( 1.0*theBall->radius, -1.0*theBall->radius, 0.0); - glVertex3d( 1.0*theBall->radius, 1.0*theBall->radius, 0.0); - glEnd(); - - glPopMatrix(); - glMatrixMode(matrixmode); -} - -void drawBricks(brick *bricks, int brickCount, int winWidth, int winHeight, colour *colours) { - for (int i = 0; i < brickCount; i++) { - if (bricks[i].destroyed == 0) { - GLint matrixmode = 0; - glGetIntegerv(GL_MATRIX_MODE, &matrixmode); - glPushMatrix(); - glTranslated((double)bricks[i].x - (winWidth / 2), (double)bricks[i].y, 0.0); - glBegin(GL_QUADS); - glColor3f( - colours[bricks[i].brickType - 1].r, - colours[bricks[i].brickType - 1].g, - colours[bricks[i].brickType - 1].b - ); - glVertex3d(0.0, 0.0, 0.0); - glVertex3d(0.0, (double)bricks[i].height, 0.0); - glVertex3d((double)bricks[i].width, (double)bricks[i].height, 0.0); - glVertex3d((double)bricks[i].width, 0.0, 0.0); - glEnd(); - glPopMatrix(); - glMatrixMode(matrixmode); - } - } -} - -void initialiseBricks(brick *bricks, int *brickCount) { - bricks[0 ] = (brick) { .brickType = 1, .x = 17, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[1 ] = (brick) { .brickType = 1, .x = 49, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[2 ] = (brick) { .brickType = 1, .x = 81, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[3 ] = (brick) { .brickType = 1, .x = 113, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[4 ] = (brick) { .brickType = 1, .x = 145, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[5 ] = (brick) { .brickType = 1, .x = 177, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[6 ] = (brick) { .brickType = 1, .x = 209, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[7 ] = (brick) { .brickType = 1, .x = 241, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[8 ] = (brick) { .brickType = 1, .x = 273, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[9 ] = (brick) { .brickType = 1, .x = 305, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[10 ] = (brick) { .brickType = 1, .x = 337, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[11 ] = (brick) { .brickType = 1, .x = 369, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[12 ] = (brick) { .brickType = 1, .x = 401, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[13 ] = (brick) { .brickType = 1, .x = 433, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; - bricks[14 ] = (brick) { .brickType = 1, .x = 17, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[15 ] = (brick) { .brickType = 1, .x = 49, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[16 ] = (brick) { .brickType = 1, .x = 81, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[17 ] = (brick) { .brickType = 1, .x = 113, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[18 ] = (brick) { .brickType = 1, .x = 145, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[19 ] = (brick) { .brickType = 1, .x = 177, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[20 ] = (brick) { .brickType = 1, .x = 209, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[21 ] = (brick) { .brickType = 1, .x = 241, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[22 ] = (brick) { .brickType = 1, .x = 273, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[23 ] = (brick) { .brickType = 1, .x = 305, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[24 ] = (brick) { .brickType = 1, .x = 337, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[25 ] = (brick) { .brickType = 1, .x = 369, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[26 ] = (brick) { .brickType = 1, .x = 401, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[27 ] = (brick) { .brickType = 1, .x = 433, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; - bricks[28 ] = (brick) { .brickType = 2, .x = 17, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[29 ] = (brick) { .brickType = 2, .x = 49, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[30 ] = (brick) { .brickType = 2, .x = 81, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[31 ] = (brick) { .brickType = 2, .x = 113, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[32 ] = (brick) { .brickType = 2, .x = 145, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[33 ] = (brick) { .brickType = 2, .x = 177, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[34 ] = (brick) { .brickType = 2, .x = 209, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[35 ] = (brick) { .brickType = 2, .x = 241, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[36 ] = (brick) { .brickType = 2, .x = 273, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[37 ] = (brick) { .brickType = 2, .x = 305, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[38 ] = (brick) { .brickType = 2, .x = 337, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[39 ] = (brick) { .brickType = 2, .x = 369, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[40 ] = (brick) { .brickType = 2, .x = 401, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[41 ] = (brick) { .brickType = 2, .x = 433, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; - bricks[42 ] = (brick) { .brickType = 2, .x = 17, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[43 ] = (brick) { .brickType = 2, .x = 49, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[44 ] = (brick) { .brickType = 2, .x = 81, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[45 ] = (brick) { .brickType = 2, .x = 113, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[46 ] = (brick) { .brickType = 2, .x = 145, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[47 ] = (brick) { .brickType = 2, .x = 177, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[48 ] = (brick) { .brickType = 2, .x = 209, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[49 ] = (brick) { .brickType = 2, .x = 241, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[50 ] = (brick) { .brickType = 2, .x = 273, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[51 ] = (brick) { .brickType = 2, .x = 305, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[52 ] = (brick) { .brickType = 2, .x = 337, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[53 ] = (brick) { .brickType = 2, .x = 369, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[54 ] = (brick) { .brickType = 2, .x = 401, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[55 ] = (brick) { .brickType = 2, .x = 433, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; - bricks[56 ] = (brick) { .brickType = 3, .x = 17, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[57 ] = (brick) { .brickType = 3, .x = 49, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[58 ] = (brick) { .brickType = 3, .x = 81, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[59 ] = (brick) { .brickType = 3, .x = 113, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[60 ] = (brick) { .brickType = 3, .x = 145, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[61 ] = (brick) { .brickType = 3, .x = 177, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[62 ] = (brick) { .brickType = 3, .x = 209, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[63 ] = (brick) { .brickType = 3, .x = 241, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[64 ] = (brick) { .brickType = 3, .x = 273, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[65 ] = (brick) { .brickType = 3, .x = 305, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[66 ] = (brick) { .brickType = 3, .x = 337, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[67 ] = (brick) { .brickType = 3, .x = 369, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[68 ] = (brick) { .brickType = 3, .x = 401, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[69 ] = (brick) { .brickType = 3, .x = 433, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; - bricks[70 ] = (brick) { .brickType = 3, .x = 17, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[71 ] = (brick) { .brickType = 3, .x = 49, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[72 ] = (brick) { .brickType = 3, .x = 81, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[73 ] = (brick) { .brickType = 3, .x = 113, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[74 ] = (brick) { .brickType = 3, .x = 145, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[75 ] = (brick) { .brickType = 3, .x = 177, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[76 ] = (brick) { .brickType = 3, .x = 209, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[77 ] = (brick) { .brickType = 3, .x = 241, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[78 ] = (brick) { .brickType = 3, .x = 273, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[79 ] = (brick) { .brickType = 3, .x = 305, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[80 ] = (brick) { .brickType = 3, .x = 337, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[81 ] = (brick) { .brickType = 3, .x = 369, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[82 ] = (brick) { .brickType = 3, .x = 401, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[83 ] = (brick) { .brickType = 3, .x = 433, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; - bricks[84 ] = (brick) { .brickType = 4, .x = 17, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[85 ] = (brick) { .brickType = 4, .x = 49, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[86 ] = (brick) { .brickType = 4, .x = 81, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[87 ] = (brick) { .brickType = 4, .x = 113, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[88 ] = (brick) { .brickType = 4, .x = 145, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[89 ] = (brick) { .brickType = 4, .x = 177, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[90 ] = (brick) { .brickType = 4, .x = 209, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[91 ] = (brick) { .brickType = 4, .x = 241, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[92 ] = (brick) { .brickType = 4, .x = 273, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[93 ] = (brick) { .brickType = 4, .x = 305, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[94 ] = (brick) { .brickType = 4, .x = 337, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[95 ] = (brick) { .brickType = 4, .x = 369, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[96 ] = (brick) { .brickType = 4, .x = 401, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[97 ] = (brick) { .brickType = 4, .x = 433, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; - bricks[98 ] = (brick) { .brickType = 4, .x = 17, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[99 ] = (brick) { .brickType = 4, .x = 49, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[100] = (brick) { .brickType = 4, .x = 81, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[101] = (brick) { .brickType = 4, .x = 113, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[102] = (brick) { .brickType = 4, .x = 145, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[103] = (brick) { .brickType = 4, .x = 177, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[104] = (brick) { .brickType = 4, .x = 209, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[105] = (brick) { .brickType = 4, .x = 241, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[106] = (brick) { .brickType = 4, .x = 273, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[107] = (brick) { .brickType = 4, .x = 305, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[108] = (brick) { .brickType = 4, .x = 337, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[109] = (brick) { .brickType = 4, .x = 369, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[110] = (brick) { .brickType = 4, .x = 401, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - bricks[111] = (brick) { .brickType = 4, .x = 433, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; - *brickCount = 112; -} - -void initialiseBricks2(brick *bricks, int *brickCount) { - bricks[0] = (brick) { .brickType = 1, .x = 290, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[1] = (brick) { .brickType = 1, .x = 280, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[2] = (brick) { .brickType = 1, .x = 270, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[3] = (brick) { .brickType = 1, .x = 260, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[4] = (brick) { .brickType = 1, .x = 250, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[5] = (brick) { .brickType = 1, .x = 240, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[6] = (brick) { .brickType = 1, .x = 200, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[7] = (brick) { .brickType = 1, .x = 190, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[8] = (brick) { .brickType = 1, .x = 180, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[9] = (brick) { .brickType = 1, .x = 170, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[10] = (brick) { .brickType = 1, .x = 300, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[11] = (brick) { .brickType = 1, .x = 290, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[12] = (brick) { .brickType = 1, .x = 280, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[13] = (brick) { .brickType = 1, .x = 270, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[14] = (brick) { .brickType = 1, .x = 260, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[15] = (brick) { .brickType = 1, .x = 250, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[16] = (brick) { .brickType = 1, .x = 240, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[17] = (brick) { .brickType = 1, .x = 230, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[18] = (brick) { .brickType = 1, .x = 220, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[19] = (brick) { .brickType = 1, .x = 210, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[20] = (brick) { .brickType = 1, .x = 200, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[21] = (brick) { .brickType = 1, .x = 190, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[22] = (brick) { .brickType = 1, .x = 180, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[23] = (brick) { .brickType = 1, .x = 170, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[24] = (brick) { .brickType = 1, .x = 160, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[25] = (brick) { .brickType = 1, .x = 310, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[26] = (brick) { .brickType = 1, .x = 300, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[27] = (brick) { .brickType = 1, .x = 290, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[28] = (brick) { .brickType = 1, .x = 280, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[29] = (brick) { .brickType = 1, .x = 270, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[30] = (brick) { .brickType = 1, .x = 260, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[31] = (brick) { .brickType = 1, .x = 250, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[32] = (brick) { .brickType = 1, .x = 200, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[33] = (brick) { .brickType = 1, .x = 190, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[34] = (brick) { .brickType = 1, .x = 180, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[35] = (brick) { .brickType = 1, .x = 170, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[36] = (brick) { .brickType = 1, .x = 160, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[37] = (brick) { .brickType = 1, .x = 150, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[38] = (brick) { .brickType = 1, .x = 320, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[39] = (brick) { .brickType = 1, .x = 310, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[40] = (brick) { .brickType = 1, .x = 300, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[41] = (brick) { .brickType = 1, .x = 290, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[42] = (brick) { .brickType = 1, .x = 280, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[43] = (brick) { .brickType = 1, .x = 270, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[44] = (brick) { .brickType = 1, .x = 260, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[45] = (brick) { .brickType = 1, .x = 250, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[46] = (brick) { .brickType = 1, .x = 240, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[47] = (brick) { .brickType = 1, .x = 210, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[48] = (brick) { .brickType = 1, .x = 200, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[49] = (brick) { .brickType = 1, .x = 190, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[50] = (brick) { .brickType = 1, .x = 180, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[51] = (brick) { .brickType = 1, .x = 170, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[52] = (brick) { .brickType = 1, .x = 160, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[53] = (brick) { .brickType = 1, .x = 150, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[54] = (brick) { .brickType = 1, .x = 140, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[55] = (brick) { .brickType = 1, .x = 320, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[56] = (brick) { .brickType = 1, .x = 310, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[57] = (brick) { .brickType = 1, .x = 300, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[58] = (brick) { .brickType = 1, .x = 290, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[59] = (brick) { .brickType = 1, .x = 280, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[60] = (brick) { .brickType = 1, .x = 270, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[61] = (brick) { .brickType = 1, .x = 260, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[62] = (brick) { .brickType = 1, .x = 250, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[63] = (brick) { .brickType = 1, .x = 240, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[64] = (brick) { .brickType = 1, .x = 230, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[65] = (brick) { .brickType = 1, .x = 220, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[66] = (brick) { .brickType = 1, .x = 210, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[67] = (brick) { .brickType = 1, .x = 200, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[68] = (brick) { .brickType = 1, .x = 190, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[69] = (brick) { .brickType = 1, .x = 180, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[70] = (brick) { .brickType = 1, .x = 170, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[71] = (brick) { .brickType = 1, .x = 160, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[72] = (brick) { .brickType = 1, .x = 150, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[73] = (brick) { .brickType = 1, .x = 140, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[74] = (brick) { .brickType = 1, .x = 330, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[75] = (brick) { .brickType = 1, .x = 320, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[76] = (brick) { .brickType = 1, .x = 310, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[77] = (brick) { .brickType = 1, .x = 300, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[78] = (brick) { .brickType = 1, .x = 290, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[79] = (brick) { .brickType = 1, .x = 280, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[80] = (brick) { .brickType = 1, .x = 260, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[81] = (brick) { .brickType = 1, .x = 250, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[82] = (brick) { .brickType = 1, .x = 240, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[83] = (brick) { .brickType = 1, .x = 230, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[84] = (brick) { .brickType = 1, .x = 220, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[85] = (brick) { .brickType = 1, .x = 210, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[86] = (brick) { .brickType = 1, .x = 200, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[87] = (brick) { .brickType = 1, .x = 190, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[88] = (brick) { .brickType = 1, .x = 160, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[89] = (brick) { .brickType = 1, .x = 150, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[90] = (brick) { .brickType = 1, .x = 140, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[91] = (brick) { .brickType = 1, .x = 330, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[92] = (brick) { .brickType = 1, .x = 320, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[93] = (brick) { .brickType = 1, .x = 310, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[94] = (brick) { .brickType = 1, .x = 300, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[95] = (brick) { .brickType = 1, .x = 290, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[96] = (brick) { .brickType = 1, .x = 280, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[97] = (brick) { .brickType = 1, .x = 230, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[98] = (brick) { .brickType = 1, .x = 220, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[99] = (brick) { .brickType = 1, .x = 210, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[100] = (brick) { .brickType = 1, .x = 160, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[101] = (brick) { .brickType = 1, .x = 150, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[102] = (brick) { .brickType = 1, .x = 140, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[103] = (brick) { .brickType = 1, .x = 330, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[104] = (brick) { .brickType = 1, .x = 320, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[105] = (brick) { .brickType = 1, .x = 310, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[106] = (brick) { .brickType = 1, .x = 300, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[107] = (brick) { .brickType = 1, .x = 290, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[108] = (brick) { .brickType = 1, .x = 280, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[109] = (brick) { .brickType = 1, .x = 270, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[110] = (brick) { .brickType = 1, .x = 170, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[111] = (brick) { .brickType = 1, .x = 160, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[112] = (brick) { .brickType = 1, .x = 150, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[113] = (brick) { .brickType = 1, .x = 140, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[114] = (brick) { .brickType = 1, .x = 340, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[115] = (brick) { .brickType = 1, .x = 330, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[116] = (brick) { .brickType = 1, .x = 320, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[117] = (brick) { .brickType = 1, .x = 310, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[118] = (brick) { .brickType = 1, .x = 300, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[119] = (brick) { .brickType = 1, .x = 290, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[120] = (brick) { .brickType = 1, .x = 280, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[121] = (brick) { .brickType = 1, .x = 270, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[122] = (brick) { .brickType = 1, .x = 260, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[123] = (brick) { .brickType = 1, .x = 250, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[124] = (brick) { .brickType = 1, .x = 190, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[125] = (brick) { .brickType = 1, .x = 180, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[126] = (brick) { .brickType = 1, .x = 170, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[127] = (brick) { .brickType = 1, .x = 160, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[128] = (brick) { .brickType = 1, .x = 150, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[129] = (brick) { .brickType = 1, .x = 140, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[130] = (brick) { .brickType = 1, .x = 130, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[131] = (brick) { .brickType = 1, .x = 340, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[132] = (brick) { .brickType = 1, .x = 330, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[133] = (brick) { .brickType = 1, .x = 320, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[134] = (brick) { .brickType = 1, .x = 310, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[135] = (brick) { .brickType = 1, .x = 300, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[136] = (brick) { .brickType = 1, .x = 290, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[137] = (brick) { .brickType = 1, .x = 280, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[138] = (brick) { .brickType = 1, .x = 270, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[139] = (brick) { .brickType = 1, .x = 260, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[140] = (brick) { .brickType = 1, .x = 250, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[141] = (brick) { .brickType = 1, .x = 230, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[142] = (brick) { .brickType = 1, .x = 220, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[143] = (brick) { .brickType = 1, .x = 200, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[144] = (brick) { .brickType = 1, .x = 190, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[145] = (brick) { .brickType = 1, .x = 180, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[146] = (brick) { .brickType = 1, .x = 170, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[147] = (brick) { .brickType = 1, .x = 160, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[148] = (brick) { .brickType = 1, .x = 150, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[149] = (brick) { .brickType = 1, .x = 140, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[150] = (brick) { .brickType = 1, .x = 130, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[151] = (brick) { .brickType = 1, .x = 120, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[152] = (brick) { .brickType = 1, .x = 340, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[153] = (brick) { .brickType = 1, .x = 330, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[154] = (brick) { .brickType = 1, .x = 320, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[155] = (brick) { .brickType = 1, .x = 310, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[156] = (brick) { .brickType = 1, .x = 300, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[157] = (brick) { .brickType = 1, .x = 290, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[158] = (brick) { .brickType = 1, .x = 280, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[159] = (brick) { .brickType = 1, .x = 270, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[160] = (brick) { .brickType = 1, .x = 260, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[161] = (brick) { .brickType = 1, .x = 250, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[162] = (brick) { .brickType = 1, .x = 230, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[163] = (brick) { .brickType = 1, .x = 220, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[164] = (brick) { .brickType = 1, .x = 200, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[165] = (brick) { .brickType = 1, .x = 190, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[166] = (brick) { .brickType = 1, .x = 180, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[167] = (brick) { .brickType = 1, .x = 170, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[168] = (brick) { .brickType = 1, .x = 160, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[169] = (brick) { .brickType = 1, .x = 150, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[170] = (brick) { .brickType = 1, .x = 140, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[171] = (brick) { .brickType = 1, .x = 130, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[172] = (brick) { .brickType = 1, .x = 120, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[173] = (brick) { .brickType = 1, .x = 340, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[174] = (brick) { .brickType = 1, .x = 330, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[175] = (brick) { .brickType = 1, .x = 320, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[176] = (brick) { .brickType = 1, .x = 310, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[177] = (brick) { .brickType = 1, .x = 300, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[178] = (brick) { .brickType = 1, .x = 290, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[179] = (brick) { .brickType = 1, .x = 280, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[180] = (brick) { .brickType = 1, .x = 270, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[181] = (brick) { .brickType = 1, .x = 260, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[182] = (brick) { .brickType = 1, .x = 250, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[183] = (brick) { .brickType = 1, .x = 240, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[184] = (brick) { .brickType = 1, .x = 230, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[185] = (brick) { .brickType = 1, .x = 220, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[186] = (brick) { .brickType = 1, .x = 210, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[187] = (brick) { .brickType = 1, .x = 200, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[188] = (brick) { .brickType = 1, .x = 190, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[189] = (brick) { .brickType = 1, .x = 180, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[190] = (brick) { .brickType = 1, .x = 170, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[191] = (brick) { .brickType = 1, .x = 160, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[192] = (brick) { .brickType = 1, .x = 150, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[193] = (brick) { .brickType = 1, .x = 140, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[194] = (brick) { .brickType = 1, .x = 130, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[195] = (brick) { .brickType = 1, .x = 120, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[196] = (brick) { .brickType = 1, .x = 350, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[197] = (brick) { .brickType = 1, .x = 340, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[198] = (brick) { .brickType = 1, .x = 330, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[199] = (brick) { .brickType = 1, .x = 320, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[200] = (brick) { .brickType = 1, .x = 310, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[201] = (brick) { .brickType = 1, .x = 300, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[202] = (brick) { .brickType = 1, .x = 290, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[203] = (brick) { .brickType = 1, .x = 280, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[204] = (brick) { .brickType = 1, .x = 270, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[205] = (brick) { .brickType = 1, .x = 260, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[206] = (brick) { .brickType = 1, .x = 250, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[207] = (brick) { .brickType = 1, .x = 240, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[208] = (brick) { .brickType = 1, .x = 230, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[209] = (brick) { .brickType = 1, .x = 220, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[210] = (brick) { .brickType = 1, .x = 210, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[211] = (brick) { .brickType = 1, .x = 200, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[212] = (brick) { .brickType = 1, .x = 190, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[213] = (brick) { .brickType = 1, .x = 180, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[214] = (brick) { .brickType = 1, .x = 170, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[215] = (brick) { .brickType = 1, .x = 160, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[216] = (brick) { .brickType = 1, .x = 150, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[217] = (brick) { .brickType = 1, .x = 140, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[218] = (brick) { .brickType = 1, .x = 130, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[219] = (brick) { .brickType = 1, .x = 120, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[220] = (brick) { .brickType = 1, .x = 350, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[221] = (brick) { .brickType = 1, .x = 340, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[222] = (brick) { .brickType = 1, .x = 330, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[223] = (brick) { .brickType = 1, .x = 320, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[224] = (brick) { .brickType = 1, .x = 310, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[225] = (brick) { .brickType = 1, .x = 300, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[226] = (brick) { .brickType = 1, .x = 290, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[227] = (brick) { .brickType = 1, .x = 280, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[228] = (brick) { .brickType = 1, .x = 270, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[229] = (brick) { .brickType = 1, .x = 260, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[230] = (brick) { .brickType = 1, .x = 250, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[231] = (brick) { .brickType = 1, .x = 240, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[232] = (brick) { .brickType = 1, .x = 230, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[233] = (brick) { .brickType = 1, .x = 220, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[234] = (brick) { .brickType = 1, .x = 210, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[235] = (brick) { .brickType = 1, .x = 200, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[236] = (brick) { .brickType = 1, .x = 190, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[237] = (brick) { .brickType = 1, .x = 180, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[238] = (brick) { .brickType = 1, .x = 170, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[239] = (brick) { .brickType = 1, .x = 160, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[240] = (brick) { .brickType = 1, .x = 150, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[241] = (brick) { .brickType = 1, .x = 140, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[242] = (brick) { .brickType = 1, .x = 130, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[243] = (brick) { .brickType = 1, .x = 120, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[244] = (brick) { .brickType = 1, .x = 350, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[245] = (brick) { .brickType = 1, .x = 340, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[246] = (brick) { .brickType = 1, .x = 330, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[247] = (brick) { .brickType = 1, .x = 320, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[248] = (brick) { .brickType = 1, .x = 310, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[249] = (brick) { .brickType = 1, .x = 300, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[250] = (brick) { .brickType = 1, .x = 290, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[251] = (brick) { .brickType = 1, .x = 280, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[252] = (brick) { .brickType = 1, .x = 270, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[253] = (brick) { .brickType = 1, .x = 260, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[254] = (brick) { .brickType = 1, .x = 250, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[255] = (brick) { .brickType = 1, .x = 240, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[256] = (brick) { .brickType = 1, .x = 230, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[257] = (brick) { .brickType = 1, .x = 220, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[258] = (brick) { .brickType = 1, .x = 210, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[259] = (brick) { .brickType = 1, .x = 200, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[260] = (brick) { .brickType = 1, .x = 190, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[261] = (brick) { .brickType = 1, .x = 180, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[262] = (brick) { .brickType = 1, .x = 170, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[263] = (brick) { .brickType = 1, .x = 160, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[264] = (brick) { .brickType = 1, .x = 150, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[265] = (brick) { .brickType = 1, .x = 140, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[266] = (brick) { .brickType = 1, .x = 130, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[267] = (brick) { .brickType = 1, .x = 120, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[268] = (brick) { .brickType = 1, .x = 110, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[269] = (brick) { .brickType = 1, .x = 350, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[270] = (brick) { .brickType = 1, .x = 340, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[271] = (brick) { .brickType = 1, .x = 330, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[272] = (brick) { .brickType = 1, .x = 320, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[273] = (brick) { .brickType = 1, .x = 310, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[274] = (brick) { .brickType = 1, .x = 300, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[275] = (brick) { .brickType = 1, .x = 290, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[276] = (brick) { .brickType = 1, .x = 280, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[277] = (brick) { .brickType = 1, .x = 270, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[278] = (brick) { .brickType = 1, .x = 260, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[279] = (brick) { .brickType = 1, .x = 250, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[280] = (brick) { .brickType = 1, .x = 240, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[281] = (brick) { .brickType = 1, .x = 230, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[282] = (brick) { .brickType = 1, .x = 220, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[283] = (brick) { .brickType = 1, .x = 210, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[284] = (brick) { .brickType = 1, .x = 200, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[285] = (brick) { .brickType = 1, .x = 190, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[286] = (brick) { .brickType = 1, .x = 180, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[287] = (brick) { .brickType = 1, .x = 170, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[288] = (brick) { .brickType = 1, .x = 160, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[289] = (brick) { .brickType = 1, .x = 150, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[290] = (brick) { .brickType = 1, .x = 140, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[291] = (brick) { .brickType = 1, .x = 130, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[292] = (brick) { .brickType = 1, .x = 120, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[293] = (brick) { .brickType = 1, .x = 110, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[294] = (brick) { .brickType = 1, .x = 350, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[295] = (brick) { .brickType = 1, .x = 340, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[296] = (brick) { .brickType = 1, .x = 330, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[297] = (brick) { .brickType = 1, .x = 320, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[298] = (brick) { .brickType = 1, .x = 300, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[299] = (brick) { .brickType = 1, .x = 270, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[300] = (brick) { .brickType = 1, .x = 250, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[301] = (brick) { .brickType = 1, .x = 240, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[302] = (brick) { .brickType = 1, .x = 230, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[303] = (brick) { .brickType = 1, .x = 220, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[304] = (brick) { .brickType = 1, .x = 210, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[305] = (brick) { .brickType = 1, .x = 200, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[306] = (brick) { .brickType = 1, .x = 190, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[307] = (brick) { .brickType = 1, .x = 180, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[308] = (brick) { .brickType = 1, .x = 170, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[309] = (brick) { .brickType = 1, .x = 160, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[310] = (brick) { .brickType = 1, .x = 150, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[311] = (brick) { .brickType = 1, .x = 140, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[312] = (brick) { .brickType = 1, .x = 130, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[313] = (brick) { .brickType = 1, .x = 120, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[314] = (brick) { .brickType = 1, .x = 110, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[315] = (brick) { .brickType = 1, .x = 350, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[316] = (brick) { .brickType = 1, .x = 340, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[317] = (brick) { .brickType = 1, .x = 330, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[318] = (brick) { .brickType = 1, .x = 320, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[319] = (brick) { .brickType = 1, .x = 310, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[320] = (brick) { .brickType = 1, .x = 260, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[321] = (brick) { .brickType = 1, .x = 250, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[322] = (brick) { .brickType = 1, .x = 240, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[323] = (brick) { .brickType = 1, .x = 230, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[324] = (brick) { .brickType = 1, .x = 220, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[325] = (brick) { .brickType = 1, .x = 210, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[326] = (brick) { .brickType = 1, .x = 190, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[327] = (brick) { .brickType = 1, .x = 160, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[328] = (brick) { .brickType = 1, .x = 140, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[329] = (brick) { .brickType = 1, .x = 130, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[330] = (brick) { .brickType = 1, .x = 120, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[331] = (brick) { .brickType = 1, .x = 110, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[332] = (brick) { .brickType = 1, .x = 350, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[333] = (brick) { .brickType = 1, .x = 340, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[334] = (brick) { .brickType = 1, .x = 330, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[335] = (brick) { .brickType = 1, .x = 320, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[336] = (brick) { .brickType = 1, .x = 310, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[337] = (brick) { .brickType = 1, .x = 300, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[338] = (brick) { .brickType = 1, .x = 290, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[339] = (brick) { .brickType = 1, .x = 280, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[340] = (brick) { .brickType = 1, .x = 270, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[341] = (brick) { .brickType = 1, .x = 250, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[342] = (brick) { .brickType = 1, .x = 240, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[343] = (brick) { .brickType = 1, .x = 230, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[344] = (brick) { .brickType = 1, .x = 220, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[345] = (brick) { .brickType = 1, .x = 210, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[346] = (brick) { .brickType = 1, .x = 200, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[347] = (brick) { .brickType = 1, .x = 190, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[348] = (brick) { .brickType = 1, .x = 150, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[349] = (brick) { .brickType = 1, .x = 140, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[350] = (brick) { .brickType = 1, .x = 130, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[351] = (brick) { .brickType = 1, .x = 120, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[352] = (brick) { .brickType = 1, .x = 110, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[353] = (brick) { .brickType = 1, .x = 350, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[354] = (brick) { .brickType = 1, .x = 340, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[355] = (brick) { .brickType = 1, .x = 330, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[356] = (brick) { .brickType = 1, .x = 320, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[357] = (brick) { .brickType = 1, .x = 250, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[358] = (brick) { .brickType = 1, .x = 240, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[359] = (brick) { .brickType = 1, .x = 230, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[360] = (brick) { .brickType = 1, .x = 220, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[361] = (brick) { .brickType = 1, .x = 210, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[362] = (brick) { .brickType = 1, .x = 180, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[363] = (brick) { .brickType = 1, .x = 170, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[364] = (brick) { .brickType = 1, .x = 160, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[365] = (brick) { .brickType = 1, .x = 150, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[366] = (brick) { .brickType = 1, .x = 140, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[367] = (brick) { .brickType = 1, .x = 130, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[368] = (brick) { .brickType = 1, .x = 120, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[369] = (brick) { .brickType = 1, .x = 340, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[370] = (brick) { .brickType = 1, .x = 330, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[371] = (brick) { .brickType = 1, .x = 320, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[372] = (brick) { .brickType = 1, .x = 310, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[373] = (brick) { .brickType = 1, .x = 300, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[374] = (brick) { .brickType = 1, .x = 290, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[375] = (brick) { .brickType = 1, .x = 280, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[376] = (brick) { .brickType = 1, .x = 270, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[377] = (brick) { .brickType = 1, .x = 260, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[378] = (brick) { .brickType = 1, .x = 250, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[379] = (brick) { .brickType = 1, .x = 240, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[380] = (brick) { .brickType = 1, .x = 230, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[381] = (brick) { .brickType = 1, .x = 220, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[382] = (brick) { .brickType = 1, .x = 210, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[383] = (brick) { .brickType = 1, .x = 200, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[384] = (brick) { .brickType = 1, .x = 140, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[385] = (brick) { .brickType = 1, .x = 130, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[386] = (brick) { .brickType = 1, .x = 120, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[387] = (brick) { .brickType = 1, .x = 340, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[388] = (brick) { .brickType = 1, .x = 330, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[389] = (brick) { .brickType = 1, .x = 320, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[390] = (brick) { .brickType = 1, .x = 310, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[391] = (brick) { .brickType = 1, .x = 300, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[392] = (brick) { .brickType = 1, .x = 290, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[393] = (brick) { .brickType = 1, .x = 280, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[394] = (brick) { .brickType = 1, .x = 270, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[395] = (brick) { .brickType = 1, .x = 260, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[396] = (brick) { .brickType = 1, .x = 250, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[397] = (brick) { .brickType = 1, .x = 240, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[398] = (brick) { .brickType = 1, .x = 230, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[399] = (brick) { .brickType = 1, .x = 220, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[400] = (brick) { .brickType = 1, .x = 210, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[401] = (brick) { .brickType = 1, .x = 200, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[402] = (brick) { .brickType = 1, .x = 190, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[403] = (brick) { .brickType = 1, .x = 180, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[404] = (brick) { .brickType = 1, .x = 170, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[405] = (brick) { .brickType = 1, .x = 160, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[406] = (brick) { .brickType = 1, .x = 150, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[407] = (brick) { .brickType = 1, .x = 140, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[408] = (brick) { .brickType = 1, .x = 130, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[409] = (brick) { .brickType = 1, .x = 120, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[410] = (brick) { .brickType = 1, .x = 340, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[411] = (brick) { .brickType = 1, .x = 330, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[412] = (brick) { .brickType = 1, .x = 320, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[413] = (brick) { .brickType = 1, .x = 310, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[414] = (brick) { .brickType = 1, .x = 300, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[415] = (brick) { .brickType = 1, .x = 290, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[416] = (brick) { .brickType = 1, .x = 280, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[417] = (brick) { .brickType = 1, .x = 270, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[418] = (brick) { .brickType = 1, .x = 260, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[419] = (brick) { .brickType = 1, .x = 250, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[420] = (brick) { .brickType = 1, .x = 240, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[421] = (brick) { .brickType = 1, .x = 230, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[422] = (brick) { .brickType = 1, .x = 220, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[423] = (brick) { .brickType = 1, .x = 210, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[424] = (brick) { .brickType = 1, .x = 200, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[425] = (brick) { .brickType = 1, .x = 190, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[426] = (brick) { .brickType = 1, .x = 180, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[427] = (brick) { .brickType = 1, .x = 170, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[428] = (brick) { .brickType = 1, .x = 160, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[429] = (brick) { .brickType = 1, .x = 150, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[430] = (brick) { .brickType = 1, .x = 140, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[431] = (brick) { .brickType = 1, .x = 130, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[432] = (brick) { .brickType = 1, .x = 120, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[433] = (brick) { .brickType = 1, .x = 340, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[434] = (brick) { .brickType = 1, .x = 330, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[435] = (brick) { .brickType = 1, .x = 320, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[436] = (brick) { .brickType = 1, .x = 310, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[437] = (brick) { .brickType = 1, .x = 300, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[438] = (brick) { .brickType = 1, .x = 290, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[439] = (brick) { .brickType = 1, .x = 280, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[440] = (brick) { .brickType = 1, .x = 270, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[441] = (brick) { .brickType = 1, .x = 260, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[442] = (brick) { .brickType = 1, .x = 250, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[443] = (brick) { .brickType = 1, .x = 240, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[444] = (brick) { .brickType = 1, .x = 230, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[445] = (brick) { .brickType = 1, .x = 220, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[446] = (brick) { .brickType = 1, .x = 210, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[447] = (brick) { .brickType = 1, .x = 200, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[448] = (brick) { .brickType = 1, .x = 190, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[449] = (brick) { .brickType = 1, .x = 180, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[450] = (brick) { .brickType = 1, .x = 170, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[451] = (brick) { .brickType = 1, .x = 160, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[452] = (brick) { .brickType = 1, .x = 150, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[453] = (brick) { .brickType = 1, .x = 140, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[454] = (brick) { .brickType = 1, .x = 130, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[455] = (brick) { .brickType = 1, .x = 340, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[456] = (brick) { .brickType = 1, .x = 330, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[457] = (brick) { .brickType = 1, .x = 320, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[458] = (brick) { .brickType = 1, .x = 310, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[459] = (brick) { .brickType = 1, .x = 300, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[460] = (brick) { .brickType = 1, .x = 290, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[461] = (brick) { .brickType = 1, .x = 280, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[462] = (brick) { .brickType = 1, .x = 270, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[463] = (brick) { .brickType = 1, .x = 260, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[464] = (brick) { .brickType = 1, .x = 250, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[465] = (brick) { .brickType = 1, .x = 240, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[466] = (brick) { .brickType = 1, .x = 230, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[467] = (brick) { .brickType = 1, .x = 220, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[468] = (brick) { .brickType = 1, .x = 210, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[469] = (brick) { .brickType = 1, .x = 200, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[470] = (brick) { .brickType = 1, .x = 190, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[471] = (brick) { .brickType = 1, .x = 180, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[472] = (brick) { .brickType = 1, .x = 170, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[473] = (brick) { .brickType = 1, .x = 160, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[474] = (brick) { .brickType = 1, .x = 150, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[475] = (brick) { .brickType = 1, .x = 140, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[476] = (brick) { .brickType = 1, .x = 130, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[477] = (brick) { .brickType = 1, .x = 330, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[478] = (brick) { .brickType = 1, .x = 320, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[479] = (brick) { .brickType = 1, .x = 310, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[480] = (brick) { .brickType = 1, .x = 300, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[481] = (brick) { .brickType = 1, .x = 290, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[482] = (brick) { .brickType = 1, .x = 280, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[483] = (brick) { .brickType = 1, .x = 270, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[484] = (brick) { .brickType = 1, .x = 260, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[485] = (brick) { .brickType = 1, .x = 250, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[486] = (brick) { .brickType = 1, .x = 240, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[487] = (brick) { .brickType = 1, .x = 230, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[488] = (brick) { .brickType = 1, .x = 220, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[489] = (brick) { .brickType = 1, .x = 210, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[490] = (brick) { .brickType = 1, .x = 200, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[491] = (brick) { .brickType = 1, .x = 190, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[492] = (brick) { .brickType = 1, .x = 180, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[493] = (brick) { .brickType = 1, .x = 170, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[494] = (brick) { .brickType = 1, .x = 160, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[495] = (brick) { .brickType = 1, .x = 150, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[496] = (brick) { .brickType = 1, .x = 140, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[497] = (brick) { .brickType = 1, .x = 130, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[498] = (brick) { .brickType = 1, .x = 310, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[499] = (brick) { .brickType = 1, .x = 300, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[500] = (brick) { .brickType = 1, .x = 290, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[501] = (brick) { .brickType = 1, .x = 280, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[502] = (brick) { .brickType = 1, .x = 270, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[503] = (brick) { .brickType = 1, .x = 260, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[504] = (brick) { .brickType = 1, .x = 250, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[505] = (brick) { .brickType = 1, .x = 240, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[506] = (brick) { .brickType = 1, .x = 230, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[507] = (brick) { .brickType = 1, .x = 220, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[508] = (brick) { .brickType = 1, .x = 210, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[509] = (brick) { .brickType = 1, .x = 200, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[510] = (brick) { .brickType = 1, .x = 190, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[511] = (brick) { .brickType = 1, .x = 180, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[512] = (brick) { .brickType = 1, .x = 170, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[513] = (brick) { .brickType = 1, .x = 160, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[514] = (brick) { .brickType = 1, .x = 150, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[515] = (brick) { .brickType = 1, .x = 140, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[516] = (brick) { .brickType = 1, .x = 130, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[517] = (brick) { .brickType = 1, .x = 280, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[518] = (brick) { .brickType = 1, .x = 270, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[519] = (brick) { .brickType = 1, .x = 260, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[520] = (brick) { .brickType = 1, .x = 250, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[521] = (brick) { .brickType = 1, .x = 240, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[522] = (brick) { .brickType = 1, .x = 230, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[523] = (brick) { .brickType = 1, .x = 220, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[524] = (brick) { .brickType = 1, .x = 210, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[525] = (brick) { .brickType = 1, .x = 200, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[526] = (brick) { .brickType = 1, .x = 190, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[527] = (brick) { .brickType = 1, .x = 180, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[528] = (brick) { .brickType = 1, .x = 170, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[529] = (brick) { .brickType = 1, .x = 160, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[530] = (brick) { .brickType = 1, .x = 150, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[531] = (brick) { .brickType = 1, .x = 140, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[532] = (brick) { .brickType = 1, .x = 220, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[533] = (brick) { .brickType = 1, .x = 210, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[534] = (brick) { .brickType = 1, .x = 200, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[535] = (brick) { .brickType = 1, .x = 190, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[536] = (brick) { .brickType = 1, .x = 180, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[537] = (brick) { .brickType = 1, .x = 170, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[538] = (brick) { .brickType = 1, .x = 160, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[539] = (brick) { .brickType = 1, .x = 150, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[540] = (brick) { .brickType = 1, .x = 210, .y = 240-80, .width = 8, .height = 8, .destroyed = 0 }; - bricks[541] = (brick) { .brickType = 1, .x = 200, .y = 240-80, .width = 8, .height = 8, .destroyed = 0 }; - bricks[542] = (brick) { .brickType = 1, .x = 190, .y = 240-80, .width = 8, .height = 8, .destroyed = 0 }; - bricks[543] = (brick) { .brickType = 1, .x = 180, .y = 240-80, .width = 8, .height = 8, .destroyed = 0 }; - bricks[544] = (brick) { .brickType = 1, .x = 170, .y = 240-80, .width = 8, .height = 8, .destroyed = 0 }; - bricks[545] = (brick) { .brickType = 1, .x = 160, .y = 240-80, .width = 8, .height = 8, .destroyed = 0 }; - bricks[546] = (brick) { .brickType = 2, .x = 470, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[547] = (brick) { .brickType = 2, .x = 460, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[548] = (brick) { .brickType = 2, .x = 450, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[549] = (brick) { .brickType = 2, .x = 380, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[550] = (brick) { .brickType = 2, .x = 370, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[551] = (brick) { .brickType = 2, .x = 360, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[552] = (brick) { .brickType = 2, .x = 80, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[553] = (brick) { .brickType = 2, .x = 70, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[554] = (brick) { .brickType = 2, .x = 60, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[555] = (brick) { .brickType = 2, .x = 50, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[556] = (brick) { .brickType = 2, .x = 40, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[557] = (brick) { .brickType = 2, .x = 30, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[558] = (brick) { .brickType = 2, .x = 20, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[559] = (brick) { .brickType = 2, .x = 10, .y = 240-480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[560] = (brick) { .brickType = 2, .x = 0, .y=480, .width = 8, .height = 8, .destroyed = 0 }; - bricks[561] = (brick) { .brickType = 2, .x = 470, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[562] = (brick) { .brickType = 2, .x = 460, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[563] = (brick) { .brickType = 2, .x = 450, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[564] = (brick) { .brickType = 2, .x = 390, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[565] = (brick) { .brickType = 2, .x = 380, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[566] = (brick) { .brickType = 2, .x = 370, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[567] = (brick) { .brickType = 2, .x = 70, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[568] = (brick) { .brickType = 2, .x = 60, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[569] = (brick) { .brickType = 2, .x = 50, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[570] = (brick) { .brickType = 2, .x = 30, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[571] = (brick) { .brickType = 2, .x = 20, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[572] = (brick) { .brickType = 2, .x = 10, .y = 240-470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[573] = (brick) { .brickType = 2, .x = 0, .y=470, .width = 8, .height = 8, .destroyed = 0 }; - bricks[574] = (brick) { .brickType = 2, .x = 470, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[575] = (brick) { .brickType = 2, .x = 460, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[576] = (brick) { .brickType = 2, .x = 450, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[577] = (brick) { .brickType = 2, .x = 440, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[578] = (brick) { .brickType = 2, .x = 390, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[579] = (brick) { .brickType = 2, .x = 380, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[580] = (brick) { .brickType = 2, .x = 370, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[581] = (brick) { .brickType = 2, .x = 360, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[582] = (brick) { .brickType = 2, .x = 70, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[583] = (brick) { .brickType = 2, .x = 60, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[584] = (brick) { .brickType = 2, .x = 50, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[585] = (brick) { .brickType = 2, .x = 40, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[586] = (brick) { .brickType = 2, .x = 30, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[587] = (brick) { .brickType = 2, .x = 20, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[588] = (brick) { .brickType = 2, .x = 10, .y = 240-460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[589] = (brick) { .brickType = 2, .x = 0, .y=460, .width = 8, .height = 8, .destroyed = 0 }; - bricks[590] = (brick) { .brickType = 2, .x = 470, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[591] = (brick) { .brickType = 2, .x = 460, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[592] = (brick) { .brickType = 2, .x = 450, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[593] = (brick) { .brickType = 2, .x = 440, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[594] = (brick) { .brickType = 2, .x = 400, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[595] = (brick) { .brickType = 2, .x = 390, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[596] = (brick) { .brickType = 2, .x = 380, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[597] = (brick) { .brickType = 2, .x = 370, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[598] = (brick) { .brickType = 2, .x = 350, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[599] = (brick) { .brickType = 2, .x = 70, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[600] = (brick) { .brickType = 2, .x = 60, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[601] = (brick) { .brickType = 2, .x = 50, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[602] = (brick) { .brickType = 2, .x = 40, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[603] = (brick) { .brickType = 2, .x = 30, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[604] = (brick) { .brickType = 2, .x = 20, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[605] = (brick) { .brickType = 2, .x = 10, .y = 240-450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[606] = (brick) { .brickType = 2, .x = 0, .y=450, .width = 8, .height = 8, .destroyed = 0 }; - bricks[607] = (brick) { .brickType = 2, .x = 470, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[608] = (brick) { .brickType = 2, .x = 460, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[609] = (brick) { .brickType = 2, .x = 450, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[610] = (brick) { .brickType = 2, .x = 430, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[611] = (brick) { .brickType = 2, .x = 420, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[612] = (brick) { .brickType = 2, .x = 410, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[613] = (brick) { .brickType = 2, .x = 400, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[614] = (brick) { .brickType = 2, .x = 390, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[615] = (brick) { .brickType = 2, .x = 380, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[616] = (brick) { .brickType = 2, .x = 370, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[617] = (brick) { .brickType = 2, .x = 220, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[618] = (brick) { .brickType = 2, .x = 70, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[619] = (brick) { .brickType = 2, .x = 60, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[620] = (brick) { .brickType = 2, .x = 50, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[621] = (brick) { .brickType = 2, .x = 40, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[622] = (brick) { .brickType = 2, .x = 30, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[623] = (brick) { .brickType = 2, .x = 20, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[624] = (brick) { .brickType = 2, .x = 10, .y = 240-440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[625] = (brick) { .brickType = 2, .x = 0, .y=440, .width = 8, .height = 8, .destroyed = 0 }; - bricks[626] = (brick) { .brickType = 2, .x = 460, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[627] = (brick) { .brickType = 2, .x = 450, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[628] = (brick) { .brickType = 2, .x = 420, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[629] = (brick) { .brickType = 2, .x = 410, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[630] = (brick) { .brickType = 2, .x = 400, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[631] = (brick) { .brickType = 2, .x = 390, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[632] = (brick) { .brickType = 2, .x = 380, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[633] = (brick) { .brickType = 2, .x = 370, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[634] = (brick) { .brickType = 2, .x = 240, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[635] = (brick) { .brickType = 2, .x = 230, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[636] = (brick) { .brickType = 2, .x = 220, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[637] = (brick) { .brickType = 2, .x = 210, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[638] = (brick) { .brickType = 2, .x = 200, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[639] = (brick) { .brickType = 2, .x = 190, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[640] = (brick) { .brickType = 2, .x = 70, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[641] = (brick) { .brickType = 2, .x = 60, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[642] = (brick) { .brickType = 2, .x = 50, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[643] = (brick) { .brickType = 2, .x = 40, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[644] = (brick) { .brickType = 2, .x = 30, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[645] = (brick) { .brickType = 2, .x = 20, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[646] = (brick) { .brickType = 2, .x = 10, .y = 240-430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[647] = (brick) { .brickType = 2, .x = 0, .y =430, .width = 8, .height = 8, .destroyed = 0 }; - bricks[648] = (brick) { .brickType = 2, .x = 420, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[649] = (brick) { .brickType = 2, .x = 410, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[650] = (brick) { .brickType = 2, .x = 400, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[651] = (brick) { .brickType = 2, .x = 390, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[652] = (brick) { .brickType = 2, .x = 380, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[653] = (brick) { .brickType = 2, .x = 370, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[654] = (brick) { .brickType = 2, .x = 250, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[655] = (brick) { .brickType = 2, .x = 240, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[656] = (brick) { .brickType = 2, .x = 230, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[657] = (brick) { .brickType = 2, .x = 220, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[658] = (brick) { .brickType = 2, .x = 210, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[659] = (brick) { .brickType = 2, .x = 200, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[660] = (brick) { .brickType = 2, .x = 190, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[661] = (brick) { .brickType = 2, .x = 180, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[662] = (brick) { .brickType = 2, .x = 70, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[663] = (brick) { .brickType = 2, .x = 60, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[664] = (brick) { .brickType = 2, .x = 50, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[665] = (brick) { .brickType = 2, .x = 40, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[666] = (brick) { .brickType = 2, .x = 30, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[667] = (brick) { .brickType = 2, .x = 20, .y = 240-420, .width = 8, .height = 8, .destroyed = 0 }; - bricks[668] = (brick) { .brickType = 2, .x = 410, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[669] = (brick) { .brickType = 2, .x = 400, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[670] = (brick) { .brickType = 2, .x = 390, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[671] = (brick) { .brickType = 2, .x = 380, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[672] = (brick) { .brickType = 2, .x = 370, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[673] = (brick) { .brickType = 2, .x = 260, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[674] = (brick) { .brickType = 2, .x = 250, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[675] = (brick) { .brickType = 2, .x = 240, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[676] = (brick) { .brickType = 2, .x = 230, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[677] = (brick) { .brickType = 2, .x = 220, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[678] = (brick) { .brickType = 2, .x = 210, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[679] = (brick) { .brickType = 2, .x = 200, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[680] = (brick) { .brickType = 2, .x = 190, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[681] = (brick) { .brickType = 2, .x = 180, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[682] = (brick) { .brickType = 2, .x = 170, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[683] = (brick) { .brickType = 2, .x = 80, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[684] = (brick) { .brickType = 2, .x = 70, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[685] = (brick) { .brickType = 2, .x = 60, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[686] = (brick) { .brickType = 2, .x = 50, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[687] = (brick) { .brickType = 2, .x = 40, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[688] = (brick) { .brickType = 2, .x = 30, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[689] = (brick) { .brickType = 2, .x = 20, .y = 240-410, .width = 8, .height = 8, .destroyed = 0 }; - bricks[690] = (brick) { .brickType = 2, .x = 420, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[691] = (brick) { .brickType = 2, .x = 410, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[692] = (brick) { .brickType = 2, .x = 400, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[693] = (brick) { .brickType = 2, .x = 390, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[694] = (brick) { .brickType = 2, .x = 380, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[695] = (brick) { .brickType = 2, .x = 370, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[696] = (brick) { .brickType = 2, .x = 270, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[697] = (brick) { .brickType = 2, .x = 190, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[698] = (brick) { .brickType = 2, .x = 180, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[699] = (brick) { .brickType = 2, .x = 170, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[700] = (brick) { .brickType = 2, .x = 160, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[701] = (brick) { .brickType = 2, .x = 80, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[702] = (brick) { .brickType = 2, .x = 70, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[703] = (brick) { .brickType = 2, .x = 60, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[704] = (brick) { .brickType = 2, .x = 50, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[705] = (brick) { .brickType = 2, .x = 40, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[706] = (brick) { .brickType = 2, .x = 30, .y = 240-400, .width = 8, .height = 8, .destroyed = 0 }; - bricks[707] = (brick) { .brickType = 2, .x = 420, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[708] = (brick) { .brickType = 2, .x = 410, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[709] = (brick) { .brickType = 2, .x = 400, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[710] = (brick) { .brickType = 2, .x = 390, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[711] = (brick) { .brickType = 2, .x = 380, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[712] = (brick) { .brickType = 2, .x = 370, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[713] = (brick) { .brickType = 2, .x = 280, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[714] = (brick) { .brickType = 2, .x = 170, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[715] = (brick) { .brickType = 2, .x = 160, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[716] = (brick) { .brickType = 2, .x = 150, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[717] = (brick) { .brickType = 2, .x = 80, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[718] = (brick) { .brickType = 2, .x = 70, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[719] = (brick) { .brickType = 2, .x = 60, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[720] = (brick) { .brickType = 2, .x = 50, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[721] = (brick) { .brickType = 2, .x = 40, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[722] = (brick) { .brickType = 2, .x = 30, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[723] = (brick) { .brickType = 2, .x = 20, .y = 240-390, .width = 8, .height = 8, .destroyed = 0 }; - bricks[724] = (brick) { .brickType = 2, .x = 430, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[725] = (brick) { .brickType = 2, .x = 420, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[726] = (brick) { .brickType = 2, .x = 410, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[727] = (brick) { .brickType = 2, .x = 400, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[728] = (brick) { .brickType = 2, .x = 390, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[729] = (brick) { .brickType = 2, .x = 380, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[730] = (brick) { .brickType = 2, .x = 370, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[731] = (brick) { .brickType = 2, .x = 160, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[732] = (brick) { .brickType = 2, .x = 150, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[733] = (brick) { .brickType = 2, .x = 140, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[734] = (brick) { .brickType = 2, .x = 80, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[735] = (brick) { .brickType = 2, .x = 70, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[736] = (brick) { .brickType = 2, .x = 60, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[737] = (brick) { .brickType = 2, .x = 50, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[738] = (brick) { .brickType = 2, .x = 40, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[739] = (brick) { .brickType = 2, .x = 30, .y = 240-380, .width = 8, .height = 8, .destroyed = 0 }; - bricks[740] = (brick) { .brickType = 2, .x = 430, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[741] = (brick) { .brickType = 2, .x = 420, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[742] = (brick) { .brickType = 2, .x = 410, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[743] = (brick) { .brickType = 2, .x = 400, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[744] = (brick) { .brickType = 2, .x = 390, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[745] = (brick) { .brickType = 2, .x = 380, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[746] = (brick) { .brickType = 2, .x = 370, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[747] = (brick) { .brickType = 2, .x = 160, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[748] = (brick) { .brickType = 2, .x = 150, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[749] = (brick) { .brickType = 2, .x = 140, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[750] = (brick) { .brickType = 2, .x = 80, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[751] = (brick) { .brickType = 2, .x = 70, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[752] = (brick) { .brickType = 2, .x = 60, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[753] = (brick) { .brickType = 2, .x = 50, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[754] = (brick) { .brickType = 2, .x = 40, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[755] = (brick) { .brickType = 2, .x = 30, .y = 240-370, .width = 8, .height = 8, .destroyed = 0 }; - bricks[756] = (brick) { .brickType = 2, .x = 430, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[757] = (brick) { .brickType = 2, .x = 410, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[758] = (brick) { .brickType = 2, .x = 400, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[759] = (brick) { .brickType = 2, .x = 390, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[760] = (brick) { .brickType = 2, .x = 380, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[761] = (brick) { .brickType = 2, .x = 370, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[762] = (brick) { .brickType = 2, .x = 150, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[763] = (brick) { .brickType = 2, .x = 140, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[764] = (brick) { .brickType = 2, .x = 90, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[765] = (brick) { .brickType = 2, .x = 80, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[766] = (brick) { .brickType = 2, .x = 70, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[767] = (brick) { .brickType = 2, .x = 60, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[768] = (brick) { .brickType = 2, .x = 50, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[769] = (brick) { .brickType = 2, .x = 40, .y = 240-360, .width = 8, .height = 8, .destroyed = 0 }; - bricks[770] = (brick) { .brickType = 2, .x = 420, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[771] = (brick) { .brickType = 2, .x = 410, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[772] = (brick) { .brickType = 2, .x = 400, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[773] = (brick) { .brickType = 2, .x = 390, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[774] = (brick) { .brickType = 2, .x = 380, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[775] = (brick) { .brickType = 2, .x = 370, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[776] = (brick) { .brickType = 2, .x = 140, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[777] = (brick) { .brickType = 2, .x = 90, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[778] = (brick) { .brickType = 2, .x = 80, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[779] = (brick) { .brickType = 2, .x = 70, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[780] = (brick) { .brickType = 2, .x = 60, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[781] = (brick) { .brickType = 2, .x = 50, .y = 240-350, .width = 8, .height = 8, .destroyed = 0 }; - bricks[782] = (brick) { .brickType = 2, .x = 420, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[783] = (brick) { .brickType = 2, .x = 400, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[784] = (brick) { .brickType = 2, .x = 390, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[785] = (brick) { .brickType = 2, .x = 380, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[786] = (brick) { .brickType = 2, .x = 370, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[787] = (brick) { .brickType = 2, .x = 90, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[788] = (brick) { .brickType = 2, .x = 80, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[789] = (brick) { .brickType = 2, .x = 70, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[790] = (brick) { .brickType = 2, .x = 60, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[791] = (brick) { .brickType = 2, .x = 50, .y = 240-340, .width = 8, .height = 8, .destroyed = 0 }; - bricks[792] = (brick) { .brickType = 2, .x = 410, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[793] = (brick) { .brickType = 2, .x = 400, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[794] = (brick) { .brickType = 2, .x = 390, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[795] = (brick) { .brickType = 2, .x = 380, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[796] = (brick) { .brickType = 2, .x = 370, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[797] = (brick) { .brickType = 2, .x = 90, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[798] = (brick) { .brickType = 2, .x = 80, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[799] = (brick) { .brickType = 2, .x = 70, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[800] = (brick) { .brickType = 2, .x = 60, .y = 240-330, .width = 8, .height = 8, .destroyed = 0 }; - bricks[801] = (brick) { .brickType = 2, .x = 410, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[802] = (brick) { .brickType = 2, .x = 400, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[803] = (brick) { .brickType = 2, .x = 390, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[804] = (brick) { .brickType = 2, .x = 380, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[805] = (brick) { .brickType = 2, .x = 370, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[806] = (brick) { .brickType = 2, .x = 90, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[807] = (brick) { .brickType = 2, .x = 80, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[808] = (brick) { .brickType = 2, .x = 70, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[809] = (brick) { .brickType = 2, .x = 60, .y = 240-320, .width = 8, .height = 8, .destroyed = 0 }; - bricks[810] = (brick) { .brickType = 2, .x = 410, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[811] = (brick) { .brickType = 2, .x = 400, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[812] = (brick) { .brickType = 2, .x = 390, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[813] = (brick) { .brickType = 2, .x = 380, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[814] = (brick) { .brickType = 2, .x = 370, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[815] = (brick) { .brickType = 2, .x = 100, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[816] = (brick) { .brickType = 2, .x = 90, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[817] = (brick) { .brickType = 2, .x = 80, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[818] = (brick) { .brickType = 2, .x = 70, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[819] = (brick) { .brickType = 2, .x = 60, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[820] = (brick) { .brickType = 2, .x = 50, .y = 240-310, .width = 8, .height = 8, .destroyed = 0 }; - bricks[821] = (brick) { .brickType = 2, .x = 410, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[822] = (brick) { .brickType = 2, .x = 400, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[823] = (brick) { .brickType = 2, .x = 390, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[824] = (brick) { .brickType = 2, .x = 380, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[825] = (brick) { .brickType = 2, .x = 370, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[826] = (brick) { .brickType = 2, .x = 90, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[827] = (brick) { .brickType = 2, .x = 70, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[828] = (brick) { .brickType = 2, .x = 60, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[829] = (brick) { .brickType = 2, .x = 50, .y = 240-300, .width = 8, .height = 8, .destroyed = 0 }; - bricks[830] = (brick) { .brickType = 2, .x = 400, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[831] = (brick) { .brickType = 2, .x = 390, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[832] = (brick) { .brickType = 2, .x = 380, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[833] = (brick) { .brickType = 2, .x = 370, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[834] = (brick) { .brickType = 2, .x = 90, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[835] = (brick) { .brickType = 2, .x = 80, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[836] = (brick) { .brickType = 2, .x = 70, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[837] = (brick) { .brickType = 2, .x = 60, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[838] = (brick) { .brickType = 2, .x = 50, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[839] = (brick) { .brickType = 2, .x = 40, .y = 240-290, .width = 8, .height = 8, .destroyed = 0 }; - bricks[840] = (brick) { .brickType = 2, .x = 400, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[841] = (brick) { .brickType = 2, .x = 390, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[842] = (brick) { .brickType = 2, .x = 380, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[843] = (brick) { .brickType = 2, .x = 370, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[844] = (brick) { .brickType = 2, .x = 80, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[845] = (brick) { .brickType = 2, .x = 70, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[846] = (brick) { .brickType = 2, .x = 60, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[847] = (brick) { .brickType = 2, .x = 50, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[848] = (brick) { .brickType = 2, .x = 40, .y = 240-280, .width = 8, .height = 8, .destroyed = 0 }; - bricks[849] = (brick) { .brickType = 2, .x = 400, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[850] = (brick) { .brickType = 2, .x = 390, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[851] = (brick) { .brickType = 2, .x = 380, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[852] = (brick) { .brickType = 2, .x = 370, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[853] = (brick) { .brickType = 2, .x = 80, .y = 240-270, .width = 8, .height = 8, .destroyed = 0 }; - bricks[854] = (brick) { .brickType = 2, .x = 400, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[855] = (brick) { .brickType = 2, .x = 390, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[856] = (brick) { .brickType = 2, .x = 380, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[857] = (brick) { .brickType = 2, .x = 370, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[858] = (brick) { .brickType = 2, .x = 80, .y = 240-260, .width = 8, .height = 8, .destroyed = 0 }; - bricks[859] = (brick) { .brickType = 2, .x = 400, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[860] = (brick) { .brickType = 2, .x = 390, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[861] = (brick) { .brickType = 2, .x = 380, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[862] = (brick) { .brickType = 2, .x = 370, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[863] = (brick) { .brickType = 2, .x = 90, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[864] = (brick) { .brickType = 2, .x = 80, .y = 240-250, .width = 8, .height = 8, .destroyed = 0 }; - bricks[865] = (brick) { .brickType = 2, .x = 400, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[866] = (brick) { .brickType = 2, .x = 390, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[867] = (brick) { .brickType = 2, .x = 380, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[868] = (brick) { .brickType = 2, .x = 90, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[869] = (brick) { .brickType = 2, .x = 80, .y = 240-240, .width = 8, .height = 8, .destroyed = 0 }; - bricks[870] = (brick) { .brickType = 2, .x = 400, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[871] = (brick) { .brickType = 2, .x = 390, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[872] = (brick) { .brickType = 2, .x = 380, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[873] = (brick) { .brickType = 2, .x = 90, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[874] = (brick) { .brickType = 2, .x = 80, .y = 240-230, .width = 8, .height = 8, .destroyed = 0 }; - bricks[875] = (brick) { .brickType = 2, .x = 400, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[876] = (brick) { .brickType = 2, .x = 390, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[877] = (brick) { .brickType = 2, .x = 380, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[878] = (brick) { .brickType = 2, .x = 100, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[879] = (brick) { .brickType = 2, .x = 90, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[880] = (brick) { .brickType = 2, .x = 80, .y = 240-220, .width = 8, .height = 8, .destroyed = 0 }; - bricks[881] = (brick) { .brickType = 2, .x = 400, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[882] = (brick) { .brickType = 2, .x = 390, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[883] = (brick) { .brickType = 2, .x = 380, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[884] = (brick) { .brickType = 2, .x = 100, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[885] = (brick) { .brickType = 2, .x = 90, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[886] = (brick) { .brickType = 2, .x = 80, .y = 240-210, .width = 8, .height = 8, .destroyed = 0 }; - bricks[887] = (brick) { .brickType = 2, .x = 400, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[888] = (brick) { .brickType = 2, .x = 390, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[889] = (brick) { .brickType = 2, .x = 380, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[890] = (brick) { .brickType = 2, .x = 100, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[891] = (brick) { .brickType = 2, .x = 90, .y = 240-200, .width = 8, .height = 8, .destroyed = 0 }; - bricks[892] = (brick) { .brickType = 2, .x = 400, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[893] = (brick) { .brickType = 2, .x = 390, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[894] = (brick) { .brickType = 2, .x = 380, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[895] = (brick) { .brickType = 2, .x = 100, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[896] = (brick) { .brickType = 2, .x = 90, .y = 240-190, .width = 8, .height = 8, .destroyed = 0 }; - bricks[897] = (brick) { .brickType = 2, .x = 400, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[898] = (brick) { .brickType = 2, .x = 390, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[899] = (brick) { .brickType = 2, .x = 380, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[900] = (brick) { .brickType = 2, .x = 100, .y = 240-180, .width = 8, .height = 8, .destroyed = 0 }; - bricks[901] = (brick) { .brickType = 2, .x = 400, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[902] = (brick) { .brickType = 2, .x = 390, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[903] = (brick) { .brickType = 2, .x = 380, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[904] = (brick) { .brickType = 2, .x = 100, .y = 240-170, .width = 8, .height = 8, .destroyed = 0 }; - bricks[905] = (brick) { .brickType = 2, .x = 390, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[906] = (brick) { .brickType = 2, .x = 380, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[907] = (brick) { .brickType = 2, .x = 100, .y = 240-160, .width = 8, .height = 8, .destroyed = 0 }; - bricks[908] = (brick) { .brickType = 2, .x = 390, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[909] = (brick) { .brickType = 2, .x = 380, .y = 240-150, .width = 8, .height = 8, .destroyed = 0 }; - bricks[910] = (brick) { .brickType = 2, .x = 390, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[911] = (brick) { .brickType = 2, .x = 380, .y = 240-140, .width = 8, .height = 8, .destroyed = 0 }; - bricks[912] = (brick) { .brickType = 2, .x = 390, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[913] = (brick) { .brickType = 2, .x = 380, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[914] = (brick) { .brickType = 2, .x = 370, .y = 240-130, .width = 8, .height = 8, .destroyed = 0 }; - bricks[915] = (brick) { .brickType = 2, .x = 380, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[916] = (brick) { .brickType = 2, .x = 370, .y = 240-120, .width = 8, .height = 8, .destroyed = 0 }; - bricks[917] = (brick) { .brickType = 2, .x = 380, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[918] = (brick) { .brickType = 2, .x = 370, .y = 240-110, .width = 8, .height = 8, .destroyed = 0 }; - bricks[919] = (brick) { .brickType = 2, .x = 370, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[920] = (brick) { .brickType = 2, .x = 360, .y = 240-100, .width = 8, .height = 8, .destroyed = 0 }; - bricks[921] = (brick) { .brickType = 2, .x = 370, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[922] = (brick) { .brickType = 2, .x = 360, .y = 240-90, .width = 8, .height = 8, .destroyed = 0 }; - bricks[923] = (brick) { .brickType = 2, .x = 360, .y = 240-80, .width = 8, .height = 8, .destroyed = 0 }; - bricks[924] = (brick) { .brickType = 2, .x = 350, .y = 240-80, .width = 8, .height = 8, .destroyed = 0 }; - bricks[925] = (brick) { .brickType = 2, .x = 340, .y = 240-80, .width = 8, .height = 8, .destroyed = 0 }; - bricks[926] = (brick) { .brickType = 2, .x = 360, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[927] = (brick) { .brickType = 2, .x = 350, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[928] = (brick) { .brickType = 2, .x = 340, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[929] = (brick) { .brickType = 2, .x = 330, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[930] = (brick) { .brickType = 2, .x = 320, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[931] = (brick) { .brickType = 2, .x = 310, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[932] = (brick) { .brickType = 2, .x = 300, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[933] = (brick) { .brickType = 2, .x = 290, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[934] = (brick) { .brickType = 2, .x = 220, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[935] = (brick) { .brickType = 2, .x = 210, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[936] = (brick) { .brickType = 2, .x = 200, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[937] = (brick) { .brickType = 2, .x = 190, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[938] = (brick) { .brickType = 2, .x = 180, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[939] = (brick) { .brickType = 2, .x = 170, .y = 240-70, .width = 8, .height = 8, .destroyed = 0 }; - bricks[940] = (brick) { .brickType = 2, .x = 350, .y = 240-60, .width = 8, .height = 8, .destroyed = 0 }; - bricks[941] = (brick) { .brickType = 2, .x = 340, .y = 240-60, .width = 8, .height = 8, .destroyed = 0 }; - bricks[942] = (brick) { .brickType = 2, .x = 330, .y = 240-60, .width = 8, .height = 8, .destroyed = 0 }; - bricks[943] = (brick) { .brickType = 2, .x = 320, .y = 240-60, .width = 8, .height = 8, .destroyed = 0 }; - bricks[944] = (brick) { .brickType = 2, .x = 310, .y = 240-60, .width = 8, .height = 8, .destroyed = 0 }; - bricks[945] = (brick) { .brickType = 2, .x = 300, .y = 240-60, .width = 8, .height = 8, .destroyed = 0 }; - bricks[946] = (brick) { .brickType = 2, .x = 280, .y = 240-60, .width = 8, .height = 8, .destroyed = 0 }; - bricks[947] = (brick) { .brickType = 2, .x = 220, .y = 240-60, .width = 8, .height = 8, .destroyed = 0 }; - bricks[948] = (brick) { .brickType = 2, .x = 210, .y = 240-60, .width = 8, .height = 8, .destroyed = 0 }; - bricks[949] = (brick) { .brickType = 2, .x = 350, .y = 240-50, .width = 8, .height = 8, .destroyed = 0 }; - bricks[950] = (brick) { .brickType = 2, .x = 340, .y = 240-50, .width = 8, .height = 8, .destroyed = 0 }; - bricks[951] = (brick) { .brickType = 2, .x = 330, .y = 240-50, .width = 8, .height = 8, .destroyed = 0 }; - bricks[952] = (brick) { .brickType = 2, .x = 320, .y = 240-50, .width = 8, .height = 8, .destroyed = 0 }; - bricks[953] = (brick) { .brickType = 2, .x = 310, .y = 240-50, .width = 8, .height = 8, .destroyed = 0 }; - bricks[954] = (brick) { .brickType = 2, .x = 300, .y = 240-50, .width = 8, .height = 8, .destroyed = 0 }; - bricks[955] = (brick) { .brickType = 2, .x = 290, .y = 240-50, .width = 8, .height = 8, .destroyed = 0 }; - bricks[956] = (brick) { .brickType = 2, .x = 210, .y = 240-50, .width = 8, .height = 8, .destroyed = 0 }; - bricks[957] = (brick) { .brickType = 2, .x = 200, .y = 240-50, .width = 8, .height = 8, .destroyed = 0 }; - bricks[958] = (brick) { .brickType = 2, .x = 340, .y = 240-40, .width = 8, .height = 8, .destroyed = 0 }; - bricks[959] = (brick) { .brickType = 2, .x = 330, .y = 240-40, .width = 8, .height = 8, .destroyed = 0 }; - bricks[960] = (brick) { .brickType = 2, .x = 320, .y = 240-40, .width = 8, .height = 8, .destroyed = 0 }; - bricks[961] = (brick) { .brickType = 2, .x = 310, .y = 240-40, .width = 8, .height = 8, .destroyed = 0 }; - bricks[962] = (brick) { .brickType = 2, .x = 300, .y = 240-40, .width = 8, .height = 8, .destroyed = 0 }; - bricks[963] = (brick) { .brickType = 2, .x = 290, .y = 240-40, .width = 8, .height = 8, .destroyed = 0 }; - bricks[964] = (brick) { .brickType = 2, .x = 210, .y = 240-40, .width = 8, .height = 8, .destroyed = 0 }; - bricks[965] = (brick) { .brickType = 2, .x = 200, .y = 240-40, .width = 8, .height = 8, .destroyed = 0 }; - bricks[966] = (brick) { .brickType = 2, .x = 330, .y = 240-30, .width = 8, .height = 8, .destroyed = 0 }; - bricks[967] = (brick) { .brickType = 2, .x = 320, .y = 240-30, .width = 8, .height = 8, .destroyed = 0 }; - bricks[968] = (brick) { .brickType = 2, .x = 300, .y = 240-30, .width = 8, .height = 8, .destroyed = 0 }; - bricks[969] = (brick) { .brickType = 2, .x = 290, .y = 240-30, .width = 8, .height = 8, .destroyed = 0 }; - bricks[970] = (brick) { .brickType = 2, .x = 280, .y = 240-30, .width = 8, .height = 8, .destroyed = 0 }; - bricks[971] = (brick) { .brickType = 2, .x = 200, .y = 240-30, .width = 8, .height = 8, .destroyed = 0 }; - bricks[972] = (brick) { .brickType = 2, .x = 190, .y = 240-30, .width = 8, .height = 8, .destroyed = 0 }; - bricks[973] = (brick) { .brickType = 2, .x = 310, .y = 240-20, .width = 8, .height = 8, .destroyed = 0 }; - bricks[974] = (brick) { .brickType = 2, .x = 300, .y = 240-20, .width = 8, .height = 8, .destroyed = 0 }; - bricks[975] = (brick) { .brickType = 2, .x = 280, .y = 240-20, .width = 8, .height = 8, .destroyed = 0 }; - bricks[976] = (brick) { .brickType = 2, .x = 270, .y = 240-20, .width = 8, .height = 8, .destroyed = 0 }; - bricks[977] = (brick) { .brickType = 2, .x = 190, .y = 240-20, .width = 8, .height = 8, .destroyed = 0 }; - bricks[978] = (brick) { .brickType = 2, .x = 300, .y = 240-10, .width = 8, .height = 8, .destroyed = 0 }; - bricks[979] = (brick) { .brickType = 2, .x = 290, .y = 240-10, .width = 8, .height = 8, .destroyed = 0 }; - bricks[980] = (brick) { .brickType = 2, .x = 280, .y = 240-10, .width = 8, .height = 8, .destroyed = 0 }; - bricks[981] = (brick) { .brickType = 2, .x = 270, .y = 240-10, .width = 8, .height = 8, .destroyed = 0 }; - *brickCount = 982; -} +} \ No newline at end of file diff --git a/breakout/bricks.c b/breakout/bricks.c new file mode 100644 index 0000000..e5b4e50 --- /dev/null +++ b/breakout/bricks.c @@ -0,0 +1,1103 @@ +#include "include/structs.h" + +void initialiseBricks(brick *bricks, int *brickCount) { + bricks[0] = (brick) { .brickType = 1, .x = 17, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[1] = (brick) { .brickType = 1, .x = 49, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[2] = (brick) { .brickType = 1, .x = 81, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[3] = (brick) { .brickType = 1, .x = 113, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[4] = (brick) { .brickType = 1, .x = 145, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[5] = (brick) { .brickType = 1, .x = 177, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[6] = (brick) { .brickType = 1, .x = 209, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[7] = (brick) { .brickType = 1, .x = 241, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[8] = (brick) { .brickType = 1, .x = 273, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[9] = (brick) { .brickType = 1, .x = 305, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[10] = (brick) { .brickType = 1, .x = 337, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[11] = (brick) { .brickType = 1, .x = 369, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[12] = (brick) { .brickType = 1, .x = 401, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[13] = (brick) { .brickType = 1, .x = 433, .y = 130, .width = 30, .height = 10, .destroyed = 0 }; + bricks[14] = (brick) { .brickType = 1, .x = 17, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[15] = (brick) { .brickType = 1, .x = 49, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[16] = (brick) { .brickType = 1, .x = 81, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[17] = (brick) { .brickType = 1, .x = 113, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[18] = (brick) { .brickType = 1, .x = 145, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[19] = (brick) { .brickType = 1, .x = 177, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[20] = (brick) { .brickType = 1, .x = 209, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[21] = (brick) { .brickType = 1, .x = 241, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[22] = (brick) { .brickType = 1, .x = 273, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[23] = (brick) { .brickType = 1, .x = 305, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[24] = (brick) { .brickType = 1, .x = 337, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[25] = (brick) { .brickType = 1, .x = 369, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[26] = (brick) { .brickType = 1, .x = 401, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[27] = (brick) { .brickType = 1, .x = 433, .y = 142, .width = 30, .height = 10, .destroyed = 0 }; + bricks[28] = (brick) { .brickType = 2, .x = 17, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[29] = (brick) { .brickType = 2, .x = 49, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[30] = (brick) { .brickType = 2, .x = 81, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[31] = (brick) { .brickType = 2, .x = 113, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[32] = (brick) { .brickType = 2, .x = 145, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[33] = (brick) { .brickType = 2, .x = 177, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[34] = (brick) { .brickType = 2, .x = 209, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[35] = (brick) { .brickType = 2, .x = 241, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[36] = (brick) { .brickType = 2, .x = 273, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[37] = (brick) { .brickType = 2, .x = 305, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[38] = (brick) { .brickType = 2, .x = 337, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[39] = (brick) { .brickType = 2, .x = 369, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[40] = (brick) { .brickType = 2, .x = 401, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[41] = (brick) { .brickType = 2, .x = 433, .y = 154, .width = 30, .height = 10, .destroyed = 0 }; + bricks[42] = (brick) { .brickType = 2, .x = 17, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[43] = (brick) { .brickType = 2, .x = 49, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[44] = (brick) { .brickType = 2, .x = 81, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[45] = (brick) { .brickType = 2, .x = 113, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[46] = (brick) { .brickType = 2, .x = 145, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[47] = (brick) { .brickType = 2, .x = 177, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[48] = (brick) { .brickType = 2, .x = 209, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[49] = (brick) { .brickType = 2, .x = 241, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[50] = (brick) { .brickType = 2, .x = 273, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[51] = (brick) { .brickType = 2, .x = 305, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[52] = (brick) { .brickType = 2, .x = 337, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[53] = (brick) { .brickType = 2, .x = 369, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[54] = (brick) { .brickType = 2, .x = 401, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[55] = (brick) { .brickType = 2, .x = 433, .y = 166, .width = 30, .height = 10, .destroyed = 0 }; + bricks[56] = (brick) { .brickType = 3, .x = 17, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[57] = (brick) { .brickType = 3, .x = 49, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[58] = (brick) { .brickType = 3, .x = 81, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[59] = (brick) { .brickType = 3, .x = 113, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[60] = (brick) { .brickType = 3, .x = 145, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[61] = (brick) { .brickType = 3, .x = 177, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[62] = (brick) { .brickType = 3, .x = 209, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[63] = (brick) { .brickType = 3, .x = 241, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[64] = (brick) { .brickType = 3, .x = 273, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[65] = (brick) { .brickType = 3, .x = 305, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[66] = (brick) { .brickType = 3, .x = 337, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[67] = (brick) { .brickType = 3, .x = 369, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[68] = (brick) { .brickType = 3, .x = 401, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[69] = (brick) { .brickType = 3, .x = 433, .y = 178, .width = 30, .height = 10, .destroyed = 0 }; + bricks[70] = (brick) { .brickType = 3, .x = 17, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[71] = (brick) { .brickType = 3, .x = 49, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[72] = (brick) { .brickType = 3, .x = 81, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[73] = (brick) { .brickType = 3, .x = 113, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[74] = (brick) { .brickType = 3, .x = 145, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[75] = (brick) { .brickType = 3, .x = 177, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[76] = (brick) { .brickType = 3, .x = 209, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[77] = (brick) { .brickType = 3, .x = 241, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[78] = (brick) { .brickType = 3, .x = 273, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[79] = (brick) { .brickType = 3, .x = 305, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[80] = (brick) { .brickType = 3, .x = 337, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[81] = (brick) { .brickType = 3, .x = 369, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[82] = (brick) { .brickType = 3, .x = 401, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[83] = (brick) { .brickType = 3, .x = 433, .y = 190, .width = 30, .height = 10, .destroyed = 0 }; + bricks[84] = (brick) { .brickType = 4, .x = 17, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[85] = (brick) { .brickType = 4, .x = 49, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[86] = (brick) { .brickType = 4, .x = 81, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[87] = (brick) { .brickType = 4, .x = 113, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[88] = (brick) { .brickType = 4, .x = 145, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[89] = (brick) { .brickType = 4, .x = 177, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[90] = (brick) { .brickType = 4, .x = 209, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[91] = (brick) { .brickType = 4, .x = 241, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[92] = (brick) { .brickType = 4, .x = 273, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[93] = (brick) { .brickType = 4, .x = 305, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[94] = (brick) { .brickType = 4, .x = 337, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[95] = (brick) { .brickType = 4, .x = 369, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[96] = (brick) { .brickType = 4, .x = 401, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[97] = (brick) { .brickType = 4, .x = 433, .y = 202, .width = 30, .height = 10, .destroyed = 0 }; + bricks[98] = (brick) { .brickType = 4, .x = 17, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[99] = (brick) { .brickType = 4, .x = 49, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[100] = (brick) { .brickType = 4, .x = 81, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[101] = (brick) { .brickType = 4, .x = 113, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[102] = (brick) { .brickType = 4, .x = 145, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[103] = (brick) { .brickType = 4, .x = 177, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[104] = (brick) { .brickType = 4, .x = 209, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[105] = (brick) { .brickType = 4, .x = 241, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[106] = (brick) { .brickType = 4, .x = 273, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[107] = (brick) { .brickType = 4, .x = 305, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[108] = (brick) { .brickType = 4, .x = 337, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[109] = (brick) { .brickType = 4, .x = 369, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[110] = (brick) { .brickType = 4, .x = 401, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + bricks[111] = (brick) { .brickType = 4, .x = 433, .y = 214, .width = 30, .height = 10, .destroyed = 0 }; + *brickCount = 112; +} + +void initialiseBricks2(brick *bricks, int *brickCount) { + bricks[0] = (brick) { .brickType = 1, .x = 290, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[1] = (brick) { .brickType = 1, .x = 280, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[2] = (brick) { .brickType = 1, .x = 270, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[3] = (brick) { .brickType = 1, .x = 260, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[4] = (brick) { .brickType = 1, .x = 250, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[5] = (brick) { .brickType = 1, .x = 240, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[6] = (brick) { .brickType = 1, .x = 200, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[7] = (brick) { .brickType = 1, .x = 190, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[8] = (brick) { .brickType = 1, .x = 180, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[9] = (brick) { .brickType = 1, .x = 170, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[10] = (brick) { .brickType = 1, .x = 300, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[11] = (brick) { .brickType = 1, .x = 290, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[12] = (brick) { .brickType = 1, .x = 280, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[13] = (brick) { .brickType = 1, .x = 270, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[14] = (brick) { .brickType = 1, .x = 260, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[15] = (brick) { .brickType = 1, .x = 250, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[16] = (brick) { .brickType = 1, .x = 240, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[17] = (brick) { .brickType = 1, .x = 230, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[18] = (brick) { .brickType = 1, .x = 220, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[19] = (brick) { .brickType = 1, .x = 210, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[20] = (brick) { .brickType = 1, .x = 200, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[21] = (brick) { .brickType = 1, .x = 190, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[22] = (brick) { .brickType = 1, .x = 180, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[23] = (brick) { .brickType = 1, .x = 170, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[24] = (brick) { .brickType = 1, .x = 160, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[25] = (brick) { .brickType = 1, .x = 310, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[26] = (brick) { .brickType = 1, .x = 300, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[27] = (brick) { .brickType = 1, .x = 290, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[28] = (brick) { .brickType = 1, .x = 280, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[29] = (brick) { .brickType = 1, .x = 270, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[30] = (brick) { .brickType = 1, .x = 260, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[31] = (brick) { .brickType = 1, .x = 250, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[32] = (brick) { .brickType = 1, .x = 200, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[33] = (brick) { .brickType = 1, .x = 190, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[34] = (brick) { .brickType = 1, .x = 180, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[35] = (brick) { .brickType = 1, .x = 170, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[36] = (brick) { .brickType = 1, .x = 160, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[37] = (brick) { .brickType = 1, .x = 150, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[38] = (brick) { .brickType = 1, .x = 320, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[39] = (brick) { .brickType = 1, .x = 310, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[40] = (brick) { .brickType = 1, .x = 300, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[41] = (brick) { .brickType = 1, .x = 290, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[42] = (brick) { .brickType = 1, .x = 280, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[43] = (brick) { .brickType = 1, .x = 270, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[44] = (brick) { .brickType = 1, .x = 260, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[45] = (brick) { .brickType = 1, .x = 250, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[46] = (brick) { .brickType = 1, .x = 240, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[47] = (brick) { .brickType = 1, .x = 210, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[48] = (brick) { .brickType = 1, .x = 200, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[49] = (brick) { .brickType = 1, .x = 190, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[50] = (brick) { .brickType = 1, .x = 180, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[51] = (brick) { .brickType = 1, .x = 170, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[52] = (brick) { .brickType = 1, .x = 160, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[53] = (brick) { .brickType = 1, .x = 150, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[54] = (brick) { .brickType = 1, .x = 140, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[55] = (brick) { .brickType = 1, .x = 320, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[56] = (brick) { .brickType = 1, .x = 310, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[57] = (brick) { .brickType = 1, .x = 300, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[58] = (brick) { .brickType = 1, .x = 290, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[59] = (brick) { .brickType = 1, .x = 280, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[60] = (brick) { .brickType = 1, .x = 270, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[61] = (brick) { .brickType = 1, .x = 260, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[62] = (brick) { .brickType = 1, .x = 250, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[63] = (brick) { .brickType = 1, .x = 240, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[64] = (brick) { .brickType = 1, .x = 230, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[65] = (brick) { .brickType = 1, .x = 220, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[66] = (brick) { .brickType = 1, .x = 210, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[67] = (brick) { .brickType = 1, .x = 200, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[68] = (brick) { .brickType = 1, .x = 190, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[69] = (brick) { .brickType = 1, .x = 180, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[70] = (brick) { .brickType = 1, .x = 170, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[71] = (brick) { .brickType = 1, .x = 160, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[72] = (brick) { .brickType = 1, .x = 150, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[73] = (brick) { .brickType = 1, .x = 140, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[74] = (brick) { .brickType = 1, .x = 330, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[75] = (brick) { .brickType = 1, .x = 320, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[76] = (brick) { .brickType = 1, .x = 310, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[77] = (brick) { .brickType = 1, .x = 300, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[78] = (brick) { .brickType = 1, .x = 290, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[79] = (brick) { .brickType = 1, .x = 280, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[80] = (brick) { .brickType = 1, .x = 260, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[81] = (brick) { .brickType = 1, .x = 250, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[82] = (brick) { .brickType = 1, .x = 240, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[83] = (brick) { .brickType = 1, .x = 230, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[84] = (brick) { .brickType = 1, .x = 220, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[85] = (brick) { .brickType = 1, .x = 210, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[86] = (brick) { .brickType = 1, .x = 200, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[87] = (brick) { .brickType = 1, .x = 190, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[88] = (brick) { .brickType = 1, .x = 160, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[89] = (brick) { .brickType = 1, .x = 150, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[90] = (brick) { .brickType = 1, .x = 140, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[91] = (brick) { .brickType = 1, .x = 330, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[92] = (brick) { .brickType = 1, .x = 320, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[93] = (brick) { .brickType = 1, .x = 310, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[94] = (brick) { .brickType = 1, .x = 300, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[95] = (brick) { .brickType = 1, .x = 290, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[96] = (brick) { .brickType = 1, .x = 280, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[97] = (brick) { .brickType = 1, .x = 230, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[98] = (brick) { .brickType = 1, .x = 220, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[99] = (brick) { .brickType = 1, .x = 210, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[100] = (brick) { .brickType = 1, .x = 160, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[101] = (brick) { .brickType = 1, .x = 150, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[102] = (brick) { .brickType = 1, .x = 140, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[103] = (brick) { .brickType = 1, .x = 330, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[104] = (brick) { .brickType = 1, .x = 320, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[105] = (brick) { .brickType = 1, .x = 310, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[106] = (brick) { .brickType = 1, .x = 300, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[107] = (brick) { .brickType = 1, .x = 290, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[108] = (brick) { .brickType = 1, .x = 280, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[109] = (brick) { .brickType = 1, .x = 270, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[110] = (brick) { .brickType = 1, .x = 170, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[111] = (brick) { .brickType = 1, .x = 160, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[112] = (brick) { .brickType = 1, .x = 150, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[113] = (brick) { .brickType = 1, .x = 140, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[114] = (brick) { .brickType = 1, .x = 340, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[115] = (brick) { .brickType = 1, .x = 330, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[116] = (brick) { .brickType = 1, .x = 320, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[117] = (brick) { .brickType = 1, .x = 310, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[118] = (brick) { .brickType = 1, .x = 300, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[119] = (brick) { .brickType = 1, .x = 290, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[120] = (brick) { .brickType = 1, .x = 280, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[121] = (brick) { .brickType = 1, .x = 270, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[122] = (brick) { .brickType = 1, .x = 260, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[123] = (brick) { .brickType = 1, .x = 250, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[124] = (brick) { .brickType = 1, .x = 190, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[125] = (brick) { .brickType = 1, .x = 180, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[126] = (brick) { .brickType = 1, .x = 170, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[127] = (brick) { .brickType = 1, .x = 160, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[128] = (brick) { .brickType = 1, .x = 150, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[129] = (brick) { .brickType = 1, .x = 140, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[130] = (brick) { .brickType = 1, .x = 130, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[131] = (brick) { .brickType = 1, .x = 340, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[132] = (brick) { .brickType = 1, .x = 330, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[133] = (brick) { .brickType = 1, .x = 320, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[134] = (brick) { .brickType = 1, .x = 310, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[135] = (brick) { .brickType = 1, .x = 300, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[136] = (brick) { .brickType = 1, .x = 290, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[137] = (brick) { .brickType = 1, .x = 280, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[138] = (brick) { .brickType = 1, .x = 270, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[139] = (brick) { .brickType = 1, .x = 260, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[140] = (brick) { .brickType = 1, .x = 250, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[141] = (brick) { .brickType = 1, .x = 230, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[142] = (brick) { .brickType = 1, .x = 220, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[143] = (brick) { .brickType = 1, .x = 200, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[144] = (brick) { .brickType = 1, .x = 190, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[145] = (brick) { .brickType = 1, .x = 180, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[146] = (brick) { .brickType = 1, .x = 170, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[147] = (brick) { .brickType = 1, .x = 160, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[148] = (brick) { .brickType = 1, .x = 150, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[149] = (brick) { .brickType = 1, .x = 140, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[150] = (brick) { .brickType = 1, .x = 130, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[151] = (brick) { .brickType = 1, .x = 120, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[152] = (brick) { .brickType = 1, .x = 340, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[153] = (brick) { .brickType = 1, .x = 330, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[154] = (brick) { .brickType = 1, .x = 320, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[155] = (brick) { .brickType = 1, .x = 310, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[156] = (brick) { .brickType = 1, .x = 300, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[157] = (brick) { .brickType = 1, .x = 290, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[158] = (brick) { .brickType = 1, .x = 280, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[159] = (brick) { .brickType = 1, .x = 270, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[160] = (brick) { .brickType = 1, .x = 260, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[161] = (brick) { .brickType = 1, .x = 250, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[162] = (brick) { .brickType = 1, .x = 230, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[163] = (brick) { .brickType = 1, .x = 220, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[164] = (brick) { .brickType = 1, .x = 200, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[165] = (brick) { .brickType = 1, .x = 190, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[166] = (brick) { .brickType = 1, .x = 180, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[167] = (brick) { .brickType = 1, .x = 170, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[168] = (brick) { .brickType = 1, .x = 160, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[169] = (brick) { .brickType = 1, .x = 150, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[170] = (brick) { .brickType = 1, .x = 140, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[171] = (brick) { .brickType = 1, .x = 130, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[172] = (brick) { .brickType = 1, .x = 120, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[173] = (brick) { .brickType = 1, .x = 340, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[174] = (brick) { .brickType = 1, .x = 330, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[175] = (brick) { .brickType = 1, .x = 320, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[176] = (brick) { .brickType = 1, .x = 310, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[177] = (brick) { .brickType = 1, .x = 300, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[178] = (brick) { .brickType = 1, .x = 290, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[179] = (brick) { .brickType = 1, .x = 280, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[180] = (brick) { .brickType = 1, .x = 270, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[181] = (brick) { .brickType = 1, .x = 260, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[182] = (brick) { .brickType = 1, .x = 250, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[183] = (brick) { .brickType = 1, .x = 240, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[184] = (brick) { .brickType = 1, .x = 230, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[185] = (brick) { .brickType = 1, .x = 220, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[186] = (brick) { .brickType = 1, .x = 210, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[187] = (brick) { .brickType = 1, .x = 200, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[188] = (brick) { .brickType = 1, .x = 190, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[189] = (brick) { .brickType = 1, .x = 180, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[190] = (brick) { .brickType = 1, .x = 170, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[191] = (brick) { .brickType = 1, .x = 160, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[192] = (brick) { .brickType = 1, .x = 150, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[193] = (brick) { .brickType = 1, .x = 140, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[194] = (brick) { .brickType = 1, .x = 130, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[195] = (brick) { .brickType = 1, .x = 120, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[196] = (brick) { .brickType = 1, .x = 350, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[197] = (brick) { .brickType = 1, .x = 340, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[198] = (brick) { .brickType = 1, .x = 330, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[199] = (brick) { .brickType = 1, .x = 320, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[200] = (brick) { .brickType = 1, .x = 310, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[201] = (brick) { .brickType = 1, .x = 300, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[202] = (brick) { .brickType = 1, .x = 290, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[203] = (brick) { .brickType = 1, .x = 280, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[204] = (brick) { .brickType = 1, .x = 270, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[205] = (brick) { .brickType = 1, .x = 260, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[206] = (brick) { .brickType = 1, .x = 250, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[207] = (brick) { .brickType = 1, .x = 240, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[208] = (brick) { .brickType = 1, .x = 230, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[209] = (brick) { .brickType = 1, .x = 220, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[210] = (brick) { .brickType = 1, .x = 210, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[211] = (brick) { .brickType = 1, .x = 200, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[212] = (brick) { .brickType = 1, .x = 190, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[213] = (brick) { .brickType = 1, .x = 180, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[214] = (brick) { .brickType = 1, .x = 170, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[215] = (brick) { .brickType = 1, .x = 160, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[216] = (brick) { .brickType = 1, .x = 150, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[217] = (brick) { .brickType = 1, .x = 140, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[218] = (brick) { .brickType = 1, .x = 130, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[219] = (brick) { .brickType = 1, .x = 120, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[220] = (brick) { .brickType = 1, .x = 350, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[221] = (brick) { .brickType = 1, .x = 340, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[222] = (brick) { .brickType = 1, .x = 330, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[223] = (brick) { .brickType = 1, .x = 320, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[224] = (brick) { .brickType = 1, .x = 310, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[225] = (brick) { .brickType = 1, .x = 300, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[226] = (brick) { .brickType = 1, .x = 290, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[227] = (brick) { .brickType = 1, .x = 280, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[228] = (brick) { .brickType = 1, .x = 270, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[229] = (brick) { .brickType = 1, .x = 260, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[230] = (brick) { .brickType = 1, .x = 250, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[231] = (brick) { .brickType = 1, .x = 240, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[232] = (brick) { .brickType = 1, .x = 230, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[233] = (brick) { .brickType = 1, .x = 220, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[234] = (brick) { .brickType = 1, .x = 210, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[235] = (brick) { .brickType = 1, .x = 200, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[236] = (brick) { .brickType = 1, .x = 190, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[237] = (brick) { .brickType = 1, .x = 180, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[238] = (brick) { .brickType = 1, .x = 170, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[239] = (brick) { .brickType = 1, .x = 160, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[240] = (brick) { .brickType = 1, .x = 150, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[241] = (brick) { .brickType = 1, .x = 140, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[242] = (brick) { .brickType = 1, .x = 130, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[243] = (brick) { .brickType = 1, .x = 120, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[244] = (brick) { .brickType = 1, .x = 350, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[245] = (brick) { .brickType = 1, .x = 340, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[246] = (brick) { .brickType = 1, .x = 330, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[247] = (brick) { .brickType = 1, .x = 320, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[248] = (brick) { .brickType = 1, .x = 310, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[249] = (brick) { .brickType = 1, .x = 300, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[250] = (brick) { .brickType = 1, .x = 290, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[251] = (brick) { .brickType = 1, .x = 280, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[252] = (brick) { .brickType = 1, .x = 270, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[253] = (brick) { .brickType = 1, .x = 260, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[254] = (brick) { .brickType = 1, .x = 250, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[255] = (brick) { .brickType = 1, .x = 240, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[256] = (brick) { .brickType = 1, .x = 230, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[257] = (brick) { .brickType = 1, .x = 220, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[258] = (brick) { .brickType = 1, .x = 210, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[259] = (brick) { .brickType = 1, .x = 200, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[260] = (brick) { .brickType = 1, .x = 190, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[261] = (brick) { .brickType = 1, .x = 180, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[262] = (brick) { .brickType = 1, .x = 170, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[263] = (brick) { .brickType = 1, .x = 160, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[264] = (brick) { .brickType = 1, .x = 150, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[265] = (brick) { .brickType = 1, .x = 140, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[266] = (brick) { .brickType = 1, .x = 130, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[267] = (brick) { .brickType = 1, .x = 120, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[268] = (brick) { .brickType = 1, .x = 110, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[269] = (brick) { .brickType = 1, .x = 350, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[270] = (brick) { .brickType = 1, .x = 340, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[271] = (brick) { .brickType = 1, .x = 330, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[272] = (brick) { .brickType = 1, .x = 320, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[273] = (brick) { .brickType = 1, .x = 310, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[274] = (brick) { .brickType = 1, .x = 300, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[275] = (brick) { .brickType = 1, .x = 290, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[276] = (brick) { .brickType = 1, .x = 280, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[277] = (brick) { .brickType = 1, .x = 270, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[278] = (brick) { .brickType = 1, .x = 260, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[279] = (brick) { .brickType = 1, .x = 250, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[280] = (brick) { .brickType = 1, .x = 240, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[281] = (brick) { .brickType = 1, .x = 230, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[282] = (brick) { .brickType = 1, .x = 220, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[283] = (brick) { .brickType = 1, .x = 210, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[284] = (brick) { .brickType = 1, .x = 200, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[285] = (brick) { .brickType = 1, .x = 190, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[286] = (brick) { .brickType = 1, .x = 180, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[287] = (brick) { .brickType = 1, .x = 170, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[288] = (brick) { .brickType = 1, .x = 160, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[289] = (brick) { .brickType = 1, .x = 150, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[290] = (brick) { .brickType = 1, .x = 140, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[291] = (brick) { .brickType = 1, .x = 130, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[292] = (brick) { .brickType = 1, .x = 120, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[293] = (brick) { .brickType = 1, .x = 110, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[294] = (brick) { .brickType = 1, .x = 350, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[295] = (brick) { .brickType = 1, .x = 340, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[296] = (brick) { .brickType = 1, .x = 330, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[297] = (brick) { .brickType = 1, .x = 320, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[298] = (brick) { .brickType = 1, .x = 300, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[299] = (brick) { .brickType = 1, .x = 270, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[300] = (brick) { .brickType = 1, .x = 250, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[301] = (brick) { .brickType = 1, .x = 240, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[302] = (brick) { .brickType = 1, .x = 230, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[303] = (brick) { .brickType = 1, .x = 220, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[304] = (brick) { .brickType = 1, .x = 210, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[305] = (brick) { .brickType = 1, .x = 200, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[306] = (brick) { .brickType = 1, .x = 190, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[307] = (brick) { .brickType = 1, .x = 180, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[308] = (brick) { .brickType = 1, .x = 170, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[309] = (brick) { .brickType = 1, .x = 160, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[310] = (brick) { .brickType = 1, .x = 150, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[311] = (brick) { .brickType = 1, .x = 140, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[312] = (brick) { .brickType = 1, .x = 130, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[313] = (brick) { .brickType = 1, .x = 120, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[314] = (brick) { .brickType = 1, .x = 110, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[315] = (brick) { .brickType = 1, .x = 350, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[316] = (brick) { .brickType = 1, .x = 340, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[317] = (brick) { .brickType = 1, .x = 330, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[318] = (brick) { .brickType = 1, .x = 320, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[319] = (brick) { .brickType = 1, .x = 310, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[320] = (brick) { .brickType = 1, .x = 260, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[321] = (brick) { .brickType = 1, .x = 250, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[322] = (brick) { .brickType = 1, .x = 240, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[323] = (brick) { .brickType = 1, .x = 230, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[324] = (brick) { .brickType = 1, .x = 220, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[325] = (brick) { .brickType = 1, .x = 210, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[326] = (brick) { .brickType = 1, .x = 190, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[327] = (brick) { .brickType = 1, .x = 160, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[328] = (brick) { .brickType = 1, .x = 140, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[329] = (brick) { .brickType = 1, .x = 130, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[330] = (brick) { .brickType = 1, .x = 120, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[331] = (brick) { .brickType = 1, .x = 110, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[332] = (brick) { .brickType = 1, .x = 350, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[333] = (brick) { .brickType = 1, .x = 340, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[334] = (brick) { .brickType = 1, .x = 330, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[335] = (brick) { .brickType = 1, .x = 320, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[336] = (brick) { .brickType = 1, .x = 310, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[337] = (brick) { .brickType = 1, .x = 300, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[338] = (brick) { .brickType = 1, .x = 290, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[339] = (brick) { .brickType = 1, .x = 280, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[340] = (brick) { .brickType = 1, .x = 270, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[341] = (brick) { .brickType = 1, .x = 250, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[342] = (brick) { .brickType = 1, .x = 240, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[343] = (brick) { .brickType = 1, .x = 230, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[344] = (brick) { .brickType = 1, .x = 220, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[345] = (brick) { .brickType = 1, .x = 210, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[346] = (brick) { .brickType = 1, .x = 200, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[347] = (brick) { .brickType = 1, .x = 190, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[348] = (brick) { .brickType = 1, .x = 150, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[349] = (brick) { .brickType = 1, .x = 140, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[350] = (brick) { .brickType = 1, .x = 130, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[351] = (brick) { .brickType = 1, .x = 120, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[352] = (brick) { .brickType = 1, .x = 110, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[353] = (brick) { .brickType = 1, .x = 350, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[354] = (brick) { .brickType = 1, .x = 340, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[355] = (brick) { .brickType = 1, .x = 330, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[356] = (brick) { .brickType = 1, .x = 320, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[357] = (brick) { .brickType = 1, .x = 250, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[358] = (brick) { .brickType = 1, .x = 240, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[359] = (brick) { .brickType = 1, .x = 230, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[360] = (brick) { .brickType = 1, .x = 220, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[361] = (brick) { .brickType = 1, .x = 210, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[362] = (brick) { .brickType = 1, .x = 180, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[363] = (brick) { .brickType = 1, .x = 170, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[364] = (brick) { .brickType = 1, .x = 160, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[365] = (brick) { .brickType = 1, .x = 150, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[366] = (brick) { .brickType = 1, .x = 140, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[367] = (brick) { .brickType = 1, .x = 130, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[368] = (brick) { .brickType = 1, .x = 120, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[369] = (brick) { .brickType = 1, .x = 340, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[370] = (brick) { .brickType = 1, .x = 330, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[371] = (brick) { .brickType = 1, .x = 320, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[372] = (brick) { .brickType = 1, .x = 310, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[373] = (brick) { .brickType = 1, .x = 300, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[374] = (brick) { .brickType = 1, .x = 290, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[375] = (brick) { .brickType = 1, .x = 280, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[376] = (brick) { .brickType = 1, .x = 270, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[377] = (brick) { .brickType = 1, .x = 260, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[378] = (brick) { .brickType = 1, .x = 250, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[379] = (brick) { .brickType = 1, .x = 240, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[380] = (brick) { .brickType = 1, .x = 230, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[381] = (brick) { .brickType = 1, .x = 220, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[382] = (brick) { .brickType = 1, .x = 210, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[383] = (brick) { .brickType = 1, .x = 200, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[384] = (brick) { .brickType = 1, .x = 140, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[385] = (brick) { .brickType = 1, .x = 130, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[386] = (brick) { .brickType = 1, .x = 120, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[387] = (brick) { .brickType = 1, .x = 340, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[388] = (brick) { .brickType = 1, .x = 330, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[389] = (brick) { .brickType = 1, .x = 320, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[390] = (brick) { .brickType = 1, .x = 310, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[391] = (brick) { .brickType = 1, .x = 300, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[392] = (brick) { .brickType = 1, .x = 290, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[393] = (brick) { .brickType = 1, .x = 280, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[394] = (brick) { .brickType = 1, .x = 270, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[395] = (brick) { .brickType = 1, .x = 260, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[396] = (brick) { .brickType = 1, .x = 250, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[397] = (brick) { .brickType = 1, .x = 240, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[398] = (brick) { .brickType = 1, .x = 230, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[399] = (brick) { .brickType = 1, .x = 220, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[400] = (brick) { .brickType = 1, .x = 210, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[401] = (brick) { .brickType = 1, .x = 200, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[402] = (brick) { .brickType = 1, .x = 190, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[403] = (brick) { .brickType = 1, .x = 180, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[404] = (brick) { .brickType = 1, .x = 170, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[405] = (brick) { .brickType = 1, .x = 160, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[406] = (brick) { .brickType = 1, .x = 150, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[407] = (brick) { .brickType = 1, .x = 140, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[408] = (brick) { .brickType = 1, .x = 130, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[409] = (brick) { .brickType = 1, .x = 120, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[410] = (brick) { .brickType = 1, .x = 340, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[411] = (brick) { .brickType = 1, .x = 330, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[412] = (brick) { .brickType = 1, .x = 320, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[413] = (brick) { .brickType = 1, .x = 310, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[414] = (brick) { .brickType = 1, .x = 300, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[415] = (brick) { .brickType = 1, .x = 290, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[416] = (brick) { .brickType = 1, .x = 280, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[417] = (brick) { .brickType = 1, .x = 270, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[418] = (brick) { .brickType = 1, .x = 260, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[419] = (brick) { .brickType = 1, .x = 250, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[420] = (brick) { .brickType = 1, .x = 240, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[421] = (brick) { .brickType = 1, .x = 230, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[422] = (brick) { .brickType = 1, .x = 220, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[423] = (brick) { .brickType = 1, .x = 210, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[424] = (brick) { .brickType = 1, .x = 200, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[425] = (brick) { .brickType = 1, .x = 190, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[426] = (brick) { .brickType = 1, .x = 180, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[427] = (brick) { .brickType = 1, .x = 170, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[428] = (brick) { .brickType = 1, .x = 160, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[429] = (brick) { .brickType = 1, .x = 150, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[430] = (brick) { .brickType = 1, .x = 140, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[431] = (brick) { .brickType = 1, .x = 130, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[432] = (brick) { .brickType = 1, .x = 120, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[433] = (brick) { .brickType = 1, .x = 340, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[434] = (brick) { .brickType = 1, .x = 330, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[435] = (brick) { .brickType = 1, .x = 320, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[436] = (brick) { .brickType = 1, .x = 310, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[437] = (brick) { .brickType = 1, .x = 300, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[438] = (brick) { .brickType = 1, .x = 290, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[439] = (brick) { .brickType = 1, .x = 280, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[440] = (brick) { .brickType = 1, .x = 270, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[441] = (brick) { .brickType = 1, .x = 260, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[442] = (brick) { .brickType = 1, .x = 250, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[443] = (brick) { .brickType = 1, .x = 240, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[444] = (brick) { .brickType = 1, .x = 230, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[445] = (brick) { .brickType = 1, .x = 220, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[446] = (brick) { .brickType = 1, .x = 210, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[447] = (brick) { .brickType = 1, .x = 200, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[448] = (brick) { .brickType = 1, .x = 190, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[449] = (brick) { .brickType = 1, .x = 180, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[450] = (brick) { .brickType = 1, .x = 170, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[451] = (brick) { .brickType = 1, .x = 160, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[452] = (brick) { .brickType = 1, .x = 150, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[453] = (brick) { .brickType = 1, .x = 140, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[454] = (brick) { .brickType = 1, .x = 130, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[455] = (brick) { .brickType = 1, .x = 340, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[456] = (brick) { .brickType = 1, .x = 330, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[457] = (brick) { .brickType = 1, .x = 320, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[458] = (brick) { .brickType = 1, .x = 310, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[459] = (brick) { .brickType = 1, .x = 300, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[460] = (brick) { .brickType = 1, .x = 290, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[461] = (brick) { .brickType = 1, .x = 280, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[462] = (brick) { .brickType = 1, .x = 270, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[463] = (brick) { .brickType = 1, .x = 260, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[464] = (brick) { .brickType = 1, .x = 250, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[465] = (brick) { .brickType = 1, .x = 240, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[466] = (brick) { .brickType = 1, .x = 230, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[467] = (brick) { .brickType = 1, .x = 220, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[468] = (brick) { .brickType = 1, .x = 210, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[469] = (brick) { .brickType = 1, .x = 200, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[470] = (brick) { .brickType = 1, .x = 190, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[471] = (brick) { .brickType = 1, .x = 180, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[472] = (brick) { .brickType = 1, .x = 170, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[473] = (brick) { .brickType = 1, .x = 160, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[474] = (brick) { .brickType = 1, .x = 150, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[475] = (brick) { .brickType = 1, .x = 140, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[476] = (brick) { .brickType = 1, .x = 130, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[477] = (brick) { .brickType = 1, .x = 330, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[478] = (brick) { .brickType = 1, .x = 320, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[479] = (brick) { .brickType = 1, .x = 310, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[480] = (brick) { .brickType = 1, .x = 300, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[481] = (brick) { .brickType = 1, .x = 290, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[482] = (brick) { .brickType = 1, .x = 280, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[483] = (brick) { .brickType = 1, .x = 270, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[484] = (brick) { .brickType = 1, .x = 260, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[485] = (brick) { .brickType = 1, .x = 250, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[486] = (brick) { .brickType = 1, .x = 240, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[487] = (brick) { .brickType = 1, .x = 230, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[488] = (brick) { .brickType = 1, .x = 220, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[489] = (brick) { .brickType = 1, .x = 210, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[490] = (brick) { .brickType = 1, .x = 200, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[491] = (brick) { .brickType = 1, .x = 190, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[492] = (brick) { .brickType = 1, .x = 180, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[493] = (brick) { .brickType = 1, .x = 170, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[494] = (brick) { .brickType = 1, .x = 160, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[495] = (brick) { .brickType = 1, .x = 150, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[496] = (brick) { .brickType = 1, .x = 140, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[497] = (brick) { .brickType = 1, .x = 130, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[498] = (brick) { .brickType = 1, .x = 310, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[499] = (brick) { .brickType = 1, .x = 300, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[500] = (brick) { .brickType = 1, .x = 290, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[501] = (brick) { .brickType = 1, .x = 280, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[502] = (brick) { .brickType = 1, .x = 270, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[503] = (brick) { .brickType = 1, .x = 260, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[504] = (brick) { .brickType = 1, .x = 250, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[505] = (brick) { .brickType = 1, .x = 240, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[506] = (brick) { .brickType = 1, .x = 230, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[507] = (brick) { .brickType = 1, .x = 220, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[508] = (brick) { .brickType = 1, .x = 210, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[509] = (brick) { .brickType = 1, .x = 200, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[510] = (brick) { .brickType = 1, .x = 190, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[511] = (brick) { .brickType = 1, .x = 180, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[512] = (brick) { .brickType = 1, .x = 170, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[513] = (brick) { .brickType = 1, .x = 160, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[514] = (brick) { .brickType = 1, .x = 150, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[515] = (brick) { .brickType = 1, .x = 140, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[516] = (brick) { .brickType = 1, .x = 130, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[517] = (brick) { .brickType = 1, .x = 280, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[518] = (brick) { .brickType = 1, .x = 270, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[519] = (brick) { .brickType = 1, .x = 260, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[520] = (brick) { .brickType = 1, .x = 250, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[521] = (brick) { .brickType = 1, .x = 240, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[522] = (brick) { .brickType = 1, .x = 230, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[523] = (brick) { .brickType = 1, .x = 220, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[524] = (brick) { .brickType = 1, .x = 210, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[525] = (brick) { .brickType = 1, .x = 200, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[526] = (brick) { .brickType = 1, .x = 190, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[527] = (brick) { .brickType = 1, .x = 180, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[528] = (brick) { .brickType = 1, .x = 170, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[529] = (brick) { .brickType = 1, .x = 160, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[530] = (brick) { .brickType = 1, .x = 150, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[531] = (brick) { .brickType = 1, .x = 140, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[532] = (brick) { .brickType = 1, .x = 220, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[533] = (brick) { .brickType = 1, .x = 210, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[534] = (brick) { .brickType = 1, .x = 200, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[535] = (brick) { .brickType = 1, .x = 190, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[536] = (brick) { .brickType = 1, .x = 180, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[537] = (brick) { .brickType = 1, .x = 170, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[538] = (brick) { .brickType = 1, .x = 160, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[539] = (brick) { .brickType = 1, .x = 150, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[540] = (brick) { .brickType = 1, .x = 210, .y = 240 - 80, .width = 8, .height = 8, .destroyed = 0 }; + bricks[541] = (brick) { .brickType = 1, .x = 200, .y = 240 - 80, .width = 8, .height = 8, .destroyed = 0 }; + bricks[542] = (brick) { .brickType = 1, .x = 190, .y = 240 - 80, .width = 8, .height = 8, .destroyed = 0 }; + bricks[543] = (brick) { .brickType = 1, .x = 180, .y = 240 - 80, .width = 8, .height = 8, .destroyed = 0 }; + bricks[544] = (brick) { .brickType = 1, .x = 170, .y = 240 - 80, .width = 8, .height = 8, .destroyed = 0 }; + bricks[545] = (brick) { .brickType = 1, .x = 160, .y = 240 - 80, .width = 8, .height = 8, .destroyed = 0 }; + bricks[546] = (brick) { .brickType = 2, .x = 470, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[547] = (brick) { .brickType = 2, .x = 460, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[548] = (brick) { .brickType = 2, .x = 450, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[549] = (brick) { .brickType = 2, .x = 380, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[550] = (brick) { .brickType = 2, .x = 370, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[551] = (brick) { .brickType = 2, .x = 360, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[552] = (brick) { .brickType = 2, .x = 80, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[553] = (brick) { .brickType = 2, .x = 70, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[554] = (brick) { .brickType = 2, .x = 60, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[555] = (brick) { .brickType = 2, .x = 50, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[556] = (brick) { .brickType = 2, .x = 40, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[557] = (brick) { .brickType = 2, .x = 30, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[558] = (brick) { .brickType = 2, .x = 20, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[559] = (brick) { .brickType = 2, .x = 10, .y = 240 - 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[560] = (brick) { .brickType = 2, .x = 0, .y = 480, .width = 8, .height = 8, .destroyed = 0 }; + bricks[561] = (brick) { .brickType = 2, .x = 470, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[562] = (brick) { .brickType = 2, .x = 460, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[563] = (brick) { .brickType = 2, .x = 450, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[564] = (brick) { .brickType = 2, .x = 390, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[565] = (brick) { .brickType = 2, .x = 380, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[566] = (brick) { .brickType = 2, .x = 370, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[567] = (brick) { .brickType = 2, .x = 70, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[568] = (brick) { .brickType = 2, .x = 60, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[569] = (brick) { .brickType = 2, .x = 50, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[570] = (brick) { .brickType = 2, .x = 30, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[571] = (brick) { .brickType = 2, .x = 20, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[572] = (brick) { .brickType = 2, .x = 10, .y = 240 - 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[573] = (brick) { .brickType = 2, .x = 0, .y = 470, .width = 8, .height = 8, .destroyed = 0 }; + bricks[574] = (brick) { .brickType = 2, .x = 470, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[575] = (brick) { .brickType = 2, .x = 460, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[576] = (brick) { .brickType = 2, .x = 450, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[577] = (brick) { .brickType = 2, .x = 440, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[578] = (brick) { .brickType = 2, .x = 390, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[579] = (brick) { .brickType = 2, .x = 380, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[580] = (brick) { .brickType = 2, .x = 370, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[581] = (brick) { .brickType = 2, .x = 360, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[582] = (brick) { .brickType = 2, .x = 70, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[583] = (brick) { .brickType = 2, .x = 60, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[584] = (brick) { .brickType = 2, .x = 50, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[585] = (brick) { .brickType = 2, .x = 40, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[586] = (brick) { .brickType = 2, .x = 30, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[587] = (brick) { .brickType = 2, .x = 20, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[588] = (brick) { .brickType = 2, .x = 10, .y = 240 - 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[589] = (brick) { .brickType = 2, .x = 0, .y = 460, .width = 8, .height = 8, .destroyed = 0 }; + bricks[590] = (brick) { .brickType = 2, .x = 470, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[591] = (brick) { .brickType = 2, .x = 460, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[592] = (brick) { .brickType = 2, .x = 450, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[593] = (brick) { .brickType = 2, .x = 440, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[594] = (brick) { .brickType = 2, .x = 400, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[595] = (brick) { .brickType = 2, .x = 390, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[596] = (brick) { .brickType = 2, .x = 380, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[597] = (brick) { .brickType = 2, .x = 370, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[598] = (brick) { .brickType = 2, .x = 350, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[599] = (brick) { .brickType = 2, .x = 70, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[600] = (brick) { .brickType = 2, .x = 60, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[601] = (brick) { .brickType = 2, .x = 50, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[602] = (brick) { .brickType = 2, .x = 40, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[603] = (brick) { .brickType = 2, .x = 30, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[604] = (brick) { .brickType = 2, .x = 20, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[605] = (brick) { .brickType = 2, .x = 10, .y = 240 - 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[606] = (brick) { .brickType = 2, .x = 0, .y = 450, .width = 8, .height = 8, .destroyed = 0 }; + bricks[607] = (brick) { .brickType = 2, .x = 470, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[608] = (brick) { .brickType = 2, .x = 460, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[609] = (brick) { .brickType = 2, .x = 450, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[610] = (brick) { .brickType = 2, .x = 430, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[611] = (brick) { .brickType = 2, .x = 420, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[612] = (brick) { .brickType = 2, .x = 410, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[613] = (brick) { .brickType = 2, .x = 400, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[614] = (brick) { .brickType = 2, .x = 390, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[615] = (brick) { .brickType = 2, .x = 380, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[616] = (brick) { .brickType = 2, .x = 370, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[617] = (brick) { .brickType = 2, .x = 220, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[618] = (brick) { .brickType = 2, .x = 70, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[619] = (brick) { .brickType = 2, .x = 60, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[620] = (brick) { .brickType = 2, .x = 50, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[621] = (brick) { .brickType = 2, .x = 40, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[622] = (brick) { .brickType = 2, .x = 30, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[623] = (brick) { .brickType = 2, .x = 20, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[624] = (brick) { .brickType = 2, .x = 10, .y = 240 - 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[625] = (brick) { .brickType = 2, .x = 0, .y = 440, .width = 8, .height = 8, .destroyed = 0 }; + bricks[626] = (brick) { .brickType = 2, .x = 460, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[627] = (brick) { .brickType = 2, .x = 450, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[628] = (brick) { .brickType = 2, .x = 420, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[629] = (brick) { .brickType = 2, .x = 410, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[630] = (brick) { .brickType = 2, .x = 400, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[631] = (brick) { .brickType = 2, .x = 390, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[632] = (brick) { .brickType = 2, .x = 380, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[633] = (brick) { .brickType = 2, .x = 370, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[634] = (brick) { .brickType = 2, .x = 240, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[635] = (brick) { .brickType = 2, .x = 230, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[636] = (brick) { .brickType = 2, .x = 220, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[637] = (brick) { .brickType = 2, .x = 210, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[638] = (brick) { .brickType = 2, .x = 200, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[639] = (brick) { .brickType = 2, .x = 190, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[640] = (brick) { .brickType = 2, .x = 70, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[641] = (brick) { .brickType = 2, .x = 60, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[642] = (brick) { .brickType = 2, .x = 50, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[643] = (brick) { .brickType = 2, .x = 40, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[644] = (brick) { .brickType = 2, .x = 30, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[645] = (brick) { .brickType = 2, .x = 20, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[646] = (brick) { .brickType = 2, .x = 10, .y = 240 - 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[647] = (brick) { .brickType = 2, .x = 0, .y = 430, .width = 8, .height = 8, .destroyed = 0 }; + bricks[648] = (brick) { .brickType = 2, .x = 420, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[649] = (brick) { .brickType = 2, .x = 410, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[650] = (brick) { .brickType = 2, .x = 400, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[651] = (brick) { .brickType = 2, .x = 390, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[652] = (brick) { .brickType = 2, .x = 380, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[653] = (brick) { .brickType = 2, .x = 370, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[654] = (brick) { .brickType = 2, .x = 250, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[655] = (brick) { .brickType = 2, .x = 240, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[656] = (brick) { .brickType = 2, .x = 230, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[657] = (brick) { .brickType = 2, .x = 220, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[658] = (brick) { .brickType = 2, .x = 210, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[659] = (brick) { .brickType = 2, .x = 200, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[660] = (brick) { .brickType = 2, .x = 190, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[661] = (brick) { .brickType = 2, .x = 180, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[662] = (brick) { .brickType = 2, .x = 70, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[663] = (brick) { .brickType = 2, .x = 60, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[664] = (brick) { .brickType = 2, .x = 50, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[665] = (brick) { .brickType = 2, .x = 40, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[666] = (brick) { .brickType = 2, .x = 30, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[667] = (brick) { .brickType = 2, .x = 20, .y = 240 - 420, .width = 8, .height = 8, .destroyed = 0 }; + bricks[668] = (brick) { .brickType = 2, .x = 410, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[669] = (brick) { .brickType = 2, .x = 400, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[670] = (brick) { .brickType = 2, .x = 390, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[671] = (brick) { .brickType = 2, .x = 380, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[672] = (brick) { .brickType = 2, .x = 370, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[673] = (brick) { .brickType = 2, .x = 260, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[674] = (brick) { .brickType = 2, .x = 250, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[675] = (brick) { .brickType = 2, .x = 240, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[676] = (brick) { .brickType = 2, .x = 230, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[677] = (brick) { .brickType = 2, .x = 220, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[678] = (brick) { .brickType = 2, .x = 210, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[679] = (brick) { .brickType = 2, .x = 200, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[680] = (brick) { .brickType = 2, .x = 190, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[681] = (brick) { .brickType = 2, .x = 180, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[682] = (brick) { .brickType = 2, .x = 170, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[683] = (brick) { .brickType = 2, .x = 80, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[684] = (brick) { .brickType = 2, .x = 70, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[685] = (brick) { .brickType = 2, .x = 60, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[686] = (brick) { .brickType = 2, .x = 50, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[687] = (brick) { .brickType = 2, .x = 40, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[688] = (brick) { .brickType = 2, .x = 30, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[689] = (brick) { .brickType = 2, .x = 20, .y = 240 - 410, .width = 8, .height = 8, .destroyed = 0 }; + bricks[690] = (brick) { .brickType = 2, .x = 420, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[691] = (brick) { .brickType = 2, .x = 410, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[692] = (brick) { .brickType = 2, .x = 400, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[693] = (brick) { .brickType = 2, .x = 390, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[694] = (brick) { .brickType = 2, .x = 380, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[695] = (brick) { .brickType = 2, .x = 370, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[696] = (brick) { .brickType = 2, .x = 270, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[697] = (brick) { .brickType = 2, .x = 190, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[698] = (brick) { .brickType = 2, .x = 180, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[699] = (brick) { .brickType = 2, .x = 170, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[700] = (brick) { .brickType = 2, .x = 160, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[701] = (brick) { .brickType = 2, .x = 80, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[702] = (brick) { .brickType = 2, .x = 70, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[703] = (brick) { .brickType = 2, .x = 60, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[704] = (brick) { .brickType = 2, .x = 50, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[705] = (brick) { .brickType = 2, .x = 40, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[706] = (brick) { .brickType = 2, .x = 30, .y = 240 - 400, .width = 8, .height = 8, .destroyed = 0 }; + bricks[707] = (brick) { .brickType = 2, .x = 420, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[708] = (brick) { .brickType = 2, .x = 410, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[709] = (brick) { .brickType = 2, .x = 400, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[710] = (brick) { .brickType = 2, .x = 390, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[711] = (brick) { .brickType = 2, .x = 380, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[712] = (brick) { .brickType = 2, .x = 370, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[713] = (brick) { .brickType = 2, .x = 280, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[714] = (brick) { .brickType = 2, .x = 170, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[715] = (brick) { .brickType = 2, .x = 160, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[716] = (brick) { .brickType = 2, .x = 150, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[717] = (brick) { .brickType = 2, .x = 80, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[718] = (brick) { .brickType = 2, .x = 70, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[719] = (brick) { .brickType = 2, .x = 60, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[720] = (brick) { .brickType = 2, .x = 50, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[721] = (brick) { .brickType = 2, .x = 40, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[722] = (brick) { .brickType = 2, .x = 30, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[723] = (brick) { .brickType = 2, .x = 20, .y = 240 - 390, .width = 8, .height = 8, .destroyed = 0 }; + bricks[724] = (brick) { .brickType = 2, .x = 430, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[725] = (brick) { .brickType = 2, .x = 420, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[726] = (brick) { .brickType = 2, .x = 410, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[727] = (brick) { .brickType = 2, .x = 400, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[728] = (brick) { .brickType = 2, .x = 390, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[729] = (brick) { .brickType = 2, .x = 380, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[730] = (brick) { .brickType = 2, .x = 370, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[731] = (brick) { .brickType = 2, .x = 160, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[732] = (brick) { .brickType = 2, .x = 150, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[733] = (brick) { .brickType = 2, .x = 140, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[734] = (brick) { .brickType = 2, .x = 80, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[735] = (brick) { .brickType = 2, .x = 70, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[736] = (brick) { .brickType = 2, .x = 60, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[737] = (brick) { .brickType = 2, .x = 50, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[738] = (brick) { .brickType = 2, .x = 40, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[739] = (brick) { .brickType = 2, .x = 30, .y = 240 - 380, .width = 8, .height = 8, .destroyed = 0 }; + bricks[740] = (brick) { .brickType = 2, .x = 430, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[741] = (brick) { .brickType = 2, .x = 420, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[742] = (brick) { .brickType = 2, .x = 410, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[743] = (brick) { .brickType = 2, .x = 400, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[744] = (brick) { .brickType = 2, .x = 390, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[745] = (brick) { .brickType = 2, .x = 380, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[746] = (brick) { .brickType = 2, .x = 370, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[747] = (brick) { .brickType = 2, .x = 160, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[748] = (brick) { .brickType = 2, .x = 150, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[749] = (brick) { .brickType = 2, .x = 140, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[750] = (brick) { .brickType = 2, .x = 80, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[751] = (brick) { .brickType = 2, .x = 70, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[752] = (brick) { .brickType = 2, .x = 60, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[753] = (brick) { .brickType = 2, .x = 50, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[754] = (brick) { .brickType = 2, .x = 40, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[755] = (brick) { .brickType = 2, .x = 30, .y = 240 - 370, .width = 8, .height = 8, .destroyed = 0 }; + bricks[756] = (brick) { .brickType = 2, .x = 430, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[757] = (brick) { .brickType = 2, .x = 410, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[758] = (brick) { .brickType = 2, .x = 400, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[759] = (brick) { .brickType = 2, .x = 390, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[760] = (brick) { .brickType = 2, .x = 380, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[761] = (brick) { .brickType = 2, .x = 370, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[762] = (brick) { .brickType = 2, .x = 150, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[763] = (brick) { .brickType = 2, .x = 140, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[764] = (brick) { .brickType = 2, .x = 90, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[765] = (brick) { .brickType = 2, .x = 80, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[766] = (brick) { .brickType = 2, .x = 70, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[767] = (brick) { .brickType = 2, .x = 60, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[768] = (brick) { .brickType = 2, .x = 50, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[769] = (brick) { .brickType = 2, .x = 40, .y = 240 - 360, .width = 8, .height = 8, .destroyed = 0 }; + bricks[770] = (brick) { .brickType = 2, .x = 420, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[771] = (brick) { .brickType = 2, .x = 410, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[772] = (brick) { .brickType = 2, .x = 400, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[773] = (brick) { .brickType = 2, .x = 390, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[774] = (brick) { .brickType = 2, .x = 380, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[775] = (brick) { .brickType = 2, .x = 370, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[776] = (brick) { .brickType = 2, .x = 140, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[777] = (brick) { .brickType = 2, .x = 90, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[778] = (brick) { .brickType = 2, .x = 80, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[779] = (brick) { .brickType = 2, .x = 70, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[780] = (brick) { .brickType = 2, .x = 60, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[781] = (brick) { .brickType = 2, .x = 50, .y = 240 - 350, .width = 8, .height = 8, .destroyed = 0 }; + bricks[782] = (brick) { .brickType = 2, .x = 420, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[783] = (brick) { .brickType = 2, .x = 400, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[784] = (brick) { .brickType = 2, .x = 390, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[785] = (brick) { .brickType = 2, .x = 380, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[786] = (brick) { .brickType = 2, .x = 370, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[787] = (brick) { .brickType = 2, .x = 90, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[788] = (brick) { .brickType = 2, .x = 80, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[789] = (brick) { .brickType = 2, .x = 70, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[790] = (brick) { .brickType = 2, .x = 60, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[791] = (brick) { .brickType = 2, .x = 50, .y = 240 - 340, .width = 8, .height = 8, .destroyed = 0 }; + bricks[792] = (brick) { .brickType = 2, .x = 410, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[793] = (brick) { .brickType = 2, .x = 400, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[794] = (brick) { .brickType = 2, .x = 390, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[795] = (brick) { .brickType = 2, .x = 380, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[796] = (brick) { .brickType = 2, .x = 370, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[797] = (brick) { .brickType = 2, .x = 90, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[798] = (brick) { .brickType = 2, .x = 80, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[799] = (brick) { .brickType = 2, .x = 70, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[800] = (brick) { .brickType = 2, .x = 60, .y = 240 - 330, .width = 8, .height = 8, .destroyed = 0 }; + bricks[801] = (brick) { .brickType = 2, .x = 410, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[802] = (brick) { .brickType = 2, .x = 400, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[803] = (brick) { .brickType = 2, .x = 390, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[804] = (brick) { .brickType = 2, .x = 380, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[805] = (brick) { .brickType = 2, .x = 370, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[806] = (brick) { .brickType = 2, .x = 90, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[807] = (brick) { .brickType = 2, .x = 80, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[808] = (brick) { .brickType = 2, .x = 70, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[809] = (brick) { .brickType = 2, .x = 60, .y = 240 - 320, .width = 8, .height = 8, .destroyed = 0 }; + bricks[810] = (brick) { .brickType = 2, .x = 410, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[811] = (brick) { .brickType = 2, .x = 400, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[812] = (brick) { .brickType = 2, .x = 390, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[813] = (brick) { .brickType = 2, .x = 380, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[814] = (brick) { .brickType = 2, .x = 370, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[815] = (brick) { .brickType = 2, .x = 100, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[816] = (brick) { .brickType = 2, .x = 90, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[817] = (brick) { .brickType = 2, .x = 80, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[818] = (brick) { .brickType = 2, .x = 70, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[819] = (brick) { .brickType = 2, .x = 60, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[820] = (brick) { .brickType = 2, .x = 50, .y = 240 - 310, .width = 8, .height = 8, .destroyed = 0 }; + bricks[821] = (brick) { .brickType = 2, .x = 410, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[822] = (brick) { .brickType = 2, .x = 400, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[823] = (brick) { .brickType = 2, .x = 390, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[824] = (brick) { .brickType = 2, .x = 380, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[825] = (brick) { .brickType = 2, .x = 370, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[826] = (brick) { .brickType = 2, .x = 90, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[827] = (brick) { .brickType = 2, .x = 70, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[828] = (brick) { .brickType = 2, .x = 60, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[829] = (brick) { .brickType = 2, .x = 50, .y = 240 - 300, .width = 8, .height = 8, .destroyed = 0 }; + bricks[830] = (brick) { .brickType = 2, .x = 400, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[831] = (brick) { .brickType = 2, .x = 390, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[832] = (brick) { .brickType = 2, .x = 380, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[833] = (brick) { .brickType = 2, .x = 370, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[834] = (brick) { .brickType = 2, .x = 90, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[835] = (brick) { .brickType = 2, .x = 80, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[836] = (brick) { .brickType = 2, .x = 70, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[837] = (brick) { .brickType = 2, .x = 60, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[838] = (brick) { .brickType = 2, .x = 50, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[839] = (brick) { .brickType = 2, .x = 40, .y = 240 - 290, .width = 8, .height = 8, .destroyed = 0 }; + bricks[840] = (brick) { .brickType = 2, .x = 400, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[841] = (brick) { .brickType = 2, .x = 390, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[842] = (brick) { .brickType = 2, .x = 380, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[843] = (brick) { .brickType = 2, .x = 370, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[844] = (brick) { .brickType = 2, .x = 80, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[845] = (brick) { .brickType = 2, .x = 70, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[846] = (brick) { .brickType = 2, .x = 60, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[847] = (brick) { .brickType = 2, .x = 50, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[848] = (brick) { .brickType = 2, .x = 40, .y = 240 - 280, .width = 8, .height = 8, .destroyed = 0 }; + bricks[849] = (brick) { .brickType = 2, .x = 400, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[850] = (brick) { .brickType = 2, .x = 390, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[851] = (brick) { .brickType = 2, .x = 380, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[852] = (brick) { .brickType = 2, .x = 370, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[853] = (brick) { .brickType = 2, .x = 80, .y = 240 - 270, .width = 8, .height = 8, .destroyed = 0 }; + bricks[854] = (brick) { .brickType = 2, .x = 400, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[855] = (brick) { .brickType = 2, .x = 390, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[856] = (brick) { .brickType = 2, .x = 380, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[857] = (brick) { .brickType = 2, .x = 370, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[858] = (brick) { .brickType = 2, .x = 80, .y = 240 - 260, .width = 8, .height = 8, .destroyed = 0 }; + bricks[859] = (brick) { .brickType = 2, .x = 400, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[860] = (brick) { .brickType = 2, .x = 390, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[861] = (brick) { .brickType = 2, .x = 380, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[862] = (brick) { .brickType = 2, .x = 370, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[863] = (brick) { .brickType = 2, .x = 90, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[864] = (brick) { .brickType = 2, .x = 80, .y = 240 - 250, .width = 8, .height = 8, .destroyed = 0 }; + bricks[865] = (brick) { .brickType = 2, .x = 400, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[866] = (brick) { .brickType = 2, .x = 390, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[867] = (brick) { .brickType = 2, .x = 380, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[868] = (brick) { .brickType = 2, .x = 90, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[869] = (brick) { .brickType = 2, .x = 80, .y = 240 - 240, .width = 8, .height = 8, .destroyed = 0 }; + bricks[870] = (brick) { .brickType = 2, .x = 400, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[871] = (brick) { .brickType = 2, .x = 390, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[872] = (brick) { .brickType = 2, .x = 380, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[873] = (brick) { .brickType = 2, .x = 90, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[874] = (brick) { .brickType = 2, .x = 80, .y = 240 - 230, .width = 8, .height = 8, .destroyed = 0 }; + bricks[875] = (brick) { .brickType = 2, .x = 400, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[876] = (brick) { .brickType = 2, .x = 390, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[877] = (brick) { .brickType = 2, .x = 380, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[878] = (brick) { .brickType = 2, .x = 100, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[879] = (brick) { .brickType = 2, .x = 90, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[880] = (brick) { .brickType = 2, .x = 80, .y = 240 - 220, .width = 8, .height = 8, .destroyed = 0 }; + bricks[881] = (brick) { .brickType = 2, .x = 400, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[882] = (brick) { .brickType = 2, .x = 390, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[883] = (brick) { .brickType = 2, .x = 380, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[884] = (brick) { .brickType = 2, .x = 100, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[885] = (brick) { .brickType = 2, .x = 90, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[886] = (brick) { .brickType = 2, .x = 80, .y = 240 - 210, .width = 8, .height = 8, .destroyed = 0 }; + bricks[887] = (brick) { .brickType = 2, .x = 400, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[888] = (brick) { .brickType = 2, .x = 390, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[889] = (brick) { .brickType = 2, .x = 380, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[890] = (brick) { .brickType = 2, .x = 100, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[891] = (brick) { .brickType = 2, .x = 90, .y = 240 - 200, .width = 8, .height = 8, .destroyed = 0 }; + bricks[892] = (brick) { .brickType = 2, .x = 400, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[893] = (brick) { .brickType = 2, .x = 390, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[894] = (brick) { .brickType = 2, .x = 380, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[895] = (brick) { .brickType = 2, .x = 100, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[896] = (brick) { .brickType = 2, .x = 90, .y = 240 - 190, .width = 8, .height = 8, .destroyed = 0 }; + bricks[897] = (brick) { .brickType = 2, .x = 400, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[898] = (brick) { .brickType = 2, .x = 390, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[899] = (brick) { .brickType = 2, .x = 380, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[900] = (brick) { .brickType = 2, .x = 100, .y = 240 - 180, .width = 8, .height = 8, .destroyed = 0 }; + bricks[901] = (brick) { .brickType = 2, .x = 400, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[902] = (brick) { .brickType = 2, .x = 390, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[903] = (brick) { .brickType = 2, .x = 380, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[904] = (brick) { .brickType = 2, .x = 100, .y = 240 - 170, .width = 8, .height = 8, .destroyed = 0 }; + bricks[905] = (brick) { .brickType = 2, .x = 390, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[906] = (brick) { .brickType = 2, .x = 380, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[907] = (brick) { .brickType = 2, .x = 100, .y = 240 - 160, .width = 8, .height = 8, .destroyed = 0 }; + bricks[908] = (brick) { .brickType = 2, .x = 390, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[909] = (brick) { .brickType = 2, .x = 380, .y = 240 - 150, .width = 8, .height = 8, .destroyed = 0 }; + bricks[910] = (brick) { .brickType = 2, .x = 390, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[911] = (brick) { .brickType = 2, .x = 380, .y = 240 - 140, .width = 8, .height = 8, .destroyed = 0 }; + bricks[912] = (brick) { .brickType = 2, .x = 390, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[913] = (brick) { .brickType = 2, .x = 380, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[914] = (brick) { .brickType = 2, .x = 370, .y = 240 - 130, .width = 8, .height = 8, .destroyed = 0 }; + bricks[915] = (brick) { .brickType = 2, .x = 380, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[916] = (brick) { .brickType = 2, .x = 370, .y = 240 - 120, .width = 8, .height = 8, .destroyed = 0 }; + bricks[917] = (brick) { .brickType = 2, .x = 380, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[918] = (brick) { .brickType = 2, .x = 370, .y = 240 - 110, .width = 8, .height = 8, .destroyed = 0 }; + bricks[919] = (brick) { .brickType = 2, .x = 370, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[920] = (brick) { .brickType = 2, .x = 360, .y = 240 - 100, .width = 8, .height = 8, .destroyed = 0 }; + bricks[921] = (brick) { .brickType = 2, .x = 370, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[922] = (brick) { .brickType = 2, .x = 360, .y = 240 - 90, .width = 8, .height = 8, .destroyed = 0 }; + bricks[923] = (brick) { .brickType = 2, .x = 360, .y = 240 - 80, .width = 8, .height = 8, .destroyed = 0 }; + bricks[924] = (brick) { .brickType = 2, .x = 350, .y = 240 - 80, .width = 8, .height = 8, .destroyed = 0 }; + bricks[925] = (brick) { .brickType = 2, .x = 340, .y = 240 - 80, .width = 8, .height = 8, .destroyed = 0 }; + bricks[926] = (brick) { .brickType = 2, .x = 360, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[927] = (brick) { .brickType = 2, .x = 350, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[928] = (brick) { .brickType = 2, .x = 340, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[929] = (brick) { .brickType = 2, .x = 330, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[930] = (brick) { .brickType = 2, .x = 320, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[931] = (brick) { .brickType = 2, .x = 310, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[932] = (brick) { .brickType = 2, .x = 300, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[933] = (brick) { .brickType = 2, .x = 290, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[934] = (brick) { .brickType = 2, .x = 220, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[935] = (brick) { .brickType = 2, .x = 210, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[936] = (brick) { .brickType = 2, .x = 200, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[937] = (brick) { .brickType = 2, .x = 190, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[938] = (brick) { .brickType = 2, .x = 180, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[939] = (brick) { .brickType = 2, .x = 170, .y = 240 - 70, .width = 8, .height = 8, .destroyed = 0 }; + bricks[940] = (brick) { .brickType = 2, .x = 350, .y = 240 - 60, .width = 8, .height = 8, .destroyed = 0 }; + bricks[941] = (brick) { .brickType = 2, .x = 340, .y = 240 - 60, .width = 8, .height = 8, .destroyed = 0 }; + bricks[942] = (brick) { .brickType = 2, .x = 330, .y = 240 - 60, .width = 8, .height = 8, .destroyed = 0 }; + bricks[943] = (brick) { .brickType = 2, .x = 320, .y = 240 - 60, .width = 8, .height = 8, .destroyed = 0 }; + bricks[944] = (brick) { .brickType = 2, .x = 310, .y = 240 - 60, .width = 8, .height = 8, .destroyed = 0 }; + bricks[945] = (brick) { .brickType = 2, .x = 300, .y = 240 - 60, .width = 8, .height = 8, .destroyed = 0 }; + bricks[946] = (brick) { .brickType = 2, .x = 280, .y = 240 - 60, .width = 8, .height = 8, .destroyed = 0 }; + bricks[947] = (brick) { .brickType = 2, .x = 220, .y = 240 - 60, .width = 8, .height = 8, .destroyed = 0 }; + bricks[948] = (brick) { .brickType = 2, .x = 210, .y = 240 - 60, .width = 8, .height = 8, .destroyed = 0 }; + bricks[949] = (brick) { .brickType = 2, .x = 350, .y = 240 - 50, .width = 8, .height = 8, .destroyed = 0 }; + bricks[950] = (brick) { .brickType = 2, .x = 340, .y = 240 - 50, .width = 8, .height = 8, .destroyed = 0 }; + bricks[951] = (brick) { .brickType = 2, .x = 330, .y = 240 - 50, .width = 8, .height = 8, .destroyed = 0 }; + bricks[952] = (brick) { .brickType = 2, .x = 320, .y = 240 - 50, .width = 8, .height = 8, .destroyed = 0 }; + bricks[953] = (brick) { .brickType = 2, .x = 310, .y = 240 - 50, .width = 8, .height = 8, .destroyed = 0 }; + bricks[954] = (brick) { .brickType = 2, .x = 300, .y = 240 - 50, .width = 8, .height = 8, .destroyed = 0 }; + bricks[955] = (brick) { .brickType = 2, .x = 290, .y = 240 - 50, .width = 8, .height = 8, .destroyed = 0 }; + bricks[956] = (brick) { .brickType = 2, .x = 210, .y = 240 - 50, .width = 8, .height = 8, .destroyed = 0 }; + bricks[957] = (brick) { .brickType = 2, .x = 200, .y = 240 - 50, .width = 8, .height = 8, .destroyed = 0 }; + bricks[958] = (brick) { .brickType = 2, .x = 340, .y = 240 - 40, .width = 8, .height = 8, .destroyed = 0 }; + bricks[959] = (brick) { .brickType = 2, .x = 330, .y = 240 - 40, .width = 8, .height = 8, .destroyed = 0 }; + bricks[960] = (brick) { .brickType = 2, .x = 320, .y = 240 - 40, .width = 8, .height = 8, .destroyed = 0 }; + bricks[961] = (brick) { .brickType = 2, .x = 310, .y = 240 - 40, .width = 8, .height = 8, .destroyed = 0 }; + bricks[962] = (brick) { .brickType = 2, .x = 300, .y = 240 - 40, .width = 8, .height = 8, .destroyed = 0 }; + bricks[963] = (brick) { .brickType = 2, .x = 290, .y = 240 - 40, .width = 8, .height = 8, .destroyed = 0 }; + bricks[964] = (brick) { .brickType = 2, .x = 210, .y = 240 - 40, .width = 8, .height = 8, .destroyed = 0 }; + bricks[965] = (brick) { .brickType = 2, .x = 200, .y = 240 - 40, .width = 8, .height = 8, .destroyed = 0 }; + bricks[966] = (brick) { .brickType = 2, .x = 330, .y = 240 - 30, .width = 8, .height = 8, .destroyed = 0 }; + bricks[967] = (brick) { .brickType = 2, .x = 320, .y = 240 - 30, .width = 8, .height = 8, .destroyed = 0 }; + bricks[968] = (brick) { .brickType = 2, .x = 300, .y = 240 - 30, .width = 8, .height = 8, .destroyed = 0 }; + bricks[969] = (brick) { .brickType = 2, .x = 290, .y = 240 - 30, .width = 8, .height = 8, .destroyed = 0 }; + bricks[970] = (brick) { .brickType = 2, .x = 280, .y = 240 - 30, .width = 8, .height = 8, .destroyed = 0 }; + bricks[971] = (brick) { .brickType = 2, .x = 200, .y = 240 - 30, .width = 8, .height = 8, .destroyed = 0 }; + bricks[972] = (brick) { .brickType = 2, .x = 190, .y = 240 - 30, .width = 8, .height = 8, .destroyed = 0 }; + bricks[973] = (brick) { .brickType = 2, .x = 310, .y = 240 - 20, .width = 8, .height = 8, .destroyed = 0 }; + bricks[974] = (brick) { .brickType = 2, .x = 300, .y = 240 - 20, .width = 8, .height = 8, .destroyed = 0 }; + bricks[975] = (brick) { .brickType = 2, .x = 280, .y = 240 - 20, .width = 8, .height = 8, .destroyed = 0 }; + bricks[976] = (brick) { .brickType = 2, .x = 270, .y = 240 - 20, .width = 8, .height = 8, .destroyed = 0 }; + bricks[977] = (brick) { .brickType = 2, .x = 190, .y = 240 - 20, .width = 8, .height = 8, .destroyed = 0 }; + bricks[978] = (brick) { .brickType = 2, .x = 300, .y = 240 - 10, .width = 8, .height = 8, .destroyed = 0 }; + bricks[979] = (brick) { .brickType = 2, .x = 290, .y = 240 - 10, .width = 8, .height = 8, .destroyed = 0 }; + bricks[980] = (brick) { .brickType = 2, .x = 280, .y = 240 - 10, .width = 8, .height = 8, .destroyed = 0 }; + bricks[981] = (brick) { .brickType = 2, .x = 270, .y = 240 - 10, .width = 8, .height = 8, .destroyed = 0 }; + *brickCount = 982; +} \ No newline at end of file diff --git a/breakout/include/bricks.h b/breakout/include/bricks.h new file mode 100644 index 0000000..869d1fb --- /dev/null +++ b/breakout/include/bricks.h @@ -0,0 +1,2 @@ +void initialiseBricks(brick *bricks, int *brickCount); +void initialiseBricks2(brick *bricks, int *brickCount); \ No newline at end of file diff --git a/breakout/include/paddleAndBall.h b/breakout/include/paddleAndBall.h new file mode 100644 index 0000000..e02b355 --- /dev/null +++ b/breakout/include/paddleAndBall.h @@ -0,0 +1,2 @@ +void updatePaddle(Uint32 tickrate, paddle *thePaddle, char moveX, int winWidth, int winHeight); +void updateBall(Uint32 tickrate, ball *theBall, paddle *thePaddle, int winWidth, int winHeight, brick *bricks, int brickCount, int *playerLives); \ No newline at end of file diff --git a/breakout/include/render.h b/breakout/include/render.h new file mode 100644 index 0000000..4ef13ca --- /dev/null +++ b/breakout/include/render.h @@ -0,0 +1,6 @@ +void drawHearts(GLuint heartFullTex, GLuint heartEmptyTex, int playerLives, int winWidth, int winHeight); +void drawPaddle(paddle *thePaddle, int winWidth, int winHeight, colour *c); +void drawBall(ball *theBall, colour *c); +void drawBricks(brick *bricks, int brickCount, int winWidth, int winHeight, colour *colours); +void drawBg(int winWidth, int winHeight, colour *c1, colour *c2); +void drawText(const char *text, TTF_Font *font, SDL_Color txtColour, coord loc); \ No newline at end of file diff --git a/breakout/include/structs.h b/breakout/include/structs.h new file mode 100644 index 0000000..814d58c --- /dev/null +++ b/breakout/include/structs.h @@ -0,0 +1,48 @@ +typedef struct coord { + double x; + double y; +} coord; + +typedef struct colour { + double r; + double g; + double b; + double a; +} colour; + +typedef struct paddle { + int width; + int height; + double x; +} paddle; + +typedef struct ball { + double x; + double y; + double vX; + double vY; + double initVX; + double initVY; + double radius; + char isColliding; + char stickToPaddle; +} ball; + +typedef struct brick { + char brickType; + int x; + int y; + int width; + int height; + char destroyed; +} brick; + +typedef struct brickCD { + char isLeaf; + int x; + int y; + int width; + int height; + struct brickCD *container; + int brickID; +} brickCD; \ No newline at end of file diff --git a/breakout/include/utilityFunctions.h b/breakout/include/utilityFunctions.h new file mode 100644 index 0000000..81cdf53 --- /dev/null +++ b/breakout/include/utilityFunctions.h @@ -0,0 +1,2 @@ +double heronsFormula(coord a, coord b, coord c); +char vertexWithinQuad(coord point, coord *quad); diff --git a/breakout/paddleAndBall.c b/breakout/paddleAndBall.c new file mode 100644 index 0000000..5ec2bd9 --- /dev/null +++ b/breakout/paddleAndBall.c @@ -0,0 +1,129 @@ +#ifdef _WIN32 +#include +#else +#include +#endif +#include "include/structs.h" +#include "include/utilityFunctions.h" + +void updatePaddle(Uint32 tickrate, paddle *thePaddle, char moveX, int winWidth, int winHeight) { + thePaddle->x += moveX * 0.5 * tickrate; + if (thePaddle->x < 0 - (thePaddle->width / 2)) thePaddle->x = 0 - (thePaddle->width / 2); + if (thePaddle->x > winWidth - (thePaddle->width / 2)) thePaddle->x = winWidth - (thePaddle->width / 2); +} + +void updateBall(Uint32 tickrate, ball *theBall, paddle *thePaddle, int winWidth, int winHeight, brick *bricks, int brickCount, int *playerLives) { + if (theBall->stickToPaddle == 0) { + double ballNX = theBall->x + theBall->vX * 0.1 * tickrate; // Calculates the position of the ball's centre on the next step + double ballNY = theBall->y + theBall->vY * 0.1 * tickrate; + + double paddleRX = thePaddle->x - (double)(winWidth / 2); // Converts paddle X/Y to coordinates relative to the center of the window as the ball + double paddleRY = 20 - (double)(winHeight / 2); // (Default is absolute, offset from the top left corner of window) + + coord paddleQ[4] = { + { .x = paddleRX,.y = paddleRY }, // Sets up a quad (coord array) to pass to vertexWithinQuad function later + { .x = paddleRX,.y = paddleRY - thePaddle->height }, + { .x = paddleRX + thePaddle->width,.y = paddleRY - thePaddle->height }, + { .x = paddleRX + thePaddle->width,.y = paddleRY }, + }; + + // Collision with paddle + // (Testing each vertex of ball against paddle quad) + + char colliding = 0; + int mults[4] = { -1,-1,1,1 }; + + for (int i = 0, j = 3; i < 4; i++, j++) { + coord ballN = { .x = ballNX + (theBall->radius*mults[i % 4]),.y = ballNY + (theBall->radius*mults[j % 4]) }; // Constructs pairs of coordinates referring to each vertex of the ball + if (vertexWithinQuad(ballN, paddleQ)) colliding = 1; + } + + if (colliding) { + if (theBall->isColliding == 0) { + + theBall->isColliding = 1; // This keeps track of any current attepmts to 'solve' collision + // Without this flag, if the ball ends up within another object and moving slow enough that on the next frame it has not escaped the object, + // it will repeatedly have its velocity multiplied by -1 and get stuck, effectively moving only along one axis. With this flag, + // the game will ignore subsequent collisions, until it is no longer colliding. Note this does not solve the same problem where two objects + // are very close to each other and on exiting one object it enters another, in which case the ball will move through the other objects + + if (theBall->x + theBall->radius < paddleRX) { // Left side collision + theBall->vX *= -1.0; + } + else if (theBall->x - theBall->radius > paddleRX + thePaddle->width) { // Right side collision + theBall->vX *= -1.0; + } + else { // Top or bottom collision + theBall->vY *= -1.0; + theBall->vX = ((ballNX - paddleRX - (double)(thePaddle->width / 2)) / ((double)thePaddle->width / 2))*theBall->initVX; // Sets X velocity to be proportional to the relative position of the ball and the paddle on collision + } + } + else { + // Already solving a collision + } + } + else { + theBall->isColliding = 0; + } + + // Collision with bricks + // (Testing each vertex of ball against every brick) + + for (int i = 0; i < brickCount; i++) { + colliding = 0; + + if (bricks[i].destroyed == 0) { + coord brick[4] = { + { .x = bricks[i].x - (winWidth / 2),.y = bricks[i].y }, + { .x = bricks[i].x - (winWidth / 2),.y = bricks[i].y - bricks[i].height }, + { .x = bricks[i].x - (winWidth / 2) + bricks[i].width,.y = bricks[i].y - bricks[i].height }, + { .x = bricks[i].x - (winWidth / 2) + bricks[i].width,.y = bricks[i].y }, + }; + + for (int j = 0, k = 3; j < 4; j++, k++) { + coord ballN = { .x = ballNX + (theBall->radius*mults[j % 4]),.y = ballNY + (theBall->radius*mults[k % 4]) }; + if (vertexWithinQuad(ballN, brick)) colliding = 1; + } + + if (colliding) { + if (theBall->x + theBall->radius < bricks[i].x - (winWidth / 2)) { // Left side collision + theBall->vX *= -1.0; + } + else if (theBall->x - theBall->radius > bricks[i].x - (winWidth / 2) + bricks[i].width) { // Right side collision + theBall->vX *= -1.0; + } + else { + theBall->vY *= -1.0; + } + bricks[i].destroyed = 1; + break; + } + } + } + + // Collision with window boundaries + + if (ballNX > winWidth / 2 || ballNX < (-1.0*winWidth / 2)) { // Collision with walls + theBall->vX *= -1.0; + } + if (ballNY > winHeight / 2) { // Collision with ceiling + theBall->vY *= -1.0; + } + if (ballNY < (-1.0*winHeight / 2)) { // Collision with floor + theBall->x = 0; + theBall->y = 0; + theBall->vX = theBall->initVX; + theBall->vY = theBall->initVY; + *playerLives -= 1; + } + + // Update the ball's position + + theBall->x += theBall->vX * 0.1 * tickrate; + theBall->y += theBall->vY * 0.1 * tickrate; + } + else { + theBall->x = thePaddle->x - (double)(winWidth / 2) + (thePaddle->width) / 2; + theBall->y = 26 - (double)(winHeight / 2); + } +} \ No newline at end of file diff --git a/breakout/render.c b/breakout/render.c new file mode 100644 index 0000000..82bdee2 --- /dev/null +++ b/breakout/render.c @@ -0,0 +1,154 @@ +#ifdef _WIN32 +#include +#include +#include +#include +#else +#include +#include +#include +#endif +#include +#include +#include +#include +#include + +#include "include/structs.h" + +void drawText(const char *text, TTF_Font *font, SDL_Color txtColour, coord loc) { + SDL_Surface *text_surface = TTF_RenderUTF8_Blended(font, text, txtColour); + if (text_surface == NULL) { + fprintf(stderr, "Error generating text"); + } + else { + GLuint testTxt; + surfaceToTexture(&testTxt, text_surface); + + glBindTexture(GL_TEXTURE_2D, testTxt); + + GLint matrixmode = 0; + glGetIntegerv(GL_MATRIX_MODE, &matrixmode); + glPushMatrix(); + glTranslated(loc.x - (text_surface->w / 2), loc.y, 0.0); + + glBegin(GL_QUADS); + glTexCoord2f(0, 0); glVertex3d(0.0, 0.0, 0.0); + glTexCoord2f(0, 1); glVertex3d(0.0, -1 * text_surface->h, 0.0); + glTexCoord2f(1, 1); glVertex3d(text_surface->w, -1 * text_surface->h, 0.0); + glTexCoord2f(1, 0); glVertex3d(text_surface->w, 0.0, 0.0); + glEnd(); + + glBindTexture(GL_TEXTURE_2D, 0); + + glPopMatrix(); + glMatrixMode(matrixmode); + } +} + +void drawHearts(GLuint heartFullTex, GLuint heartEmptyTex, int playerLives, int winWidth, int winHeight) { + coord locations[3] = { { .x = -19,.y = -32 },{ .x = 0,.y = -32 },{ .x = 19,.y = -32 } }; + + for (int i = 0; i < 3; i++) { + if (i > playerLives - 1) { + glBindTexture(GL_TEXTURE_2D, heartEmptyTex); + } + else { + glBindTexture(GL_TEXTURE_2D, heartFullTex); + } + GLint matrixmode = 0; + glGetIntegerv(GL_MATRIX_MODE, &matrixmode); + glPushMatrix(); + glTranslated(0.0, (winHeight / 2), 0.0); + + glBegin(GL_QUADS); + glTexCoord2f(0, 0); glVertex3d(0.0 + locations[i].x, 0.0 + locations[i].y, 0.0); + glTexCoord2f(0, 1); glVertex3d(0.0 + locations[i].x, -15.0 + locations[i].y, 0.0); + glTexCoord2f(1, 1); glVertex3d(15.0 + locations[i].x, -15.0 + locations[i].y, 0.0); + glTexCoord2f(1, 0); glVertex3d(15.0 + locations[i].x, 0.0 + locations[i].y, 0.0); + glEnd(); + + glPopMatrix(); + glMatrixMode(matrixmode); + } + + glBindTexture(GL_TEXTURE_2D, 0); +} + +void drawBg(int winWidth, int winHeight, colour *c1, colour *c2) { + GLint matrixmode = 0; + glGetIntegerv(GL_MATRIX_MODE, &matrixmode); + glPushMatrix(); + glTranslated((GLdouble)(-1 * winWidth / 2), (GLdouble)(-1 * winHeight / 2), 0.0); + + glBegin(GL_QUADS); + //Top colour + glColor3f(c1->r, c1->g, c1->b); + glVertex2f(winWidth, 0.0); + glVertex2f(0.0, 0.0); + //Bottom colour + glColor3f(c2->r, c2->g, c2->b); + glVertex2f(0.0, winHeight); + glVertex2f(winWidth, winHeight); + glEnd(); +} + +void drawPaddle(paddle *thePaddle, int winWidth, int winHeight, colour *c) { + GLint matrixmode = 0; + glGetIntegerv(GL_MATRIX_MODE, &matrixmode); + glPushMatrix(); + glTranslated((GLdouble)(thePaddle->x) - winWidth / 2, (GLdouble)(20 - winHeight / 2), 0.0); + + glBegin(GL_QUADS); + glColor3f(c->r, c->g, c->b); + glVertex3d(0.0, 0.0, 0.0); + glVertex3d(0.0, (double)-1 * thePaddle->height, 0.0); + glVertex3d((double)thePaddle->width, (double)-1 * thePaddle->height, 0.0); + glVertex3d((double)thePaddle->width, 0.0, 0.0); + glEnd(); + + glPopMatrix(); + glMatrixMode(matrixmode); +} + +void drawBall(ball *theBall, colour *c) { + GLint matrixmode = 0; + glGetIntegerv(GL_MATRIX_MODE, &matrixmode); + glPushMatrix(); + glTranslated(theBall->x, theBall->y, 0.0); + + glBegin(GL_QUADS); + glColor3f(c->r, c->g, c->b); + glVertex3d(-1.0*theBall->radius, 1.0*theBall->radius, 0.0); + glVertex3d(-1.0*theBall->radius, -1.0*theBall->radius, 0.0); + glVertex3d(1.0*theBall->radius, -1.0*theBall->radius, 0.0); + glVertex3d(1.0*theBall->radius, 1.0*theBall->radius, 0.0); + glEnd(); + + glPopMatrix(); + glMatrixMode(matrixmode); +} + +void drawBricks(brick *bricks, int brickCount, int winWidth, int winHeight, colour *colours) { + for (int i = 0; i < brickCount; i++) { + if (bricks[i].destroyed == 0) { + GLint matrixmode = 0; + glGetIntegerv(GL_MATRIX_MODE, &matrixmode); + glPushMatrix(); + glTranslated((double)bricks[i].x - (winWidth / 2), (double)bricks[i].y, 0.0); + glBegin(GL_QUADS); + glColor3f( + colours[bricks[i].brickType - 1].r, + colours[bricks[i].brickType - 1].g, + colours[bricks[i].brickType - 1].b + ); + glVertex3d(0.0, 0.0, 0.0); + glVertex3d(0.0, (double)bricks[i].height, 0.0); + glVertex3d((double)bricks[i].width, (double)bricks[i].height, 0.0); + glVertex3d((double)bricks[i].width, 0.0, 0.0); + glEnd(); + glPopMatrix(); + glMatrixMode(matrixmode); + } + } +} \ No newline at end of file diff --git a/breakout/utilityFunctions.c b/breakout/utilityFunctions.c new file mode 100644 index 0000000..9dcdff3 --- /dev/null +++ b/breakout/utilityFunctions.c @@ -0,0 +1,26 @@ +#include +#include "include/structs.h" + +double heronsFormula(coord a, coord b, coord c) { + double A = sqrt(pow((a.x - b.x), 2) + pow((a.y - b.y), 2)); + double B = sqrt(pow((b.x - c.x), 2) + pow((b.y - c.y), 2)); + double C = sqrt(pow((c.x - a.x), 2) + pow((c.y - a.y), 2)); + double s = (A + B + C) / 2; + return sqrt(s*(s - A)*(s - B)*(s - C)); +} + +char vertexWithinQuad(coord point, coord *quad) { + double quadArea = heronsFormula(quad[0], quad[1], quad[2]) + heronsFormula(quad[1], quad[2], quad[3]); + double testArea = 0; + testArea += heronsFormula(point, quad[0], quad[1]); + testArea += heronsFormula(point, quad[1], quad[2]); + testArea += heronsFormula(point, quad[2], quad[3]); + testArea += heronsFormula(point, quad[3], quad[0]); + if ((int)testArea == (int)quadArea) { + return 1; + } + else { + return 0; + } +} +