README.txt (9000B)
1 Quake III Arena GPL source release 2 ================================== 3 4 This file contains the following sections: 5 6 LICENSE 7 GENERAL NOTES 8 COMPILING ON WIN32 9 COMPILING ON GNU/LINUX 10 COMPILING ON MAC 11 12 LICENSE 13 ======= 14 15 See COPYING.txt for the GNU GENERAL PUBLIC LICENSE 16 17 Some source code in this release is not covered by the GPL: 18 19 IO on .zip files using portions of zlib 20 ----------------------------------------------------------------------------- 21 lines file(s) 22 4299 code/qcommon/unzip.c 23 4546 libs/pak/unzip.cpp 24 Copyright (C) 1998 Gilles Vollant 25 zlib is Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler 26 27 This software is provided 'as-is', without any express or implied 28 warranty. In no event will the authors be held liable for any damages 29 arising from the use of this software. 30 31 Permission is granted to anyone to use this software for any purpose, 32 including commercial applications, and to alter it and redistribute it 33 freely, subject to the following restrictions: 34 35 1. The origin of this software must not be misrepresented; you must not 36 claim that you wrote the original software. If you use this software 37 in a product, an acknowledgment in the product documentation would be 38 appreciated but is not required. 39 2. Altered source versions must be plainly marked as such, and must not be 40 misrepresented as being the original software. 41 3. This notice may not be removed or altered from any source distribution. 42 43 MD4 Message-Digest Algorithm 44 ----------------------------------------------------------------------------- 45 lines file(s) 46 299 code/qcommon/md4.c 47 277 common/md4.c 48 Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. 49 50 License to copy and use this software is granted provided that it is identified 51 as the <93>RSA Data Security, Inc. MD4 Message-Digest Algorithm<94> in all mater 52 ial mentioning or referencing this software or this function. 53 License is also granted to make and use derivative works provided that such work 54 s are identified as <93>derived from the RSA Data Security, Inc. MD4 Message-Dig 55 est Algorithm<94> in all material mentioning or referencing the derived work. 56 RSA Data Security, Inc. makes no representations concerning either the merchanta 57 bility of this software or the suitability of this software for any particular p 58 urpose. It is provided <93>as is<94> without express or implied warranty of any 59 kind. 60 61 checksums are used to validate pak files 62 63 standard C library replacement routines 64 ----------------------------------------------------------------------------- 65 lines file(s) 66 1324 code/game/bg_lib.c 67 Copyright (c) 1992, 1993 68 The Regents of the University of California. All rights reserved. 69 70 Redistribution and use in source and binary forms, with or without 71 modification, are permitted provided that the following conditions 72 are met: 73 1. Redistributions of source code must retain the above copyright 74 notice, this list of conditions and the following disclaimer. 75 2. Redistributions in binary form must reproduce the above copyright 76 notice, this list of conditions and the following disclaimer in the 77 documentation and/or other materials provided with the distribution. 78 3. All advertising materials mentioning features or use of this software 79 must display the following acknowledgement: 80 This product includes software developed by the University of 81 California, Berkeley and its contributors. 82 4. Neither the name of the University nor the names of its contributors 83 may be used to endorse or promote products derived from this software 84 without specific prior written permission. 85 86 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 87 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 88 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 89 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 90 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 91 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 92 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 93 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 94 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 95 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 96 SUCH DAMAGE. 97 98 ADPCM coder/decoder 99 ----------------------------------------------------------------------------- 100 lines file(s) 101 330 code/client/snd_adpcm.c 102 Copyright 1992 by Stichting Mathematisch Centrum, Amsterdam, The 103 Netherlands. 104 105 All Rights Reserved 106 107 Permission to use, copy, modify, and distribute this software and its 108 documentation for any purpose and without fee is hereby granted, 109 provided that the above copyright notice appear in all copies and that 110 both that copyright notice and this permission notice appear in 111 supporting documentation, and that the names of Stichting Mathematisch 112 Centrum or CWI not be used in advertising or publicity pertaining to 113 distribution of the software without specific, written prior permission. 114 115 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO 116 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 117 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE 118 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 119 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 120 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 121 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 122 123 JPEG library 124 ----------------------------------------------------------------------------- 125 code/jpeg-6 126 libs/jpeg6 127 Copyright (C) 1991-1995, Thomas G. Lane 128 129 Permission is hereby granted to use, copy, modify, and distribute this 130 software (or portions thereof) for any purpose, without fee, subject to these 131 conditions: 132 (1) If any part of the source code for this software is distributed, then this 133 README file must be included, with this copyright and no-warranty notice 134 unaltered; and any additions, deletions, or changes to the original files 135 must be clearly indicated in accompanying documentation. 136 (2) If only executable code is distributed, then the accompanying 137 documentation must state that "this software is based in part on the work of 138 the Independent JPEG Group". 139 (3) Permission for use of this software is granted only if the user accepts 140 full responsibility for any undesirable consequences; the authors accept 141 NO LIABILITY for damages of any kind. 142 143 These conditions apply to any software derived from or based on the IJG code, 144 not just to the unmodified library. If you use our work, you ought to 145 acknowledge us. 146 147 NOTE: unfortunately the README that came with our copy of the library has 148 been lost, so the one from release 6b is included instead. There are a few 149 'glue type' modifications to the library to make it easier to use from 150 the engine, but otherwise the dependency can be easily cleaned up to a 151 better release of the library. 152 153 154 GENERAL NOTES 155 ============= 156 157 A short summary of the file layout: 158 159 code/ Quake III Arena source code ( renderer, game code, OS layer etc. ) 160 code/bspc bot routes compiler source code 161 lcc/ the retargetable C compiler ( produces assembly to be turned into qvm bytecode by q3asm ) 162 q3asm/ assembly to qvm bytecode compiler 163 q3map/ map compiler ( .map -> .bsp ) - this is the version that comes with Q3Radiant 200f 164 q3radiant/ Q3Radiant map editor build 200f ( common/ and libs/ are support dirs for radiant ) 165 166 While we made sure we were still able to compile the game on Windows, GNU/Linux and Mac, this build didn't get any kind of extensive testing so it may not work completely right. Whenever an id game is released under GPL, several projects start making the source code more friendly to nowaday's compilers and environements. If you are picking up this release weeks/months/years after we uploaded it, you probably want to look around on the net for cleaned up versions of this codebase as well. 167 168 COMPILING ON WIN32 169 ================== 170 171 VC7 / Visual C++ 2003 project files are provided: 172 code/quake3.sln 173 q3radiant/Radiant.sln 174 175 To compile the qvms, you need to run some batch files: 176 you will need to have lcc.exe q3cpp.exe q3rcc.exe and q3asm.exe in your path 177 ( some precompiled binaries are provided in lcc/bin and code/win32/mod-sdk-setup/bin ) 178 the qvm batch files are in code/game code/cgame code/q3_ui code/ui .. 179 180 COMPILING ON GNU/LINUX 181 ================== 182 183 the build system using cons, which may be known as scons's perl ancestor now 184 you don't have to track it down though, the build script is provided in the tree 185 you will need nasm and gcc 2.95 186 make sure you have the X Direct Graphics Access and X Video Mode extensions headers for your X11 187 a typical compile command goes like this: 188 [..]/code$ ./unix/cons -- gcc=gcc-2.95 g++=g++-2.95 189 190 COMPILING ON MAC 191 ================ 192 193 project file for OSX compile is in code/macosx/Quake3.pbproj