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/network | |
parent | 60a3bc903460476cffc6888e9f2e6345159d032e (diff) | |
download | openttd-7fbc33dae1dc1f7886ad11074fc109d10d8867e0.tar.xz |
(svn r17248) -Fix: add GPL license notice where appropriate
Diffstat (limited to 'src/network')
41 files changed, 287 insertions, 0 deletions
diff --git a/src/network/core/address.cpp b/src/network/core/address.cpp index 09ea55419..676fc66c3 100644 --- a/src/network/core/address.cpp +++ b/src/network/core/address.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 core/address.cpp Implementation of the address. */ #include "../../stdafx.h" diff --git a/src/network/core/address.h b/src/network/core/address.h index 7d8d61ba1..72631220c 100644 --- a/src/network/core/address.h +++ b/src/network/core/address.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 core/address.h Wrapper for network addresses. */ #ifndef NETWORK_ADDRESS_H diff --git a/src/network/core/config.h b/src/network/core/config.h index e7d69f3a5..9dac7ebe5 100644 --- a/src/network/core/config.h +++ b/src/network/core/config.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 config.h Configuration options of the network stuff. It is used even when compiling without network support. */ diff --git a/src/network/core/core.cpp b/src/network/core/core.cpp index 1c0ecad40..76f62bced 100644 --- a/src/network/core/core.cpp +++ b/src/network/core/core.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 core.cpp Functions used to initialize/shut down the core network */ diff --git a/src/network/core/core.h b/src/network/core/core.h index 89c316402..c14bc83a9 100644 --- a/src/network/core/core.h +++ b/src/network/core/core.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 core.h Base for all network types (UDP and TCP) */ diff --git a/src/network/core/game.h b/src/network/core/game.h index 462914176..ab94481db 100644 --- a/src/network/core/game.h +++ b/src/network/core/game.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 game.h Information about a game that is sent between a * game server, game client and masterserver. diff --git a/src/network/core/host.cpp b/src/network/core/host.cpp index ef0db3238..ee9fcfe8f 100644 --- a/src/network/core/host.cpp +++ b/src/network/core/host.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 host.cpp Functions related to getting host specific data (IPs). */ #ifdef ENABLE_NETWORK diff --git a/src/network/core/host.h b/src/network/core/host.h index 67ce5caac..48f24e318 100644 --- a/src/network/core/host.h +++ b/src/network/core/host.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 host.h Resolving of hostnames/IPs */ diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h index fcfa05ca5..3274ea9aa 100644 --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.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 os_abstraction.h Network stuff has many things that needs to be * included and/or implemented by default. diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp index 013235d11..7a43173f1 100644 --- a/src/network/core/packet.cpp +++ b/src/network/core/packet.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 packet.cpp Basic functions to create, fill and read packets. */ diff --git a/src/network/core/packet.h b/src/network/core/packet.h index f0202eee6..32340263c 100644 --- a/src/network/core/packet.h +++ b/src/network/core/packet.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 packet.h Basic functions to create, fill and read packets. */ diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp index dd79edbb5..032af3c50 100644 --- a/src/network/core/tcp.cpp +++ b/src/network/core/tcp.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 tcp.cpp Basic functions to receive and send TCP packets. */ diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index 1ced4bd6e..fa3f0a12e 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.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 tcp.h Basic functions to receive and send TCP packets. */ diff --git a/src/network/core/tcp_connect.cpp b/src/network/core/tcp_connect.cpp index 2e292b5d0..bfc642c4b 100644 --- a/src/network/core/tcp_connect.cpp +++ b/src/network/core/tcp_connect.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 tcp_connect.cpp Basic functions to create connections without blocking. */ diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp index 51934108a..b46b1bbbe 100644 --- a/src/network/core/tcp_content.cpp +++ b/src/network/core/tcp_content.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 tcp_content.cpp Basic functions to receive and send Content packets. */ diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h index 9a7d0deb8..b1b100817 100644 --- a/src/network/core/tcp_content.h +++ b/src/network/core/tcp_content.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 tcp_content.h Basic functions to receive and send TCP packets to/from the content server. */ diff --git a/src/network/core/tcp_game.cpp b/src/network/core/tcp_game.cpp index ea8cad7b9..ffa2b07f9 100644 --- a/src/network/core/tcp_game.cpp +++ b/src/network/core/tcp_game.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 tcp_game.cpp Basic functions to receive and send TCP packets for game purposes. */ diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h index 69412fcd2..080fab7d2 100644 --- a/src/network/core/tcp_game.h +++ b/src/network/core/tcp_game.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 tcp_game.h Basic functions to receive and send TCP packets for game purposes. */ diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp index 9dbf8dea4..6c03343d0 100644 --- a/src/network/core/udp.cpp +++ b/src/network/core/udp.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 core/udp.cpp Basic functions to receive and send UDP packets. */ diff --git a/src/network/core/udp.h b/src/network/core/udp.h index 226cbb0df..106c48dde 100644 --- a/src/network/core/udp.h +++ b/src/network/core/udp.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 udp.h Basic functions to receive and send UDP packets. * diff --git a/src/network/network.cpp b/src/network/network.cpp index 413075c65..02ce168b4 100644 --- a/src/network/network.cpp +++ b/src/network/network.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 network.cpp Base functions for networking support. */ #include "../stdafx.h" diff --git a/src/network/network.h b/src/network/network.h index ba5dbf1bb..41569b26c 100644 --- a/src/network/network.h +++ b/src/network/network.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 network.h Basic functions/variables used all over the place. */ #ifndef NETWORK_H diff --git a/src/network/network_base.h b/src/network/network_base.h index da5039abc..816b9d5e7 100644 --- a/src/network/network_base.h +++ b/src/network/network_base.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 network_base.h Base core network types and some helper functions to access them. */ #ifndef NETWORK_BASE_H diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp index 7a144967f..b887bd5b3 100644 --- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.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 network_chat_gui.cpp GUI for handling chat messages. */ #include <stdarg.h> /* va_list */ diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp index 1beebb866..850619ec1 100644 --- a/src/network/network_client.cpp +++ b/src/network/network_client.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 network_client.cpp Client part of the network protocol. */ #ifdef ENABLE_NETWORK diff --git a/src/network/network_client.h b/src/network/network_client.h index 7e4375684..c987340ca 100644 --- a/src/network/network_client.h +++ b/src/network/network_client.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 network_client.h Client part of the network protocol. */ #ifndef NETWORK_CLIENT_H diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp index 9dc483a8f..bff93ba40 100644 --- a/src/network/network_command.cpp +++ b/src/network/network_command.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 network_command.cpp Command handling over network connections. */ #ifdef ENABLE_NETWORK diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp index d19d21e9a..1507c900f 100644 --- a/src/network/network_content.cpp +++ b/src/network/network_content.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 network_content.cpp Content sending/receiving part of the network protocol. */ #if defined(ENABLE_NETWORK) diff --git a/src/network/network_content.h b/src/network/network_content.h index 6e683dd7e..610288c43 100644 --- a/src/network/network_content.h +++ b/src/network/network_content.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 network_content.h Part of the network protocol handling content distribution. */ #ifndef NETWORK_CONTENT_H diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index a57638394..7dd89d4d4 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.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 network_content_gui.cpp Implementation of the Network Content related GUIs. */ #if defined(ENABLE_NETWORK) diff --git a/src/network/network_func.h b/src/network/network_func.h index e59635fef..a028d5bc2 100644 --- a/src/network/network_func.h +++ b/src/network/network_func.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 network_func.h Network functions used by other parts of OpenTTD. */ #ifndef NETWORK_FUNC_H diff --git a/src/network/network_gamelist.cpp b/src/network/network_gamelist.cpp index 552e2f635..a3f724487 100644 --- a/src/network/network_gamelist.cpp +++ b/src/network/network_gamelist.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 network_gamelist.cpp This file handles the GameList * Also, it handles the request to a server for data about the server diff --git a/src/network/network_gamelist.h b/src/network/network_gamelist.h index 4ef0ac756..c77c6719e 100644 --- a/src/network/network_gamelist.h +++ b/src/network/network_gamelist.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 network_gamelist.h Handling of the list of games. */ #ifndef NETWORK_GAMELIST_H diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 8e6ba0c71..1ebc808e5 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.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 network_gui.cpp Implementation of the Network related GUIs. */ #ifdef ENABLE_NETWORK diff --git a/src/network/network_gui.h b/src/network/network_gui.h index ee73cd0b9..bf92e2739 100644 --- a/src/network/network_gui.h +++ b/src/network/network_gui.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 network_gui.h GUIs related to networking. */ #ifndef NETWORK_GUI_H diff --git a/src/network/network_internal.h b/src/network/network_internal.h index 091b32782..aa30ac4aa 100644 --- a/src/network/network_internal.h +++ b/src/network/network_internal.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 network_internal.h Variables and function used internally. */ #ifndef NETWORK_INTERNAL_H diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp index 6ea632ff1..02e26f750 100644 --- a/src/network/network_server.cpp +++ b/src/network/network_server.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 network_server.cpp Server part of the network protocol. */ #ifdef ENABLE_NETWORK diff --git a/src/network/network_server.h b/src/network/network_server.h index aa28949bd..df7fe1669 100644 --- a/src/network/network_server.h +++ b/src/network/network_server.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 network_server.h Server part of the network protocol. */ #ifndef NETWORK_SERVER_H diff --git a/src/network/network_type.h b/src/network/network_type.h index 4bdb64429..0bd4d69de 100644 --- a/src/network/network_type.h +++ b/src/network/network_type.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 network_type.h Types used for networking. */ #ifndef NETWORK_TYPE_H diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp index 4a954421c..de11b6cb7 100644 --- a/src/network/network_udp.cpp +++ b/src/network/network_udp.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 network_udp.cpp This file handles the UDP related communication. * diff --git a/src/network/network_udp.h b/src/network/network_udp.h index ac1a131b7..4200391cb 100644 --- a/src/network/network_udp.h +++ b/src/network/network_udp.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 network_udp.h Sending and receiving UDP messages. */ #ifndef NETWORK_UDP_H |