//////////////////////////////////////////////////////////////////////////////
//
//  copyright(c) Martin Waldegger (postmaster@basegraph.com)
//
//
//  This code is distributed in the hope that it will be useful but
//  WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
//  DISCLAMED. This includes but is not limited to warranties of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
//////////////////////////////////////////////////////////////////////////////


This is the BaseGraph RTL source needed for generating native Delphi code 
from BaseGraph Pascal projects.
The following included libraries were not written by me, but are published 
with a Mozilla type license, so even using them in a commercial project
would cause no problems:


* UPX

//////////////////////////////////////////////////////////////////////////////
//
// While no library per se, generated executables can automatically be packed 
// with UPX after compiling. The UPX executable is included, the UPX team
// (thanks a lot for this great utility) can be reached at
// http://upx.sf.net 
//
//////////////////////////////////////////////////////////////////////////////


* Spline.pas

//////////////////////////////////////////////////////////////////////////////
//
// I changed and adaptated this code several times - sadly I lost the 
// information of the original author in the progress.
// If you are the author, or know who wrote the original library (probably
// it has been published even with another name), please leave me a note
// so that I can give proper credits at this place.
//
// Spline.pas has been superseded by the TEvaluator1D object, which is part
// of BaseGraph, the polygon primitive does still use it for smooth
// subdivisions however.
//
//////////////////////////////////////////////////////////////////////////////

* Delphi ODE (dynode.pas, moduleloader.pas (changed), delphiode.inc):

 *************************************************************************
 *                                                                       *
 * Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith.       *
 * All rights reserved.  Email: russ@q12.org   Web: www.q12.org          *
 *                                                                       *
 * This library is free software; you can redistribute it and/or         *
 * modify it under the terms of EITHER:                                  *
 *   (1) The GNU Lesser General Public License as published by the Free  *
 *       Software Foundation; either version 2.1 of the License, or (at  *
 *       your option) any later version. The text of the GNU Lesser      *
 *       General Public License is included with this library in the     *
 *       file LICENSE.TXT.                                               *
 *   (2) The BSD-style license that is included with this library in     *
 *       the file LICENSE-BSD.TXT.                                       *
 *                                                                       *
 * This library 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 files    *
 * LICENSE.TXT and LICENSE-BSD.TXT for more details.                     *
 *                                                                       *
 *************************************************************************

 *************************************************************************
 *                                                                       *
 * ODE Delphi Import unit :                                              *
 *                                                                       *
 *   Created by Mattias Fagerlund ( mattias@cambrianlabs.com )  and      *
 *              Christophe ( chroma@skynet.be ) Hosten                   *
 *                                                                       *
 *  Special thanks to Eric Grange for his help                           *
 *                                                                       *
 *  All real work was of course performed by Russell L. Smith,           *
 *    who created ODE.                                                   *
 *                                                                       *
 *  Convertion started 2002-09-16.                                       *
 *                                                                       *
 *  There is no Delphi documentation for ODE, see the original ODE files *
 *  for information http://opende.sourceforge.net/ode-docs.html          *
 *                                                                       *
 *************************************************************************

 *************************************************************************
 *                                                                       *
 * This is a dynamically bound version of the odeimport.pas file - it    *
 * was initiated by Martin Waldegger <martin.waldegger@chello.at> and    *
 * auto-created by mattias fagerlund.                                    *
 *                                                                       *
 *************************************************************************


* Parts of the Jedi DirectX headers 
(DirectDraw,DirectMusic,DirectShow,DirectSound,DirectXGraphics - only the 
libs needed for BaseGraph Pascal, if you need the full Jedi port, go to 
their homepage and get the full thing): 


//////////////////////////////////////////////////////////////////////////////
//
//  Joint Endeavour of Delphi Innovators (Project JEDI)              
//                                                                  
//  You may retrieve the latest version of this file at the Project  
//  JEDI home page, located at                                       
//       http://www.delphi-jedi.org/DelphiGraphics/jedi-index.htm      
//                                                                  
//  The contents of this file are used with permission, subject to   
//  the Mozilla Public License Version 1.1 (the "License"); you may  
//  not use this file except in compliance with the License. You may 
//  obtain a copy of the License at                                  
//       http://www.mozilla.org/MPL/MPL-1.1.html                          
//                                                                     
//  Software distributed under the License is distributed on an      
//  "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or   
//  implied. See the License for the specific language governing     
//  rights and limitations under the License.                        
//
//////////////////////////////////////////////////////////////////////////////


* GraphicEx


//////////////////////////////////////////////////////////////////////////////
//
// The contents of this file are subject to the Mozilla Public License
// Version 1.1 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at 
// http://www.mozilla.org/MPL/
//
// Software distributed under the License is distributed on an "AS IS" basis,
// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
// for the specific language governing rights and limitations under the 
// License.
//
// The original code is GraphicColor.pas, released November 1, 1999.
//
// The initial developer of the original code is Dipl. Ing. Mike Lischke 
// (Pleia, Germany, www.delphi-gems.com),
//
// Portions created by Dipl. Ing. Mike Lischke are Copyright
// (C) 1999-2003 Dipl. Ing. Mike Lischke. All Rights Reserved.
//----------------------------------------------------------------------------
//
// GraphicEx -
//   This unit is an addendum to Graphics.pas, in order to enable your 
//   application to import many common graphic files.
//
// See help file for a description of supported image types. Additionally, 
// there is a resample routine (Stretch) based on code from Anders Melander 
// (http://www.melander.dk/delphi/resampler/index.html)
// which has been optimized quite a lot to work faster and bug fixed.
//
// version - 9.9
//
// 03-SEP-2000 ml:
//   EPS with alpha channel, workaround for TIFs with wrong alpha channel 
//   indication, workaround for bad packbits compressed (TIF) images
// 28-AUG-2000 ml:
//   small bugfixes
// 27-AUG-2000 ml:
//   changed all FreeMemory(P) calls back to ... if Assigned(P) then 
//   FreeMem(P); ...
// 24-AUG-2000 ml:
//   small bug in LZ77 decoder removed
// 18-AUG-2000 ml:
//   TIF deflate decoding scheme
// 15-AUG-2000 ml:
//   workaround for TIF images without compression, but prediction scheme 
//   set (which is not really used in this case)
// 12-AUG-2000 ml:
//   small changes 
//
// For older history please look into the help file.
//
// Note: The library provides usually only load support for the listed image 
//       formats but will perhaps be enhanced in the future to save those 
//       types too. It can be compiled with Delphi 4 or newer versions.
//
//----------------------------------------------------------------------------
//
//////////////////////////////////////////////////////////////////////////////



* Everything else is written and copyrighted by me, it's given in a Mozilla 
style license, which gives you much freedom, but you must not alter the 
BaseGraph Pascal program package in any way.

Have fun,
  Martin Waldegger 