- changed the license of the OpenGL renderer to LGPL v3.

This was done to clean up the license and to ensure that any commercial fork of the engine has to obey the far stricter requirements concerning source distribution. The old license was compatible with GPLv2 whereas combining GPLv2 and LGPLv3 force a license upgrade to GPLv3. The license of code that originates from ZDoomGL has not been changed.
This commit is contained in:
Christoph Oelckers 2016-09-14 20:01:13 +02:00
commit 8b6e09ca09
81 changed files with 1714 additions and 2309 deletions

View file

@ -1,10 +1,32 @@
//
//---------------------------------------------------------------------------
//
// Copyright(C) 2004-2016 Christoph Oelckers
// All rights reserved.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 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 Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see http://www.gnu.org/licenses/
//
//--------------------------------------------------------------------------
//
/*
** a_dynlight.cpp
** Implements actors representing dynamic lights (hardware independent)
**
**
** all functions marked with [TS] are licensed under
**---------------------------------------------------------------------------
** Copyright 2003 Timothy Stump
** Copyright 2005-2016 Christoph Oelckers
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
@ -18,8 +40,6 @@
** documentation and/or other materials provided with the distribution.
** 3. The name of the author may not be used to endorse or promote products
** derived from this software without specific prior written permission.
** 4. Full disclosure of the entire project's source code, except for third
** party libraries is mandatory. (NOTE: This clause is non-negotiable!)
**
** THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
** IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@ -154,7 +174,7 @@ void ADynamicLight::Serialize(FArchive &arc)
//==========================================================================
//
//
// [TS]
//
//==========================================================================
void ADynamicLight::BeginPlay()
@ -169,7 +189,7 @@ void ADynamicLight::BeginPlay()
//==========================================================================
//
//
// [TS]
//
//==========================================================================
void ADynamicLight::PostBeginPlay()
@ -187,7 +207,7 @@ void ADynamicLight::PostBeginPlay()
//==========================================================================
//
//
// [TS]
//
//==========================================================================
void ADynamicLight::Activate(AActor *activator)
@ -213,7 +233,7 @@ void ADynamicLight::Activate(AActor *activator)
//==========================================================================
//
//
// [TS]
//
//==========================================================================
void ADynamicLight::Deactivate(AActor *activator)
@ -225,7 +245,7 @@ void ADynamicLight::Deactivate(AActor *activator)
//==========================================================================
//
//
// [TS]
//
//==========================================================================
void ADynamicLight::Tick()