
====== Original Knights Graphics, Sounds and Room Layouts ======

The original Amiga Knights was written by Kalle Marjola aka Reaper.
The sound effects were provided by Miku.

This version of Knights incorporates the graphics, sounds and room
layouts from the original Amiga game, which are available from the
following web site:
http://www.cs.helsinki.fi/u/marjola/games/design.shtml#knights

The conditions of use are as follows:

	Knights 2.42 Source Code
	========================

DISCLAIMER:
	THIS SOURCE CODE IS REPRESENTED AS IT IS AND IS MEANT ONLY FOR
	PERSONAL OR PUBLIC DOMAIN USE. NO PARTS OR COMPLETE CODE CAN
	BE USED IN COMMERCIAL PRODUCT OF ANY KIND AND PRODUCTS
	INCLUDING EVEN PARTION OF CODE, GRAPHICS OR SOUNDS AVAILABLE
	MUST BE PUBLIC DOMAIN AND CHARGE OF PRODUCT MUST BE LIMITED TO
	PERSONAL DELIVERY EXPENSES


So, here it is: Source code for Knights 2.42 amiga 2-player hack'em'up
dungeon exploration game. Feel free to use them to upgrade this game,
but keep those upgrades publicly available so all enthuastics have fun
of them.



====== Simple DirectMedia Layer (SDL) ======

This software includes a copy of the Simple DirectMedia Layer (SDL)
library. This is a cross-platform multimedia library, providing access
to graphics, sounds and so on. It is made available under the terms of
the GNU Lesser General Public Licence (LGPL), the full text of which
is included separately (see third_party_licences/LGPL.txt).

The latest version of SDL is always available from
http://www.libsdl.org/. 

(On the Windows version of Knights, you may upgrade to the latest
version of SDL by replacing the relevant DLLs in the Knights
directory.)



===== SDL_TTF and FreeType =====

This software uses SDL_TTF, which in turn uses FreeType, which is
copyright (C) 2007 The FreeType project (http://www.freetype.org/).
See third_party_licences/FTL.txt.

Note that I have included the SDL_TTF .c and .h files into the project
directly, rather than linking to them as an external library. (I have
also made a small modification to my copy of SDL_ttf.c, see
src/platform/SDL_ttf.c.) Please be aware of this if you are swapping
in a new version of SDL_TTF for any reason.



====== Guichan ======

The front end menus were created with Guichan, a free GUI library
available from http://guichan.sourceforge.net/. The following licence
applies:

Copyright (c) 2004, 2005, 2006, 2007 Olof Naessn and Per Larsson. All
rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above
      copyright notice, this list of conditions and the following
      disclaimer in the documentation and/or other materials provided
      with the distribution.
    * Neither the name of the Guichan nor the names of its
      contributors may be used to endorse or promote products derived
      from this software without specific prior written permission. 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.




====== Scale2x ======

The game scales up the original Knights graphics by using (an original
implementation of) the Scale2x algorithm, developed by Andrea
Mazzoleni. See http://scale2x.sourceforge.net/.



====== Boost C++ Libraries ======

This program uses code from the Boost C++ libraries. See
http://www.boost.org/
The Boost Software Licence is as follows:

Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:

The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.



====== ENet Library ======

This program incorporates code from ENet, a cross-platform library for
networking for games. The latest version is available from
http://enet.bespin.org/ 
The licence is:

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



====== libcurl ======

This program uses code from libcurl, an open source URL transfer
library. Its licence is the following:

Copyright (c) 1996 - 2009, Daniel Stenberg, <daniel@haxx.se>.

All rights reserved.

Permission to use, copy, modify, and distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright
notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall not
be used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization of the copyright holder.



====== Other Software Used ======

Various other programs were used to create this version of Knights.
Here is a list:


* The GOLD Parsing System
  http://www.devincook.com/goldparser/

  A free parser generator. I used this to create a parser for the
  Knights configuration files (examples can be found in the
  knights_data folder).

  Please note that I only used the main GOLD parser generator tool. I
  did not use any of the 'engines' available from the GOLD site -- I
  found the C++ ones to be somewhat unreliable, so I wrote my own!


* Inno Setup
  http://www.jrsoftware.org/isinfo.php

  This was used to create the Windows installer. (I find this a lot
  easier to use than NSIS, which is what I was originally using for
  installers.)


* ImageMagick
  http://www.imagemagick.org/

  The "convert" utility from this package was used for converting the
  graphics files from the original Amiga Knights.


* GIMP
  http://www.gimp.org/
 
  Image editing program.


* SOX
  http://sox.sourceforge.net/

  This was used to convert the original Amiga sound files to WAV
  format.


* SCons
  http://www.scons.org/

  A make replacement -- Describes itself as a "software construction
  tool".


* AMOS Professional 

  An Amiga programming language and development environment. This was
  used to develop the original Amiga Knights.


* Python 
  http://www.python.org/

  This was used for various purposes (e.g. to write scripts to convert
  the original Knights rooms data to a text file format).


* Emacs, for editing the source files


* GCC/G++, for compiling the code.


Development was done both on Linux and on Windows (the latter using
Cygwin and, more recently, Microsoft Visual C++ Express Edition).
