Maelstrom:

https://github.com/libsdl-org/Maelstrom/commit/1b543b3833b58e91695ab107be17d9865542169a

From 1b543b3833b58e91695ab107be17d9865542169a Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 26 Aug 2008 04:12:33 +0000
Subject: [PATCH]

---
 COPYING                          |   14 +
 COPYING.GPL                      |  280 ++
 CREDITS                          |   12 +
 Changelog                        |  279 ++
 Docs/Ambrosia_Software,_Inc._FAQ |  324 +++
 Docs/Maelstrom-Announce          |   76 +
 Docs/Maelstrom.FAQ               |  602 +++++
 Docs/MaelstromGPL_press_release  |   52 +
 Docs/Makefile                    |    9 +
 Docs/Makefile.in                 |    9 +
 Docs/Networking.Paper            |  202 ++
 Docs/Porting.Paper               |  390 +++
 Docs/Quotes                      |   25 +
 Docs/RSA.README                  |   17 +
 Docs/Technical_Notes-v1.0        |  260 ++
 Docs/Technical_Notes-v1.1        |   26 +
 Docs/Technical_Notes-v2.0        |  158 ++
 INSTALL                          |    9 +
 Images/Maelstrom_Icon#100.cicn   |  Bin 0 -> 1156 bytes
 Images/Maelstrom_Icon#101.cicn   |  Bin 0 -> 1156 bytes
 Images/Maelstrom_Icon#102.cicn   |  Bin 0 -> 1156 bytes
 Images/Maelstrom_Icon#103.cicn   |  Bin 0 -> 1156 bytes
 Images/Maelstrom_Icon#104.cicn   |  Bin 0 -> 1156 bytes
 Images/Maelstrom_Icon#110.cicn   |  Bin 0 -> 1156 bytes
 Images/Maelstrom_Icon#128.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Icon#129.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Icon#130.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Icon#131.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Icon#132.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Icon#133.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Icon#134.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Icon#135.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Icon#136.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Icon#137.cicn   |  Bin 0 -> 76 bytes
 Images/Maelstrom_Titles#100.bmp  |  Bin 0 -> 24478 bytes
 Images/Maelstrom_Titles#101.bmp  |  Bin 0 -> 22278 bytes
 Images/Maelstrom_Titles#102.bmp  |  Bin 0 -> 14478 bytes
 Images/Maelstrom_Titles#128.bmp  |  Bin 0 -> 17654 bytes
 Images/Maelstrom_Titles#129.bmp  |  Bin 0 -> 42262 bytes
 Images/Maelstrom_Titles#130.bmp  |  Bin 0 -> 197686 bytes
 Images/Maelstrom_Titles#133.bmp  |  Bin 0 -> 197686 bytes
 Images/Maelstrom_Titles#134.bmp  |  Bin 0 -> 197686 bytes
 Images/Maelstrom_Titles#135.bmp  |  Bin 0 -> 197686 bytes
 Images/Maelstrom_Titles#999.bmp  |  Bin 0 -> 92598 bytes
 Images/Makefile                  |    9 +
 Images/Makefile.in               |    9 +
 MPWmake.sea.bin                  |  Bin 0 -> 20224 bytes
 Maelstrom-Scores                 |  Bin 0 -> 280 bytes
 Maelstrom-netd.c                 |  376 +++
 Maelstrom.h                      |   86 +
 Maelstrom.spec                   |  103 +
 Maelstrom.spec.in                |  103 +
 Maelstrom_Fonts                  |  Bin 0 -> 153211 bytes
 Maelstrom_Globals.h              |  129 +
 Maelstrom_Sounds                 |  Bin 0 -> 413235 bytes
 Maelstrom_Sprites                |  Bin 0 -> 729966 bytes
 Makefile.am                      |   89 +
 Makefile.in                      |  459 ++++
 PBProjects.tar.gz                |  Bin 0 -> 22789 bytes
 README                           |   31 +
 README.joystick                  |   11 +
 README.network                   |   36 +
 README.options                   |   67 +
 VisualC.zip                      |  Bin 0 -> 5380 bytes
 acinclude.m4                     |  175 ++
 aclocal.m4                       |  280 ++
 autogen.sh                       |    8 +
 buttonlist.h                     |   64 +
 checksum.cpp                     |  267 ++
 checksum.h                       |   11 +
 colortable.h                     | 2346 +++++++++++++++++
 config.guess                     | 1368 ++++++++++
 config.sub                       | 1357 ++++++++++
 configure                        | 4097 ++++++++++++++++++++++++++++++
 configure.in                     |  126 +
 controls.cpp                     |  558 ++++
 controls.h                       |   33 +
 dialog.cpp                       |  310 +++
 dialog.h                         |  938 +++++++
 fastrand.cpp                     |   93 +
 fastrand.h                       |    7 +
 ico_o                            |  Bin 0 -> 2518 bytes
 icon.bmp                         |  Bin 0 -> 2732 bytes
 icon.xpm                         |  147 ++
 init.cpp                         | 1263 +++++++++
 install-sh                       |  251 ++
 load.cpp                         |  139 +
 load.h                           |  126 +
 logic.h                          |   28 +
 maclib/COPYING                   |  280 ++
 maclib/Mac_Compat.h              |   37 +
 maclib/Mac_FontServ.cpp          |  418 +++
 maclib/Mac_FontServ.h            |  146 ++
 maclib/Mac_Resource.cpp          |  531 ++++
 maclib/Mac_Resource.h            |  107 +
 maclib/Mac_Sound.cpp             |  287 +++
 maclib/Mac_Sound.h               |  208 ++
 maclib/Mac_Wave.cpp              |  571 +++++
 maclib/Mac_Wave.h                |  117 +
 maclib/Makefile.am               |   27 +
 maclib/Makefile.in               |  321 +++
 maclib/README                    |   35 +
 maclib/applefile.h               |  342 +++
 maclib/bitesex.h                 |   19 +
 maclib/macbinary.h               |   62 +
 maclib/macres.cpp                |   77 +
 maclib/playwave.cpp              |  176 ++
 maclib/snd2wav.cpp               |   90 +
 main.cpp                         |  682 +++++
 missing                          |  190 ++
 mkinstalldirs                    |   40 +
 myerror.cpp                      |   47 +
 myerror.h                        |   12 +
 netlogic/Makefile.am             |   22 +
 netlogic/Makefile.in             |  273 ++
 netlogic/about.cpp               |  204 ++
 netlogic/blit.cpp                |  165 ++
 netlogic/game.cpp                | 1048 ++++++++
 netlogic/globals.h               |   29 +
 netlogic/logic.cpp               |  118 +
 netlogic/make.cpp                |  372 +++
 netlogic/make.h                  |   13 +
 netlogic/netlogic.h              |   48 +
 netlogic/netplay.cpp             |  820 ++++++
 netlogic/netplay.h               |   18 +
 netlogic/object.cpp              |  117 +
 netlogic/object.h                |  289 +++
 netlogic/objects.cpp             |  144 ++
 netlogic/objects.h               |  539 ++++
 netlogic/player.cpp              |  702 +++++
 netlogic/player.h                |  160 ++
 netlogic/protocol.h              |   23 +
 netlogic/shinobi.h               |  273 ++
 netscore.cpp                     |  210 ++
 netscore.h                       |   10 +
 public_key.h                     |    8 +
 rect.cpp                         |   26 +
 rect.h                           |   23 +
 scores.cpp                       |  271 ++
 scores.h                         |   15 +
 screenlib/COPYING                |  280 ++
 screenlib/Makefile.am            |    8 +
 screenlib/Makefile.in            |  272 ++
 screenlib/README                 |    5 +
 screenlib/SDL_FrameBuf.cpp       |  877 +++++++
 screenlib/SDL_FrameBuf.h         |  218 ++
 screenlib/pixel.cpp              |   47 +
 screenlib/pixel.h                |   33 +
 148 files changed, 30746 insertions(+)
 create mode 100644 COPYING
 create mode 100644 COPYING.GPL
 create mode 100644 CREDITS
 create mode 100644 Changelog
 create mode 100644 Docs/Ambrosia_Software,_Inc._FAQ
 create mode 100644 Docs/Maelstrom-Announce
 create mode 100644 Docs/Maelstrom.FAQ
 create mode 100644 Docs/MaelstromGPL_press_release
 create mode 100644 Docs/Makefile
 create mode 100644 Docs/Makefile.in
 create mode 100644 Docs/Networking.Paper
 create mode 100644 Docs/Porting.Paper
 create mode 100644 Docs/Quotes
 create mode 100644 Docs/RSA.README
 create mode 100644 Docs/Technical_Notes-v1.0
 create mode 100644 Docs/Technical_Notes-v1.1
 create mode 100644 Docs/Technical_Notes-v2.0
 create mode 100644 INSTALL
 create mode 100644 Images/Maelstrom_Icon#100.cicn
 create mode 100644 Images/Maelstrom_Icon#101.cicn
 create mode 100644 Images/Maelstrom_Icon#102.cicn
 create mode 100644 Images/Maelstrom_Icon#103.cicn
 create mode 100644 Images/Maelstrom_Icon#104.cicn
 create mode 100644 Images/Maelstrom_Icon#110.cicn
 create mode 100644 Images/Maelstrom_Icon#128.cicn
 create mode 100644 Images/Maelstrom_Icon#129.cicn
 create mode 100644 Images/Maelstrom_Icon#130.cicn
 create mode 100644 Images/Maelstrom_Icon#131.cicn
 create mode 100644 Images/Maelstrom_Icon#132.cicn
 create mode 100644 Images/Maelstrom_Icon#133.cicn
 create mode 100644 Images/Maelstrom_Icon#134.cicn
 create mode 100644 Images/Maelstrom_Icon#135.cicn
 create mode 100644 Images/Maelstrom_Icon#136.cicn
 create mode 100644 Images/Maelstrom_Icon#137.cicn
 create mode 100644 Images/Maelstrom_Titles#100.bmp
 create mode 100644 Images/Maelstrom_Titles#101.bmp
 create mode 100644 Images/Maelstrom_Titles#102.bmp
 create mode 100644 Images/Maelstrom_Titles#128.bmp
 create mode 100644 Images/Maelstrom_Titles#129.bmp
 create mode 100644 Images/Maelstrom_Titles#130.bmp
 create mode 100644 Images/Maelstrom_Titles#133.bmp
 create mode 100644 Images/Maelstrom_Titles#134.bmp
 create mode 100644 Images/Maelstrom_Titles#135.bmp
 create mode 100644 Images/Maelstrom_Titles#999.bmp
 create mode 100644 Images/Makefile
 create mode 100644 Images/Makefile.in
 create mode 100644 MPWmake.sea.bin
 create mode 100644 Maelstrom-Scores
 create mode 100644 Maelstrom-netd.c
 create mode 100644 Maelstrom.h
 create mode 100644 Maelstrom.spec
 create mode 100644 Maelstrom.spec.in
 create mode 100644 Maelstrom_Fonts
 create mode 100644 Maelstrom_Globals.h
 create mode 100644 Maelstrom_Sounds
 create mode 100644 Maelstrom_Sprites
 create mode 100644 Makefile.am
 create mode 100644 Makefile.in
 create mode 100644 PBProjects.tar.gz
 create mode 100644 README
 create mode 100644 README.joystick
 create mode 100644 README.network
 create mode 100644 README.options
 create mode 100644 VisualC.zip
 create mode 100644 acinclude.m4
 create mode 100644 aclocal.m4
 create mode 100755 autogen.sh
 create mode 100644 buttonlist.h
 create mode 100644 checksum.cpp
 create mode 100644 checksum.h
 create mode 100644 colortable.h
 create mode 100755 config.guess
 create mode 100755 config.sub
 create mode 100755 configure
 create mode 100644 configure.in
 create mode 100644 controls.cpp
 create mode 100644 controls.h
 create mode 100644 dialog.cpp
 create mode 100644 dialog.h
 create mode 100644 fastrand.cpp
 create mode 100644 fastrand.h
 create mode 100644 ico_o
 create mode 100644 icon.bmp
 create mode 100644 icon.xpm
 create mode 100644 init.cpp
 create mode 100755 install-sh
 create mode 100644 load.cpp
 create mode 100644 load.h
 create mode 100644 logic.h
 create mode 100644 maclib/COPYING
 create mode 100644 maclib/Mac_Compat.h
 create mode 100644 maclib/Mac_FontServ.cpp
 create mode 100644 maclib/Mac_FontServ.h
 create mode 100644 maclib/Mac_Resource.cpp
 create mode 100644 maclib/Mac_Resource.h
 create mode 100644 maclib/Mac_Sound.cpp
 create mode 100644 maclib/Mac_Sound.h
 create mode 100644 maclib/Mac_Wave.cpp
 create mode 100644 maclib/Mac_Wave.h
 create mode 100644 maclib/Makefile.am
 create mode 100644 maclib/Makefile.in
 create mode 100644 maclib/README
 create mode 100644 maclib/applefile.h
 create mode 100644 maclib/bitesex.h
 create mode 100644 maclib/macbinary.h
 create mode 100644 maclib/macres.cpp
 create mode 100644 maclib/playwave.cpp
 create mode 100644 maclib/snd2wav.cpp
 create mode 100644 main.cpp
 create mode 100755 missing
 create mode 100755 mkinstalldirs
 create mode 100644 myerror.cpp
 create mode 100644 myerror.h
 create mode 100644 netlogic/Makefile.am
 create mode 100644 netlogic/Makefile.in
 create mode 100644 netlogic/about.cpp
 create mode 100644 netlogic/blit.cpp
 create mode 100644 netlogic/game.cpp
 create mode 100644 netlogic/globals.h
 create mode 100644 netlogic/logic.cpp
 create mode 100644 netlogic/make.cpp
 create mode 100644 netlogic/make.h
 create mode 100644 netlogic/netlogic.h
 create mode 100644 netlogic/netplay.cpp
 create mode 100644 netlogic/netplay.h
 create mode 100644 netlogic/object.cpp
 create mode 100644 netlogic/object.h
 create mode 100644 netlogic/objects.cpp
 create mode 100644 netlogic/objects.h
 create mode 100644 netlogic/player.cpp
 create mode 100644 netlogic/player.h
 create mode 100644 netlogic/protocol.h
 create mode 100644 netlogic/shinobi.h
 create mode 100644 netscore.cpp
 create mode 100644 netscore.h
 create mode 100644 public_key.h
 create mode 100644 rect.cpp
 create mode 100644 rect.h
 create mode 100644 scores.cpp
 create mode 100644 scores.h
 create mode 100644 screenlib/COPYING
 create mode 100644 screenlib/Makefile.am
 create mode 100644 screenlib/Makefile.in
 create mode 100644 screenlib/README
 create mode 100644 screenlib/SDL_FrameBuf.cpp
 create mode 100644 screenlib/SDL_FrameBuf.h
 create mode 100644 screenlib/pixel.cpp
 create mode 100644 screenlib/pixel.h

diff --git a/COPYING b/COPYING
new file mode 100644
index 00000000..0a3fd393
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,14 @@
+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 artwork and sounds used by Maelstrom are copyright Ambrosia Software
+(http://www.ambrosiasw.com) and may not be redistributed separately from
+the Maelstrom GPL source code.
+
+The following files must accompany any distribution of Maeltrom 3.0:
+	Ambrosia_Software,_Inc._FAQ
+	MaelstromGPL_press_release
+They can be found in the Docs directory.
+
+Copying, modifying, bundling, and burning to new ROMs is encouraged!
+
diff --git a/COPYING.GPL b/COPYING.GPL
new file mode 100644
index 00000000..960fe746
--- /dev/null
+++ b/COPYING.GPL
@@ -0,0 +1,280 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
diff --git a/CREDITS b/CREDITS
new file mode 100644
index 00000000..15c7b30c
--- /dev/null
+++ b/CREDITS
@@ -0,0 +1,12 @@
+
+The original version of this game was written for the Macintosh by 
+Andrew Welch, of Ambrosia Software.  It was ported to Linux and then
+to the Simple DirectMedia Layer library by Sam Lantinga.
+
+This would have never come about without the help and encouragement
+of many people, too numerous to mention here.
+
+Thank you everybody, you know who you are! :)
+
+11/18/1999
+Sam Lantinga
diff --git a/Changelog b/Changelog
new file mode 100644
index 00000000..80c955db
--- /dev/null
+++ b/Changelog
@@ -0,0 +1,279 @@
+
+Maelstrom 3.0.6 -- Public GPL version
+
+Version 3.0.6:
+	Sam Lantinga - Sat Oct 19 19:09:57 PDT 2002
+	*	Added support for MacBinary resource files
+	*	Updated README.joystick to reflect joystick support
+	*	Fixed volume lockup bug on MacOS X
+	Dean Larman-Moore - May 2002 00:20:43 +0100
+	*	Fixed network bug with more than one player
+
+Version 3.0.5:
+	Sam Lantinga - Fri Jul 20 08:09:14 PDT 2001
+	*	Fixed some bugs in the mac dialog entry widgets
+
+Version 3.0.4:
+	Sam Lantinga - Sat Mar 24 09:45:41 PST 2001
+	*	Ported to MacOS X
+	*	Added gamma fading algorithm
+
+Version 3.0.3:
+	Sam Lantinga - Sat Mar 24 09:45:41 PST 2001
+	*	Updated for SDL 1.2
+
+Version 3.0.2:
+	Sam Lantinga - Sat Feb 19 01:31:20 PST 2000
+	*	Fixed the multiplayer color dot blitting
+	*	Ported to the SDL_net network library
+	*	Added ALT-ENTER fullscreen toggle (X11)
+	*	Pressing a key escapes the splash screen
+	Sam Lantinga - Sat Feb 12 02:16:32 PST 2000
+	*	Added joystick support, using SDL 1.1
+	Michael Vanece - Tue, 25 Jan 2000 13:54:04 -0600
+	*	Fixed a desktop menu installation bug in the RPM
+	Torbjrn Andersson - Thu, 13 Jan 2000 11:03:19 +0100
+	*	Fixed a crash in the font class when using
+		international characters
+
+Version 3.0.1:
+	*	Source code released under the GPL 11/18/1999
+	*	Added full autoconf support and made RPM package
+
+Version 3.0.0:
+	*	Ported to Simple DirectMedia Layer library
+		(http://www.libsdl.org/)
+
+Version 2.0.7:
+	*	Added a netscore environment variable: MAELSTROM_SCORESERVER
+	*	Fixed long-standing 24/32 bpp X display detection problem
+	*	Fixed minor compilation problems with modern Linux systems
+	*	Moved error routines into separate file - fixed PPC Linux
+
+Version 2.0.6:
+	*	Maelstrom no longer eats CPU while paused -- Oops. :)
+	*	Added interlaced pixel doubling for faster doubled display
+	*	Added pixel doubling to Win95 f

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