diff options
author | rubidium <rubidium@openttd.org> | 2009-08-21 20:21:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-08-21 20:21:05 +0000 |
commit | 7fbc33dae1dc1f7886ad11074fc109d10d8867e0 (patch) | |
tree | 1d24733538c3e894069a08b047e140c6db3696a6 /src/core | |
parent | 60a3bc903460476cffc6888e9f2e6345159d032e (diff) | |
download | openttd-7fbc33dae1dc1f7886ad11074fc109d10d8867e0.tar.xz |
(svn r17248) -Fix: add GPL license notice where appropriate
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/alloc_func.cpp | 7 | ||||
-rw-r--r-- | src/core/alloc_func.hpp | 7 | ||||
-rw-r--r-- | src/core/alloc_type.hpp | 7 | ||||
-rw-r--r-- | src/core/bitmath_func.cpp | 7 | ||||
-rw-r--r-- | src/core/bitmath_func.hpp | 7 | ||||
-rw-r--r-- | src/core/endian_func.hpp | 7 | ||||
-rw-r--r-- | src/core/endian_type.hpp | 7 | ||||
-rw-r--r-- | src/core/enum_type.hpp | 7 | ||||
-rw-r--r-- | src/core/geometry_func.cpp | 7 | ||||
-rw-r--r-- | src/core/geometry_func.hpp | 7 | ||||
-rw-r--r-- | src/core/geometry_type.hpp | 7 | ||||
-rw-r--r-- | src/core/math_func.cpp | 7 | ||||
-rw-r--r-- | src/core/math_func.hpp | 7 | ||||
-rw-r--r-- | src/core/mem_func.hpp | 7 | ||||
-rw-r--r-- | src/core/overflowsafe_type.hpp | 7 | ||||
-rw-r--r-- | src/core/pool_func.hpp | 7 | ||||
-rw-r--r-- | src/core/pool_type.hpp | 7 | ||||
-rw-r--r-- | src/core/random_func.cpp | 7 | ||||
-rw-r--r-- | src/core/random_func.hpp | 7 | ||||
-rw-r--r-- | src/core/smallmap_type.hpp | 7 | ||||
-rw-r--r-- | src/core/smallvec_type.hpp | 7 | ||||
-rw-r--r-- | src/core/sort_func.hpp | 7 | ||||
-rw-r--r-- | src/core/string_compare_type.hpp | 7 |
23 files changed, 161 insertions, 0 deletions
diff --git a/src/core/alloc_func.cpp b/src/core/alloc_func.cpp index 236a9c9d5..c2cbcc448 100644 --- a/src/core/alloc_func.cpp +++ b/src/core/alloc_func.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 alloc_func.cpp Functions to 'handle' memory allocation errors */ #include "../stdafx.h" diff --git a/src/core/alloc_func.hpp b/src/core/alloc_func.hpp index a5a730771..e86a34763 100644 --- a/src/core/alloc_func.hpp +++ b/src/core/alloc_func.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 alloc_func.hpp Functions related to the allocation of memory */ #ifndef ALLOC_FUNC_HPP diff --git a/src/core/alloc_type.hpp b/src/core/alloc_type.hpp index 4451f0479..5d9884b86 100644 --- a/src/core/alloc_type.hpp +++ b/src/core/alloc_type.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 alloc_type.hpp Helper types related to the allocation of memory */ #ifndef ALLOC_TYPE_HPP diff --git a/src/core/bitmath_func.cpp b/src/core/bitmath_func.cpp index 12df3c780..12937168a 100644 --- a/src/core/bitmath_func.cpp +++ b/src/core/bitmath_func.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 bitmath_func.cpp Functions related to bit mathematics. */ #include "../stdafx.h" diff --git a/src/core/bitmath_func.hpp b/src/core/bitmath_func.hpp index 2da6d89ac..6ef67ca7f 100644 --- a/src/core/bitmath_func.hpp +++ b/src/core/bitmath_func.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 bitmath_func.hpp Functions related to bit mathematics. */ #ifndef BITMATH_FUNC_HPP diff --git a/src/core/endian_func.hpp b/src/core/endian_func.hpp index 72fa20d3a..186cb2a3b 100644 --- a/src/core/endian_func.hpp +++ b/src/core/endian_func.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 endian_func.hpp Function to handling different endian machines. */ #ifndef ENDIAN_FUNC_HPP diff --git a/src/core/endian_type.hpp b/src/core/endian_type.hpp index 5d178ea0a..7c00d91fa 100644 --- a/src/core/endian_type.hpp +++ b/src/core/endian_type.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 endian_type.hpp Definition of various endian-dependant macros. */ #ifndef ENDIAN_TYPE_HPP diff --git a/src/core/enum_type.hpp b/src/core/enum_type.hpp index 8df7920d3..f6c111aae 100644 --- a/src/core/enum_type.hpp +++ b/src/core/enum_type.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 enum_type.hpp Type (helpers) for enums */ #ifndef ENUM_TYPE_HPP diff --git a/src/core/geometry_func.cpp b/src/core/geometry_func.cpp index 10198142a..1a1588738 100644 --- a/src/core/geometry_func.cpp +++ b/src/core/geometry_func.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 geometry_func.cpp Geometry functions. */ #include "../stdafx.h" diff --git a/src/core/geometry_func.hpp b/src/core/geometry_func.hpp index 0aa88457f..e7c53251c 100644 --- a/src/core/geometry_func.hpp +++ b/src/core/geometry_func.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 geometry_func.hpp Geometry functions. */ #ifndef GEOMETRY_FUNC_HPP diff --git a/src/core/geometry_type.hpp b/src/core/geometry_type.hpp index db8083538..2bd8ffbad 100644 --- a/src/core/geometry_type.hpp +++ b/src/core/geometry_type.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 geometry_type.hpp All geometry types in OpenTTD. */ #ifndef GEOMETRY_TYPE_HPP diff --git a/src/core/math_func.cpp b/src/core/math_func.cpp index 360ec0ec5..7f0630a97 100644 --- a/src/core/math_func.cpp +++ b/src/core/math_func.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 math_func.cpp Math functions. */ #include "../stdafx.h" diff --git a/src/core/math_func.hpp b/src/core/math_func.hpp index 2088f253c..39ed16c98 100644 --- a/src/core/math_func.hpp +++ b/src/core/math_func.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 math_func.hpp Integer math functions */ #ifndef MATH_FUNC_HPP diff --git a/src/core/mem_func.hpp b/src/core/mem_func.hpp index d0eb6154f..2443d9ccb 100644 --- a/src/core/mem_func.hpp +++ b/src/core/mem_func.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 mem_func.hpp Functions related to memory operations. */ #ifndef MEM_FUNC_HPP diff --git a/src/core/overflowsafe_type.hpp b/src/core/overflowsafe_type.hpp index 26e36110f..97ebbbc28 100644 --- a/src/core/overflowsafe_type.hpp +++ b/src/core/overflowsafe_type.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 overflowsafe_type.hpp An overflow safe integer-like type. */ #ifndef OVERFLOWSAFE_TYPE_HPP diff --git a/src/core/pool_func.hpp b/src/core/pool_func.hpp index 1687b4faf..567ef1ae9 100644 --- a/src/core/pool_func.hpp +++ b/src/core/pool_func.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 pool_func.hpp Some methods of Pool are placed here in order to reduce compilation time and binary size. */ #ifndef POOL_FUNC_HPP diff --git a/src/core/pool_type.hpp b/src/core/pool_type.hpp index 2f35b4a88..c9b1e3772 100644 --- a/src/core/pool_type.hpp +++ b/src/core/pool_type.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 pool_type.hpp Defintion of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle, Town, and other indexed items. */ #ifndef POOL_TYPE_HPP diff --git a/src/core/random_func.cpp b/src/core/random_func.cpp index 4e2897625..dc27aa92c 100644 --- a/src/core/random_func.cpp +++ b/src/core/random_func.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 random_func.cpp Implementation of the pseudo random generator. */ #include "../stdafx.h" diff --git a/src/core/random_func.hpp b/src/core/random_func.hpp index 9d1d585ae..30e5bdd17 100644 --- a/src/core/random_func.hpp +++ b/src/core/random_func.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 random_func.hpp Pseudo random number generator. */ #ifndef RANDOM_FUNC_HPP diff --git a/src/core/smallmap_type.hpp b/src/core/smallmap_type.hpp index 8a553e1c2..a6f203774 100644 --- a/src/core/smallmap_type.hpp +++ b/src/core/smallmap_type.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 smallmap_type.hpp Simple mapping class targeted for small sets of data. Stored data shall be POD ("Plain Old Data")! */ #ifndef SMALLMAP_TYPE_HPP diff --git a/src/core/smallvec_type.hpp b/src/core/smallvec_type.hpp index ae3a827a7..b3a1e3e65 100644 --- a/src/core/smallvec_type.hpp +++ b/src/core/smallvec_type.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 smallvec_type.hpp Simple vector class that allows allocating an item without the need to copy this->data needlessly. */ #ifndef SMALLVEC_TYPE_HPP diff --git a/src/core/sort_func.hpp b/src/core/sort_func.hpp index 0ccd92a73..3580d9e10 100644 --- a/src/core/sort_func.hpp +++ b/src/core/sort_func.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 sort_func.hpp Functions related to sorting operations. */ #ifndef SORT_FUNC_HPP diff --git a/src/core/string_compare_type.hpp b/src/core/string_compare_type.hpp index c4bb71819..2bc018feb 100644 --- a/src/core/string_compare_type.hpp +++ b/src/core/string_compare_type.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 string_compare_type.hpp Comparator class for "const char *" so it can be used as a key for std::map */ #ifndef STRING_COMPARE_TYPE_HPP |