| 1 | ==========================================================================
|
|---|
| 2 | Cafu Game and Graphics Engine http://www.cafu.de
|
|---|
| 3 | License Information info@cafu.de
|
|---|
| 4 | ==========================================================================
|
|---|
| 5 |
|
|---|
| 6 | This document lists all the licenses that affect the Cafu engine.
|
|---|
| 7 |
|
|---|
| 8 | Contents:
|
|---|
| 9 |
|
|---|
| 10 | 1. The Cafu License (GPL and commercial)
|
|---|
| 11 | 2. Assets License
|
|---|
| 12 | 3. The External Libraries
|
|---|
| 13 | 4. FAQs
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | We've taken great care to present all details in this document as
|
|---|
| 17 | complete and accurate as possible. If you think that something is
|
|---|
| 18 | missing or wrong, please let us know: We will get things right
|
|---|
| 19 | immediately. You can contact us at info@cafu.de, or find our
|
|---|
| 20 | contact details at http://www.cafu.de/contact
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | ==========================================================================
|
|---|
| 25 | 1. The Cafu License (GPL and commercial)
|
|---|
| 26 | ==========================================================================
|
|---|
| 27 |
|
|---|
| 28 | Cafu is a collection of software components, consisting of executables,
|
|---|
| 29 | tools, libraries, source-code and scripts.
|
|---|
| 30 | Cafu is copyright (c) 2002-2012 Carsten Fuchs Software.
|
|---|
| 31 |
|
|---|
| 32 | Cafu is free software: you can redistribute it and/or modify it under
|
|---|
| 33 | the terms of the GNU General Public License as published by the Free
|
|---|
| 34 | Software Foundation, either version 3 of the License, or (at your
|
|---|
| 35 | option) any later version.
|
|---|
| 36 |
|
|---|
| 37 | Cafu is distributed in the hope that it will be useful, but WITHOUT ANY
|
|---|
| 38 | WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|---|
| 39 | FITNESS FOR A PARTICULAR PURPOSE.
|
|---|
| 40 | See the GNU General Public License for more details.
|
|---|
| 41 |
|
|---|
| 42 | You should have received a copy of the GNU General Public License along
|
|---|
| 43 | with Cafu. If not, see <http://www.gnu.org/licenses/>.
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 | You can also obtain Cafu under an alternative, custom license that is
|
|---|
| 47 | tailored to your needs! Contact us at info@cafu.de for more details.
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | ==========================================================================
|
|---|
| 52 | 2. Assets Licenses
|
|---|
| 53 | ==========================================================================
|
|---|
| 54 |
|
|---|
| 55 | All assets that ship with Cafu (texture images, models, fonts, sounds,
|
|---|
| 56 | maps, music files, etc.) are copyrighted by their respective author.
|
|---|
| 57 |
|
|---|
| 58 | If you wish to re-use the assets that ship with Cafu in your own
|
|---|
| 59 | products developed with Cafu, please contact us: Carsten Fuchs Software
|
|---|
| 60 | owns and holds the copyright of most of the assets that ship with Cafu,
|
|---|
| 61 | and we're happy to send you a detailed list and a grant of permission.
|
|---|
| 62 |
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 | ==========================================================================
|
|---|
| 66 | 3. The External Libraries
|
|---|
| 67 | ==========================================================================
|
|---|
| 68 |
|
|---|
| 69 | Cafu employs several external libraries that are copyrighted by their
|
|---|
| 70 | respective authors.
|
|---|
| 71 |
|
|---|
| 72 | Each of these libraries is compatible both with the GPL as well as with
|
|---|
| 73 | the custom licenses by Carsten Fuchs Software for closed-source
|
|---|
| 74 | commercial use.
|
|---|
| 75 |
|
|---|
| 76 | Bullet Continuous Collision Detection and Physics Library,
|
|---|
| 77 | copyright (c) 2003-2006 Erwin Coumans,
|
|---|
| 78 | http://continuousphysics.com/Bullet
|
|---|
| 79 |
|
|---|
| 80 | NVidia "Cg - C for graphics",
|
|---|
| 81 | http://developer.nvidia.com/object/cg_toolkit.html
|
|---|
| 82 |
|
|---|
| 83 | FMOD, copyright (c) 1994-2004 Firelight Technologies Pty, Ltd.,
|
|---|
| 84 | http://www.fmod.org
|
|---|
| 85 |
|
|---|
| 86 | freealut, http://connect.creativelabs.com/openal/default.aspx
|
|---|
| 87 |
|
|---|
| 88 | FreeType Library, copyright (c) 2009 The FreeType Project,
|
|---|
| 89 | http://www.freetype.org
|
|---|
| 90 |
|
|---|
| 91 | libjpeg, copyright (c) 1991-1998 Independent JPEG Group,
|
|---|
| 92 | http://www.ijg.org
|
|---|
| 93 |
|
|---|
| 94 | libnoise, copyright (c) 2003-2007 Jason Bevins,
|
|---|
| 95 | http://libnoise.sourceforge.net
|
|---|
| 96 |
|
|---|
| 97 | libogg and libvorbis, copyright (c) 2002 Xiph.org Foundation,
|
|---|
| 98 | http://www.xiph.org
|
|---|
| 99 |
|
|---|
| 100 | libpng, copyright (c) 2004 Glenn Randers-Pehrson,
|
|---|
| 101 | http://www.libpng.org/pub/png/libpng.html
|
|---|
| 102 |
|
|---|
| 103 | lightwave-8, http://www.newtek.com/lightwave/developers.php
|
|---|
| 104 |
|
|---|
| 105 | Lua, copyright (c) 1994-2006 Lua.org, PUC-Rio,
|
|---|
| 106 | http://www.lua.org
|
|---|
| 107 |
|
|---|
| 108 | mpg123, copyright (c) Michael Hipp, http://www.mpg123.de
|
|---|
| 109 |
|
|---|
| 110 | OpenAL (for Windows),
|
|---|
| 111 | http://connect.creativelabs.com/openal/default.aspx
|
|---|
| 112 |
|
|---|
| 113 | openal-soft (for Linux),
|
|---|
| 114 | http://kcat.strangesoft.net/openal.html
|
|---|
| 115 |
|
|---|
| 116 | wxWidgets cross-platform GUI library,
|
|---|
| 117 | copyright (c) 1998-2005 Julian Smart, Robert Roebling et al,
|
|---|
| 118 | http://www.wxwidgets.org
|
|---|
| 119 |
|
|---|
| 120 | zlib, copyright (c) 1995-2004 Jean-loup Gailly and Mark Adler,
|
|---|
| 121 | http://www.zlib.net
|
|---|
| 122 |
|
|---|
| 123 | We ship the original license texts of each library with Cafu.
|
|---|
| 124 | Refer to each libraries individual license text for full details.
|
|---|
| 125 |
|
|---|
| 126 | The additional requirements that some of the licenses of these libraries
|
|---|
| 127 | impose on software products developed with Cafu are explained in the
|
|---|
| 128 | next section (FAQs).
|
|---|
| 129 |
|
|---|
| 130 |
|
|---|
| 131 |
|
|---|
| 132 | ==========================================================================
|
|---|
| 133 | 4. FAQs - Frequently Asked Questions
|
|---|
| 134 | ==========================================================================
|
|---|
| 135 |
|
|---|
| 136 | ---------------------------------------------------------------------
|
|---|
| 137 | a) How do all the external libraries affect or restrict me when I
|
|---|
| 138 | develop a (commercial) product with the Cafu engine?
|
|---|
| 139 | ---------------------------------------------------------------------
|
|---|
| 140 |
|
|---|
| 141 | When you develop your own product, you have obtained Cafu either under
|
|---|
| 142 | the GNU General Public License (GPL), or directly from Carsten Fuchs
|
|---|
| 143 | Software under a custom license that is tailored to your needs.
|
|---|
| 144 | Therefore, we have been careful to only employ external libraries that
|
|---|
| 145 | are compatible with both cases.
|
|---|
| 146 |
|
|---|
| 147 | When your product is under the GPL (which it must when you obtained Cafu
|
|---|
| 148 | under the GPL), your honoring of the terms of the GPL will cover the
|
|---|
| 149 | requirements of the external libraries automatically, as the
|
|---|
| 150 | requirements of the external libraries are a subset of the requirements
|
|---|
| 151 | of the GPL.
|
|---|
| 152 |
|
|---|
| 153 | But when you obtain a custom license for the Cafu core code, how will
|
|---|
| 154 | the external libraries still affect you?
|
|---|
| 155 | Well, you still have to meet the requirements of the external libraries,
|
|---|
| 156 | but meeting these requirements is fortunately very easy!
|
|---|
| 157 |
|
|---|
| 158 | Roughly spoken, all external libraries from the above list fall into
|
|---|
| 159 | one of two categories: Either they come under an MIT, BSD or similarly
|
|---|
| 160 | liberal license that usually contains an "advertisement clause"; or
|
|---|
| 161 | they come under the LGPL.
|
|---|
| 162 |
|
|---|
| 163 | Libraries whose license contains an advertisement clause are easily
|
|---|
| 164 | dealt with: Just mention somewhere in your product documentation or
|
|---|
| 165 | About or Credits dialogs that you use them. For the Cafu binaries, the
|
|---|
| 166 | world editor CaWE, and the Cafu documentation (both online and in this
|
|---|
| 167 | file), we have already implemented these requirements.
|
|---|
| 168 |
|
|---|
| 169 | As the LGPL contains a similar requirement as well, just augment the
|
|---|
| 170 | above mentioned dialogs and documentation by listing the copyrights and
|
|---|
| 171 | credits for the LGPL'ed libraries also. For Cafu, we just made lists of
|
|---|
| 172 | *all* employed libraries in order to make sure that we cover all
|
|---|
| 173 | licenses of all libraries.
|
|---|
| 174 |
|
|---|
| 175 | With libraries under the LGPL there is usually the additional question
|
|---|
| 176 | whether we can link to them statically without providing our application
|
|---|
| 177 | source code (when linking dynamically, that is not a problem). The
|
|---|
| 178 | answer is: Yes, we can! It is perfectly legal and covered by the terms
|
|---|
| 179 | of the LGPL to do so. The details are very well described at
|
|---|
| 180 | http://teem.sourceforge.net/lgpl.html. Moreover, in order to further
|
|---|
| 181 | increase the legal safety and practical simplicity, most external
|
|---|
| 182 | libraries that are under the LGPL are linked to the Cafu executables
|
|---|
| 183 | only dynamically.
|
|---|
| 184 |
|
|---|
| 185 | In summary, using the external libraries with your own (custom licensed)
|
|---|
| 186 | product is very easy: As we have already prepared all about dialogs and
|
|---|
| 187 | texts in Cafu accordingly, you just have to add a copy of the libraries
|
|---|
| 188 | list in section 3 to the documentation of your program. Done.
|
|---|
| 189 |
|
|---|
| 190 |
|
|---|
| 191 | ---------------------------------------------------------------------
|
|---|
| 192 | b) Are the external libraries are optional?
|
|---|
| 193 | Can they be replaced or omitted?
|
|---|
| 194 | ---------------------------------------------------------------------
|
|---|
| 195 |
|
|---|
| 196 | Yes, most of the external libraries are optional, and (thanks to the
|
|---|
| 197 | modular design of Cafu) it is easy to omit many of them entirely or to
|
|---|
| 198 | replace them with alternatives.
|
|---|
| 199 |
|
|---|
| 200 | Some of the most important examples are listed below. Replacing other
|
|---|
| 201 | libraries that are not mentioned here is possible, too, please contact
|
|---|
| 202 | us for details.
|
|---|
| 203 |
|
|---|
| 204 | "NVidia Cg" - replaced by renderers based on pure OpenGL. Replacement is
|
|---|
| 205 | very easy, because OpenGL-only renderers already ship with Cafu, ready
|
|---|
| 206 | out-of-the-box.
|
|---|
| 207 |
|
|---|
| 208 | "FMOD" - replaced by sound systems based on pure OpenAL. Replacement is
|
|---|
| 209 | very easy, because OpenAL-only sound system implementations already ship
|
|---|
| 210 | with Cafu, ready out-of-the-box (in fact, our OpenAL SoundSys
|
|---|
| 211 | implementations are now the default).
|
|---|
| 212 |
|
|---|
| 213 | "Bullet Physics" - can be replaced against any other physics library,
|
|---|
| 214 | e.g. Havok or PhysX. Replacement requires some coding (easy).
|
|---|
| 215 |
|
|---|
| 216 | "mpg123" - used for .mp3 music file playback. Easily omitted, because
|
|---|
| 217 | Cafu already ships with the Ogg Vorbis alternative, ready out-of-the-
|
|---|
| 218 | box.
|
|---|