diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-05-06 01:06:34 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-05-06 01:20:57 (GMT) |
| commit | a1aeabeee4c489384a4b12310d606acf1e26bd37 (patch) | |
| tree | 6fc20fa1945d694adcc5a9738f72809c9c4bde0c /src | |
| parent | 028eb4d9a53c00109fb0d4e4e2b6aa0f6584b37d (diff) | |
| download | powder-a1aeabeee4c489384a4b12310d606acf1e26bd37.zip powder-a1aeabeee4c489384a4b12310d606acf1e26bd37.tar.gz | |
Change license from GPLv2+ to GPLv3+
Also add headers stating the license to some more of the source files
Diffstat (limited to 'src')
| -rw-r--r-- | src/air.c | 17 | ||||
| -rw-r--r-- | src/console.c | 17 | ||||
| -rw-r--r-- | src/elementdata.c | 17 | ||||
| -rw-r--r-- | src/graphics.c | 17 | ||||
| -rw-r--r-- | src/gravity.c | 17 | ||||
| -rw-r--r-- | src/http.c | 5 | ||||
| -rw-r--r-- | src/interface.c | 17 | ||||
| -rw-r--r-- | src/luaconsole.c | 17 | ||||
| -rw-r--r-- | src/main.c | 5 | ||||
| -rw-r--r-- | src/misc.c | 17 | ||||
| -rw-r--r-- | src/powder.c | 17 | ||||
| -rw-r--r-- | src/save.c | 17 | ||||
| -rw-r--r-- | src/update.c | 8 |
13 files changed, 176 insertions, 12 deletions
@@ -1,3 +1,20 @@ +/** + * Powder Toy - air simulation + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #include <math.h> #include <air.h> #include <powder.h> diff --git a/src/console.c b/src/console.c index 40807c9..0bcf1cb 100644 --- a/src/console.c +++ b/src/console.c @@ -1,3 +1,20 @@ +/** + * Powder Toy - simple console + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #include <powder.h> #include <console.h> #include <math.h> diff --git a/src/elementdata.c b/src/elementdata.c index ce041f0..a82599e 100644 --- a/src/elementdata.c +++ b/src/elementdata.c @@ -1,3 +1,20 @@ +/** + * Powder Toy - element properties + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #include <powder.h> /* Weight Help diff --git a/src/graphics.c b/src/graphics.c index 3a8971e..d39db8e 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1,3 +1,20 @@ +/** + * Powder Toy - graphics + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #include <math.h> #include <SDL/SDL.h> #include <bzlib.h> diff --git a/src/gravity.c b/src/gravity.c index 5fe13f9..7b70ee5 100644 --- a/src/gravity.c +++ b/src/gravity.c @@ -1,3 +1,20 @@ +/** + * Powder Toy - Newtonian gravity + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #include <math.h> #include <sys/types.h> #include <pthread.h> @@ -6,7 +6,7 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -15,8 +15,7 @@ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/src/interface.c b/src/interface.c index 9428dc2..ef2891f 100644 --- a/src/interface.c +++ b/src/interface.c @@ -1,3 +1,20 @@ +/** + * Powder Toy - user interface + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #ifdef MACOSX #include <CoreFoundation/CFString.h> #endif diff --git a/src/luaconsole.c b/src/luaconsole.c index 1d5446f..759dd75 100644 --- a/src/luaconsole.c +++ b/src/luaconsole.c @@ -1,3 +1,20 @@ +/** + * Powder Toy - Lua console + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #include <defines.h> #ifdef LUACONSOLE #include <powder.h> @@ -11,7 +11,7 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -20,8 +20,7 @@ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <defines.h> @@ -1,3 +1,20 @@ +/** + * Powder Toy - miscellaneous functions + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/src/powder.c b/src/powder.c index b96a3ae..9b4d101 100644 --- a/src/powder.c +++ b/src/powder.c @@ -1,3 +1,20 @@ +/** + * Powder Toy - particle simulation + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #include <stdint.h> #include <math.h> #include <defines.h> @@ -1,3 +1,20 @@ +/** + * Powder Toy - saving and loading functions + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>. + */ + #include <bzlib.h> #include <math.h> #include "defines.h" diff --git a/src/update.c b/src/update.c index 06a7310..be78347 100644 --- a/src/update.c +++ b/src/update.c @@ -1,12 +1,9 @@ /** * Powder Toy - Update Helper * - * Copyright (c) 2008 - 2010 Stanislaw Skowronek. - * Copyright (c) 2010 Simon Robertshaw - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -15,8 +12,7 @@ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdio.h> |
