From e8291a5f36687e54826ecde9468c58272c300e5e Mon Sep 17 00:00:00 2001 From: soeren Date: Thu, 21 Jan 2010 14:48:17 +0000 Subject: [PATCH] wurstwasser-fluctuation system up & running --- games/breakout/ball.c | 2 ++ games/breakout/bricks.h | 28 ---------------------------- games/breakout/score.h | 1 - 3 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 games/breakout/bricks.h diff --git a/games/breakout/ball.c b/games/breakout/ball.c index 0a5ea88..5cdddf0 100644 --- a/games/breakout/ball.c +++ b/games/breakout/ball.c @@ -16,6 +16,8 @@ * */ +#include "ball.h" + /* modify a vecotor according to given type of bouncing */ void bounce_rand_vector (ball_t *in_b, uint8_t in_bouncetype); void bounce_rand_vector (ball_t *in_b, uint8_t in_bouncetype) diff --git a/games/breakout/bricks.h b/games/breakout/bricks.h deleted file mode 100644 index 3475568..0000000 --- a/games/breakout/bricks.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 59 Temple - * Place - Suite 330, Boston, MA 02111-1307 USA. - * - * Author & Copyright (C) 2010: Soeren Heisrath (forename@surename.org) - * - */ - -#include "common.h" - -typedef struct -{ - uint8_t x; - uint8_t y; - uint8_t strength; -} brick_t; - -void brick_damage (brick_t *in_brick); diff --git a/games/breakout/score.h b/games/breakout/score.h index 002574d..79bd767 100644 --- a/games/breakout/score.h +++ b/games/breakout/score.h @@ -15,7 +15,6 @@ * Author & Copyright (C) 2010: Soeren Heisrath (forename@surename.org) * */ -#include #include "common.h" #ifndef SCORE_H