From 0a56367e8396b2ece4c1bce8a25e93ceabd901c1 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 31 Jan 2016 23:38:27 +0100
Subject: [PATCH] Add GPL notices to all source files.

---
 client/commands.py          | 5 +++++
 client/config/commands.py   | 6 ++++++
 client/config/io.py         | 5 +++++
 client/config/windows.py    | 6 ++++++
 client/config/world_data.py | 5 +++++
 client/io.py                | 6 ++++++
 client/query_mapcell.py     | 6 ++++++
 client/window_management.py | 5 +++++
 client/windows.py           | 5 +++++
 roguelike-client            | 6 +++++-
 server/actions.py           | 5 +++++
 server/ai.py                | 5 +++++
 server/commands.py          | 5 +++++
 server/config/actions.py    | 5 +++++
 server/config/commands.py   | 5 +++++
 server/config/io.py         | 5 +++++
 server/config/world_data.py | 5 +++++
 server/io.py                | 6 +++++-
 18 files changed, 94 insertions(+), 2 deletions(-)

diff --git a/client/commands.py b/client/commands.py
index 61cffac..c1d6141 100644
--- a/client/commands.py
+++ b/client/commands.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from client.config.world_data import world_data
 from client.io import send
 from client.query_mapcell import query_mapcell
diff --git a/client/config/commands.py b/client/config/commands.py
index 7de9574..b791947 100644
--- a/client/config/commands.py
+++ b/client/config/commands.py
@@ -1,7 +1,13 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from client.commands import command_sender, command_look_scroller, \
     command_quit, command_looker, command_inventory_selector, \
     command_toggle_look_mode
 
+
 commands = {
     "A": (command_sender("ai"),),
     "D": (command_sender("drop", "inventory_selection"),),
diff --git a/client/config/io.py b/client/config/io.py
index f0ec29c..45021f3 100644
--- a/client/config/io.py
+++ b/client/config/io.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 io = {
     "path_out": "server_run/in",
     "path_in": "server_run/out",
diff --git a/client/config/windows.py b/client/config/windows.py
index 86fd4dc..676d94c 100644
--- a/client/config/windows.py
+++ b/client/config/windows.py
@@ -1,5 +1,11 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from client.windows import win_info, win_log, win_inventory, win_look, win_map
 
+
 windows_config = [
     {"config": [1, 33], "func": win_info, "title": "Info"},
     {"config": [-7, 33], "func": win_log, "title": "Log"},
diff --git a/client/config/world_data.py b/client/config/world_data.py
index 352d1a9..4b60b10 100644
--- a/client/config/world_data.py
+++ b/client/config/world_data.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 world_data = {
     "avatar_position": [-1, -1],
     "fov_map": "",
diff --git a/client/io.py b/client/io.py
index 7927f50..df6f2f8 100644
--- a/client/io.py
+++ b/client/io.py
@@ -1,5 +1,11 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from client.config.io import io
 
+
 def send(string):
     io["file_out"].write(string + "\n")
     io["file_out"].flush()
diff --git a/client/query_mapcell.py b/client/query_mapcell.py
index fba374d..838fb7e 100644
--- a/client/query_mapcell.py
+++ b/client/query_mapcell.py
@@ -1,6 +1,12 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from client.config.world_data import world_data
 from client.io import send
 
+
 def query_mapcell():
     string = "THINGS_HERE " + str(world_data["map_center"][0]) + " " \
              + str(world_data["map_center"][1])
diff --git a/client/window_management.py b/client/window_management.py
index 141cc65..9a50b29 100644
--- a/client/window_management.py
+++ b/client/window_management.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 import curses
 import types
 
diff --git a/client/windows.py b/client/windows.py
index 4177bed..9eddc1c 100644
--- a/client/windows.py
+++ b/client/windows.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 import math
 import curses
 
diff --git a/roguelike-client b/roguelike-client
index 5d14064..55fb978 100755
--- a/roguelike-client
+++ b/roguelike-client
@@ -1,11 +1,15 @@
 #!/usr/bin/python3
 
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 import curses
 import os
 import signal
 import time
 
-
 from client.config.world_data import world_data
 from client.config.io import io
 from client.config.commands import commands
diff --git a/server/actions.py b/server/actions.py
index 6031387..1c83581 100644
--- a/server/actions.py
+++ b/server/actions.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from server.config.world_data import world_db
 from server.io import log
 
diff --git a/server/ai.py b/server/ai.py
index 9d5fc8d..ed65fbd 100644
--- a/server/ai.py
+++ b/server/ai.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from server.config.world_data import world_db
 
 
diff --git a/server/commands.py b/server/commands.py
index fb20415..4716154 100644
--- a/server/commands.py
+++ b/server/commands.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from server.config.world_data import world_db
 from server.config.io import io_db
 from server.io import log, strong_write 
diff --git a/server/config/actions.py b/server/config/actions.py
index c07a9d8..0971c12 100644
--- a/server/config/actions.py
+++ b/server/config/actions.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from server.actions import actor_wait, actor_move, actor_pick_up, actor_drop, \
     actor_use
 
diff --git a/server/config/commands.py b/server/config/commands.py
index 0184051..197f7ee 100644
--- a/server/config/commands.py
+++ b/server/config/commands.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 from server.commands import command_plugin, command_quit, command_ping, \
     command_thingshere, command_makeworld, command_seedrandomness, setter, \
     command_maplength, command_worldactive, setter_map, command_taid, \
diff --git a/server/config/io.py b/server/config/io.py
index 76f403c..e134b2f 100644
--- a/server/config/io.py
+++ b/server/config/io.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 """File IO database."""
 io_db = {
     "path_save": "save",
diff --git a/server/config/world_data.py b/server/config/world_data.py
index 45acf4f..e9c6bac 100644
--- a/server/config/world_data.py
+++ b/server/config/world_data.py
@@ -1,3 +1,8 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 """World state database. With sane default values. (Randomness is in rand.)"""
 world_db = {
     "TURN": 0,
diff --git a/server/io.py b/server/io.py
index 46facb9..65d1c35 100644
--- a/server/io.py
+++ b/server/io.py
@@ -1,7 +1,11 @@
+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
 import os
 import time
 
-
 from server.config.world_data import world_db
 from server.config.io import io_db
 
-- 
2.30.2