Maelstrom: Updated the source code licenses

https://github.com/libsdl-org/Maelstrom/commit/a4e869ff81e234e9e7b1a28de742711a0f00a6f0

From a4e869ff81e234e9e7b1a28de742711a0f00a6f0 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 30 Oct 2011 10:14:12 -0400
Subject: [PATCH] Updated the source code licenses The game is under the GPL,
 and the screenlib and maclib libraries are under the zlib license.

---
 COPYING                         |   3 +
 MacDialog.cpp                   |  21 +++
 MacDialog.h                     |  21 +++
 MacDialogButton.cpp             |  21 +++
 MacDialogButton.h               |  22 +++
 MacDialogCheckbox.cpp           |  21 +++
 MacDialogCheckbox.h             |  22 +++
 MacDialogEditbox.cpp            |  21 +++
 MacDialogEditbox.h              |  22 +++
 MacDialogLabel.cpp              |  21 +++
 MacDialogLabel.h                |  22 +++
 MacDialogRadioButton.cpp        |  21 +++
 MacDialogRadioButton.h          |  22 +++
 Maelstrom-netd.c                |  22 +++
 Maelstrom.h                     |  21 +++
 MaelstromUI.cpp                 |  21 +++
 MaelstromUI.h                   |  21 +++
 Maelstrom_Globals.h             |  21 +++
 UIElementIcon.cpp               |  21 +++
 UIElementIcon.h                 |  22 +++
 UIElementKeyButton.cpp          |  21 +++
 UIElementKeyButton.h            |  22 +++
 UIElementSprite.cpp             |  21 +++
 UIElementSprite.h               |  22 +++
 UIElementTitle.cpp              |  21 +++
 UIElementTitle.h                |  22 +++
 checksum.cpp                    |  21 +++
 checksum.h                      |  21 +++
 colortable.h                    |  21 +++
 controls.cpp                    |  21 +++
 controls.h                      |  21 +++
 fastrand.cpp                    |  21 +++
 fastrand.h                      |  21 +++
 init.cpp                        |  22 +++
 load.cpp                        |  21 +++
 load.h                          |  21 +++
 logic.h                         |  21 +++
 maclib/COPYING                  | 300 +++-----------------------------
 maclib/Mac_Compat.h             |  37 ++--
 maclib/Mac_FontServ.cpp         |  37 ++--
 maclib/Mac_FontServ.h           |  37 ++--
 maclib/Mac_Resource.cpp         |  37 ++--
 maclib/Mac_Resource.h           |  37 ++--
 maclib/Mac_Sound.cpp            |  37 ++--
 maclib/Mac_Sound.h              |  37 ++--
 maclib/Mac_Wave.cpp             |  37 ++--
 maclib/Mac_Wave.h               |  37 ++--
 maclib/bitesex.h                |  21 +++
 maclib/macbinary.h              |  37 ++--
 maclib/macres.cpp               |  31 ++--
 maclib/playwave.cpp             |  37 ++--
 maclib/snd2wav.cpp              |  31 ++--
 main.cpp                        |  22 +++
 main.h                          |  21 +++
 myerror.cpp                     |  21 +++
 myerror.h                       |  21 +++
 netlogic/about.cpp              |  21 +++
 netlogic/about.h                |  21 +++
 netlogic/game.cpp               |  21 +++
 netlogic/game.h                 |  21 +++
 netlogic/globals.h              |  22 +++
 netlogic/logic.cpp              |  21 +++
 netlogic/make.cpp               |  21 +++
 netlogic/make.h                 |  21 +++
 netlogic/netlogic.h             |  21 +++
 netlogic/netplay.cpp            |  21 +++
 netlogic/netplay.h              |  21 +++
 netlogic/object.cpp             |  21 +++
 netlogic/object.h               |  21 +++
 netlogic/objects.cpp            |  21 +++
 netlogic/objects.h              |  21 +++
 netlogic/player.cpp             |  21 +++
 netlogic/player.h               |  21 +++
 netlogic/protocol.h             |  21 +++
 netlogic/shinobi.h              |  21 +++
 netscore.cpp                    |  21 +++
 netscore.h                      |  21 +++
 public_key.h                    |  22 +++
 rect.cpp                        |  21 +++
 rect.h                          |  21 +++
 scores.cpp                      |  21 +++
 scores.h                        |  21 +++
 screenlib/COPYING               | 300 +++-----------------------------
 screenlib/ErrorBase.h           |  31 ++--
 screenlib/SDL_FrameBuf.cpp      |  37 ++--
 screenlib/SDL_FrameBuf.h        |  37 ++--
 screenlib/UIArea.cpp            |  37 ++--
 screenlib/UIArea.h              |  37 ++--
 screenlib/UIBaseElement.cpp     |  37 ++--
 screenlib/UIBaseElement.h       |  37 ++--
 screenlib/UIDialog.cpp          |  37 ++--
 screenlib/UIDialog.h            |  37 ++--
 screenlib/UIDialogButton.cpp    |  37 ++--
 screenlib/UIDialogButton.h      |  37 ++--
 screenlib/UIElement.cpp         |  37 ++--
 screenlib/UIElement.h           |  37 ++--
 screenlib/UIElementButton.cpp   |  37 ++--
 screenlib/UIElementButton.h     |  37 ++--
 screenlib/UIElementCheckbox.cpp |  20 +++
 screenlib/UIElementCheckbox.h   |  21 +++
 screenlib/UIElementEditbox.cpp  |  37 ++--
 screenlib/UIElementEditbox.h    |  37 ++--
 screenlib/UIElementLabel.cpp    |  37 ++--
 screenlib/UIElementLabel.h      |  37 ++--
 screenlib/UIElementLine.cpp     |  37 ++--
 screenlib/UIElementLine.h       |  37 ++--
 screenlib/UIElementRadio.cpp    |  20 +++
 screenlib/UIElementRadio.h      |  37 ++--
 screenlib/UIElementRect.cpp     |  37 ++--
 screenlib/UIElementRect.h       |  37 ++--
 screenlib/UIElementTexture.cpp  |  37 ++--
 screenlib/UIElementTexture.h    |  37 ++--
 screenlib/UIFontInterface.h     |  37 ++--
 screenlib/UIManager.cpp         |  37 ++--
 screenlib/UIManager.h           |  37 ++--
 screenlib/UIPanel.cpp           |  37 ++--
 screenlib/UIPanel.h             |  37 ++--
 screenlib/UISoundInterface.h    |  31 ++--
 screenlib/UITemplates.cpp       |  37 ++--
 screenlib/UITemplates.h         |  37 ++--
 utils/array.h                   |  17 ++
 utils/rapidxml.h                |  18 ++
 122 files changed, 2394 insertions(+), 1441 deletions(-)

diff --git a/COPYING b/COPYING
index 3879f691..7b573d81 100644
--- a/COPYING
+++ b/COPYING
@@ -1,6 +1,9 @@
 The source code to Maelstrom 3.0 and higher has been released under
 the GNU General Public License which can be found in COPYING.GPL.
 
+The source code to the screenlib and maclib libraries has been released
+under the zlib license, which can be found in COPYING in those directories.
+
 The artwork and animations in Maelstrom may be used under the terms
 of the Creative Commons Attribution 3.0 license (unported):
 http://creativecommons.org/licenses/by/3.0/legalcode
diff --git a/MacDialog.cpp b/MacDialog.cpp
index 43998a67..c165a6ba 100644
--- a/MacDialog.cpp
+++ b/MacDialog.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "screenlib/SDL_FrameBuf.h"
 
diff --git a/MacDialog.h b/MacDialog.h
index 0e613f1d..6b9f5d97 100644
--- a/MacDialog.h
+++ b/MacDialog.h
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #ifndef _MacDialog_h
 #define _MacDialog_h
diff --git a/MacDialogButton.cpp b/MacDialogButton.cpp
index 074303e8..d1af8a2c 100644
--- a/MacDialogButton.cpp
+++ b/MacDialogButton.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "screenlib/SDL_FrameBuf.h"
 #include "MacDialogButton.h"
diff --git a/MacDialogButton.h b/MacDialogButton.h
index f6634550..aa4cb1b6 100644
--- a/MacDialogButton.h
+++ b/MacDialogButton.h
@@ -1,3 +1,25 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
+
 #ifndef _MacDialogButton_h
 #define _MacDialogButton_h
 
diff --git a/MacDialogCheckbox.cpp b/MacDialogCheckbox.cpp
index bb3a4468..66d1fd14 100644
--- a/MacDialogCheckbox.cpp
+++ b/MacDialogCheckbox.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "screenlib/SDL_FrameBuf.h"
 #include "MacDialogCheckbox.h"
diff --git a/MacDialogCheckbox.h b/MacDialogCheckbox.h
index 9eb2a6d7..232a45d7 100644
--- a/MacDialogCheckbox.h
+++ b/MacDialogCheckbox.h
@@ -1,3 +1,25 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
+
 #ifndef _MacDialogCheckbox_h
 #define _MacDialogCheckbox_h
 
diff --git a/MacDialogEditbox.cpp b/MacDialogEditbox.cpp
index 1cfde099..c4234d76 100644
--- a/MacDialogEditbox.cpp
+++ b/MacDialogEditbox.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "screenlib/SDL_FrameBuf.h"
 #include "MacDialogEditbox.h"
diff --git a/MacDialogEditbox.h b/MacDialogEditbox.h
index e1a9c185..d9687511 100644
--- a/MacDialogEditbox.h
+++ b/MacDialogEditbox.h
@@ -1,3 +1,25 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
+
 #ifndef _MacDialogEditbox_h
 #define _MacDialogEditbox_h
 
diff --git a/MacDialogLabel.cpp b/MacDialogLabel.cpp
index 97f9491d..a305b138 100644
--- a/MacDialogLabel.cpp
+++ b/MacDialogLabel.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "MacDialogLabel.h"
 #include "Maelstrom_Globals.h"
diff --git a/MacDialogLabel.h b/MacDialogLabel.h
index d279f915..0a45c3c9 100644
--- a/MacDialogLabel.h
+++ b/MacDialogLabel.h
@@ -1,3 +1,25 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
+
 #ifndef _MacDialogLabel_h
 #define _MacDialogLabel_h
 
diff --git a/MacDialogRadioButton.cpp b/MacDialogRadioButton.cpp
index 2a515e2d..a040e35f 100644
--- a/MacDialogRadioButton.cpp
+++ b/MacDialogRadioButton.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "screenlib/SDL_FrameBuf.h"
 #include "MacDialogRadioButton.h"
diff --git a/MacDialogRadioButton.h b/MacDialogRadioButton.h
index e4778764..e88e9a0d 100644
--- a/MacDialogRadioButton.h
+++ b/MacDialogRadioButton.h
@@ -1,3 +1,25 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
+
 #ifndef _MacDialogRadioButton_h
 #define _MacDialogRadioButton_h
 
diff --git a/Maelstrom-netd.c b/Maelstrom-netd.c
index 86f0fa7a..dc87ab64 100644
--- a/Maelstrom-netd.c
+++ b/Maelstrom-netd.c
@@ -1,3 +1,25 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
+
 
 /* Here we go... */
 
diff --git a/Maelstrom.h b/Maelstrom.h
index 9b8fef0c..d407c1d4 100644
--- a/Maelstrom.h
+++ b/Maelstrom.h
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 /* Definitions useful for our sprite world */
 /* Definitions that are particular to a particular logic module are
diff --git a/MaelstromUI.cpp b/MaelstromUI.cpp
index f6ec15e8..7e9294b0 100644
--- a/MaelstromUI.cpp
+++ b/MaelstromUI.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "MaelstromUI.h"
 #include "Maelstrom_Globals.h"
diff --git a/MaelstromUI.h b/MaelstromUI.h
index bf883ae6..a0673270 100644
--- a/MaelstromUI.h
+++ b/MaelstromUI.h
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "Maelstrom_Globals.h"
 
diff --git a/Maelstrom_Globals.h b/Maelstrom_Globals.h
index b71ca8ab..4301254b 100644
--- a/Maelstrom_Globals.h
+++ b/Maelstrom_Globals.h
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #ifndef _Maelstrom_Globals_h
 #define _Maelstrom_Globals_h
diff --git a/UIElementIcon.cpp b/UIElementIcon.cpp
index ebc38ac3..bec5226d 100644
--- a/UIElementIcon.cpp
+++ b/UIElementIcon.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "UIElementIcon.h"
 #include "load.h"
diff --git a/UIElementIcon.h b/UIElementIcon.h
index c8c760e9..78cf8b1d 100644
--- a/UIElementIcon.h
+++ b/UIElementIcon.h
@@ -1,3 +1,25 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
+
 #ifndef _UIElementIcon_h
 #define _UIElementIcon_h
 
diff --git a/UIElementKeyButton.cpp b/UIElementKeyButton.cpp
index 62fef86d..054d6fa9 100644
--- a/UIElementKeyButton.cpp
+++ b/UIElementKeyButton.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "UIElementKeyButton.h"
 #include "screenlib/UIElementLabel.h"
diff --git a/UIElementKeyButton.h b/UIElementKeyButton.h
index 10de7ef5..e998c0f6 100644
--- a/UIElementKeyButton.h
+++ b/UIElementKeyButton.h
@@ -1,3 +1,25 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
+
 #ifndef _UIElementKeyButton_h
 #define _UIElementKeyButton_h
 
diff --git a/UIElementSprite.cpp b/UIElementSprite.cpp
index 0c15b9f8..e6486213 100644
--- a/UIElementSprite.cpp
+++ b/UIElementSprite.cpp
@@ -1,3 +1,24 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+    Sam Lantinga
+    slouken@libsdl.org
+*/
 
 #include "Maelstrom_Globals.h"
 #include "UIElementSprite.h"
diff --git a/UIElementSprite.h b/UIElementSprite.h
index 75e828d5..7f3dada8 100644
--- a/UIElementSprite.h
+++ b/UIElementSprite.h
@@ -1,3 +1,25 @@
+/*
+    Maelstrom: Open Source version of the classic game by Ambrosia Software
+    Copyright (C) 1997-2011  Sam Lantinga
+
+    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
+    (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 Gene

(Patch may be truncated, please check the link at the top of this post.)