From a767f78b4c29f15c9f340b56b150fef28f61aaf4 Mon Sep 17 00:00:00 2001 From: soeren Date: Thu, 21 Jan 2010 14:45:16 +0000 Subject: [PATCH] license fix --- games/breakout/ball.c | 18 +++++++++++++++++- games/breakout/ball.h | 18 ++++++++++++++++++ games/breakout/breakout.c | 18 ++++++++++++++++++ games/breakout/bricks.h | 20 ++++++++++++++++++++ games/breakout/common.h | 18 ++++++++++++++++++ games/breakout/level.c | 18 ++++++++++++++++++ games/breakout/level.h | 18 ++++++++++++++++++ games/breakout/messages.c | 18 ++++++++++++++++++ games/breakout/messages.h | 18 ++++++++++++++++++ games/breakout/playfield.c | 18 ++++++++++++++++++ games/breakout/playfield.h | 18 ++++++++++++++++++ games/breakout/rebound.c | 17 +++++++++++++++++ games/breakout/rebound.h | 17 +++++++++++++++++ games/breakout/score.c | 17 +++++++++++++++++ games/breakout/score.h | 17 +++++++++++++++++ 15 files changed, 267 insertions(+), 1 deletion(-) diff --git a/games/breakout/ball.c b/games/breakout/ball.c index 11ec087..0a5ea88 100644 --- a/games/breakout/ball.c +++ b/games/breakout/ball.c @@ -1,4 +1,20 @@ -#include "common.h" +/* + * 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) + * + */ /* modify a vecotor according to given type of bouncing */ void bounce_rand_vector (ball_t *in_b, uint8_t in_bouncetype); diff --git a/games/breakout/ball.h b/games/breakout/ball.h index 3d4d1c8..2193317 100644 --- a/games/breakout/ball.h +++ b/games/breakout/ball.h @@ -1,3 +1,21 @@ +/* + * 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) + * + */ + #ifndef BALL_H #define BALL_H diff --git a/games/breakout/breakout.c b/games/breakout/breakout.c index 5d75fe0..31afa4d 100644 --- a/games/breakout/breakout.c +++ b/games/breakout/breakout.c @@ -1,3 +1,21 @@ +/* + * 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 #include "common.h" void borg_breakout(); diff --git a/games/breakout/bricks.h b/games/breakout/bricks.h index ce106da..3475568 100644 --- a/games/breakout/bricks.h +++ b/games/breakout/bricks.h @@ -1,3 +1,23 @@ +/* + * 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; diff --git a/games/breakout/common.h b/games/breakout/common.h index cc29b06..f4940b3 100644 --- a/games/breakout/common.h +++ b/games/breakout/common.h @@ -1,3 +1,21 @@ +/* + * 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) + * + */ + #ifndef COMMON_H #define COMMON_H #include diff --git a/games/breakout/level.c b/games/breakout/level.c index c9e0696..80c9457 100644 --- a/games/breakout/level.c +++ b/games/breakout/level.c @@ -1,3 +1,21 @@ +/* + * 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 "level.h" static uint16_t maxscore; diff --git a/games/breakout/level.h b/games/breakout/level.h index 99a84ec..a6035d4 100644 --- a/games/breakout/level.h +++ b/games/breakout/level.h @@ -1,3 +1,21 @@ +/* + * 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) + * + */ + #ifndef LEVEL_H #define LEVEL_H #include "common.h" diff --git a/games/breakout/messages.c b/games/breakout/messages.c index fe1d333..ca08818 100644 --- a/games/breakout/messages.c +++ b/games/breakout/messages.c @@ -1,3 +1,21 @@ +/* + * 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 "messages.h" void print_ballsleft (ball_t *in_b) diff --git a/games/breakout/messages.h b/games/breakout/messages.h index 80142cd..6021600 100644 --- a/games/breakout/messages.h +++ b/games/breakout/messages.h @@ -1,3 +1,21 @@ +/* + * 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" #ifndef MESSAGES_H #define MESSAGES_H diff --git a/games/breakout/playfield.c b/games/breakout/playfield.c index fd2cd33..bcadd0c 100644 --- a/games/breakout/playfield.c +++ b/games/breakout/playfield.c @@ -1,3 +1,21 @@ +/* + * 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" static enum game_field_t playfield[NUM_COLS][NUM_ROWS]; diff --git a/games/breakout/playfield.h b/games/breakout/playfield.h index ebb0f2b..53b2354 100644 --- a/games/breakout/playfield.h +++ b/games/breakout/playfield.h @@ -1,3 +1,21 @@ +/* + * 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) + * + */ + #ifndef PLAYFIELD_H #define PLAYFIELD_H #include "common.h" diff --git a/games/breakout/rebound.c b/games/breakout/rebound.c index 0b4e8c1..676b03c 100644 --- a/games/breakout/rebound.c +++ b/games/breakout/rebound.c @@ -1,3 +1,20 @@ +/* + * 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 "rebound.h" #include diff --git a/games/breakout/rebound.h b/games/breakout/rebound.h index 736594e..e3b83b7 100644 --- a/games/breakout/rebound.h +++ b/games/breakout/rebound.h @@ -1,3 +1,20 @@ +/* + * 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) + * + */ #ifndef REBOUND_H #define REBOUND_H #include "common.h" diff --git a/games/breakout/score.c b/games/breakout/score.c index 71baf08..01033f9 100644 --- a/games/breakout/score.c +++ b/games/breakout/score.c @@ -1,3 +1,20 @@ +/* + * 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 "score.h" static uint16_t score = 0; void score_add (uint8_t in_score) diff --git a/games/breakout/score.h b/games/breakout/score.h index ea91c34..002574d 100644 --- a/games/breakout/score.h +++ b/games/breakout/score.h @@ -1,3 +1,20 @@ +/* + * 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 #include "common.h"