summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-08-21 20:21:05 +0000
committerrubidium <rubidium@openttd.org>2009-08-21 20:21:05 +0000
commit7fbc33dae1dc1f7886ad11074fc109d10d8867e0 (patch)
tree1d24733538c3e894069a08b047e140c6db3696a6 /src/misc
parent60a3bc903460476cffc6888e9f2e6345159d032e (diff)
downloadopenttd-7fbc33dae1dc1f7886ad11074fc109d10d8867e0.tar.xz
(svn r17248) -Fix: add GPL license notice where appropriate
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/array.hpp7
-rw-r--r--src/misc/binaryheap.hpp7
-rw-r--r--src/misc/blob.hpp7
-rw-r--r--src/misc/countedobj.cpp7
-rw-r--r--src/misc/countedptr.hpp7
-rw-r--r--src/misc/crc32.hpp7
-rw-r--r--src/misc/dbg_helpers.cpp7
-rw-r--r--src/misc/dbg_helpers.h7
-rw-r--r--src/misc/fixedsizearray.hpp7
-rw-r--r--src/misc/hashtable.hpp7
-rw-r--r--src/misc/str.hpp7
11 files changed, 77 insertions, 0 deletions
diff --git a/src/misc/array.hpp b/src/misc/array.hpp
index b5ec1e9ff..5ae836a08 100644
--- a/src/misc/array.hpp
+++ b/src/misc/array.hpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file array.hpp Array without an explicit maximum size. */
#ifndef ARRAY_HPP
diff --git a/src/misc/binaryheap.hpp b/src/misc/binaryheap.hpp
index d80a0ce26..6d8044c67 100644
--- a/src/misc/binaryheap.hpp
+++ b/src/misc/binaryheap.hpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file binaryheap.hpp Binary heap implementation. */
#ifndef BINARYHEAP_HPP
diff --git a/src/misc/blob.hpp b/src/misc/blob.hpp
index 9c68d9db9..b7a7f73da 100644
--- a/src/misc/blob.hpp
+++ b/src/misc/blob.hpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file blob.hpp Support for storing random binary data. */
#ifndef BLOB_HPP
diff --git a/src/misc/countedobj.cpp b/src/misc/countedobj.cpp
index 2de944c65..228b35e82 100644
--- a/src/misc/countedobj.cpp
+++ b/src/misc/countedobj.cpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file countedobj.cpp Support for reference counted objects. */
#include "../stdafx.h"
diff --git a/src/misc/countedptr.hpp b/src/misc/countedptr.hpp
index f72d87ba5..ed2afaf54 100644
--- a/src/misc/countedptr.hpp
+++ b/src/misc/countedptr.hpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file countedptr.hpp CCountedPtr - smart pointer implementation. */
#ifndef COUNTEDPTR_HPP
diff --git a/src/misc/crc32.hpp b/src/misc/crc32.hpp
index 047976713..af7eac4c4 100644
--- a/src/misc/crc32.hpp
+++ b/src/misc/crc32.hpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file crc32.hpp Cyclic reduncancy check support. */
#ifndef CRC32_HPP
diff --git a/src/misc/dbg_helpers.cpp b/src/misc/dbg_helpers.cpp
index e23454acf..4af243888 100644
--- a/src/misc/dbg_helpers.cpp
+++ b/src/misc/dbg_helpers.cpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file dbg_helpers.cpp Helpers for outputting debug information. */
#include "../stdafx.h"
diff --git a/src/misc/dbg_helpers.h b/src/misc/dbg_helpers.h
index 3816ac628..73175f201 100644
--- a/src/misc/dbg_helpers.h
+++ b/src/misc/dbg_helpers.h
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file dbg_helpers.h Functions to be used for debug printings. */
#ifndef DBG_HELPERS_H
diff --git a/src/misc/fixedsizearray.hpp b/src/misc/fixedsizearray.hpp
index a979fae1e..b17755c5e 100644
--- a/src/misc/fixedsizearray.hpp
+++ b/src/misc/fixedsizearray.hpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file fixedsizearray.hpp A fixed size array that doesn't create items until needed. */
#ifndef FIXEDSIZEARRAY_HPP
diff --git a/src/misc/hashtable.hpp b/src/misc/hashtable.hpp
index f7b5a84d8..4c18737d3 100644
--- a/src/misc/hashtable.hpp
+++ b/src/misc/hashtable.hpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file hashtable.hpp Hash table support. */
#ifndef HASHTABLE_HPP
diff --git a/src/misc/str.hpp b/src/misc/str.hpp
index 6b9cf87ac..64e401adb 100644
--- a/src/misc/str.hpp
+++ b/src/misc/str.hpp
@@ -1,5 +1,12 @@
/* $Id$ */
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD 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, version 2.
+ * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
+
/** @file str.hpp String formating? */
#ifndef STR_HPP