summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjacksonmj <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)
commita1aeabeee4c489384a4b12310d606acf1e26bd37 (patch)
tree6fc20fa1945d694adcc5a9738f72809c9c4bde0c /src
parent028eb4d9a53c00109fb0d4e4e2b6aa0f6584b37d (diff)
downloadpowder-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.c17
-rw-r--r--src/console.c17
-rw-r--r--src/elementdata.c17
-rw-r--r--src/graphics.c17
-rw-r--r--src/gravity.c17
-rw-r--r--src/http.c5
-rw-r--r--src/interface.c17
-rw-r--r--src/luaconsole.c17
-rw-r--r--src/main.c5
-rw-r--r--src/misc.c17
-rw-r--r--src/powder.c17
-rw-r--r--src/save.c17
-rw-r--r--src/update.c8
13 files changed, 176 insertions, 12 deletions
diff --git a/src/air.c b/src/air.c
index 958e83c..4f2455e 100644
--- a/src/air.c
+++ b/src/air.c
@@ -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>
diff --git a/src/http.c b/src/http.c
index c228bf3..98c4283 100644
--- a/src/http.c
+++ b/src/http.c
@@ -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>
diff --git a/src/main.c b/src/main.c
index ebda63f..b122593 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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>
diff --git a/src/misc.c b/src/misc.c
index fbd5b39..290b29c 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -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>
diff --git a/src/save.c b/src/save.c
index 56b7424..320e89f 100644
--- a/src/save.c
+++ b/src/save.c
@@ -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>