[Open Source] Quakeiii (Raytheon Hammer 3) Source Code

Source: http://www.down100.cn/Item/53590.aspx

Download address: http://www.down100.cn/common/showdownloadurl.aspx? URLID = 0 & id = 53590

Note: The login window of “Visual Source Safe Login” may appear when running, if you do not change the default setting, you can enter the following message login.

Username: admin

Password empty

Database: Common

Attached to: Visual Source Safe Introduction Http://topic.csdn.net/t/20020126/13/500645.html

Quake III Arena GPL Source Release

==================================

This File Contains The Following Sections:

License

General Notes

Compiableing on Win32

Compiable on GNU / Linux

Compiable on Mac

License

=======

See Copying.txt for the gnu general public license

Some Source Code in this Release is not covered by the GPL:

Io on .zip files using portions of zlib

————————————————— —————————

Lines file (s)

4299 code / qcommon / unzip.c

4546 LIBS / PAK / Unzip.cpp

Copyright (c) 1998 Gilles Vollant

Zlib Is Copyright (C) 1995-1998 Jean-Loup Gailly and Mark Adler

This Software Is Provided ‘As-Is’, WithOut Any Express or Implied

Warranty. in no Event will the authors beh held liable for Any Damages

Arising from the use of this software.

Permission is granted to anyyone to use this software for any purpose,

Including Commercial Applications, And to ALTER IT and Redistribute IT

Freely, Subject To The Following Restrictions:

1. The Origin of this Software Must Not Be misrepresented; You Must NOT

Claim that You Wrote the Original Software. if Use this software

IN A Product, An Acknowledgment In The Product Documentation Would Be

Appreciated but is not required.

2. Altered Source Versions Must Be Plainly Marked As Such, And Must Not Be

Misrepresented as being the Original Software.

3. This Notice May Not Be Removed or Altered from Any Source Distribution.

MD4 Message-Digest Algorithm ——————————————– ——————————–

Lines file (s)

299 code / qcommon / md4.c

277 Common / MD4.c

Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All Rights Reserved.

License To Copy and Use this Software Is Grand Provided That IT ITENTIFIED

As The RSA Data Security, Inc. MD4 Message-Digest Algorithm in All Mater

IAL MENTIONINGOR REFERENCING THIS SOFTWARE ORIOR

License Is Also Grand To Make and Use DeriVative Works Provided That Such Work

S Are Identified AS Derived from The RSA Data Security, Inc. MD4 Message-Dig

Est Algorithm in All Material Menting or Referencing The Derived Work.

RSA Data Security, Inc. makes no representations concerning Either the merchanta

Bility of this Software or the suitability of this software for any particular p

Urpose. it is provided as IS without express or import Warranty of Any

Kind.

Checksums Are Used to Validate Pak Files

Standard C Library Replacement Routines

————————————————— —————————

Lines file (s)

1324 Code / Game / BG_LIB.c

CopyRight (C) 1992, 1993

The Regents of The University of California. All Rights Reserved.

Redistribution and use in source and binary forms, with or welch

Modification, Are Permitted Provided That The Following Conditions

Are Met:

1. Redistributions of Source Code Must Retain The Above Copyright

Notice, this List of conditions and the folly network disclaim.

2. Redistributions in Binary Form Must Reproduce The Above Copyright

Notice, this List of conditions and the folowing disclaimer in the

Documentation and / or other materialials provided with the distribution.3. All adventising material moutioning features or use of this Software

Must Display The Following Acknowledge:

This Product Includes Software Developed by the University of

California, Berkeley and ITS Contributors.

4. Neither the name of the university 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 regents and controls “ 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 Regents 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 (include NEGLIGENCE OTHERWISE) ARISING IN ANY WAY

Out of the use of this software, EVEN IF Advised of the Possibility OF

Such Damage.

ADPCM CODER / DECODER

————————————————— —————————

Lines file (s)

330 Code / Client / SND_ADPCM.C

Copyright 1992 by Stichting Mathematisch Centrum, Amsterdam, THE

Netherlands.

All Rights Reserved

Permission to use, copy, modify, and distribute this software and ing

Documentation for Any Purpose and with wels Fee is hereby granted,

Provided That The Above Copyright Notice Appear in All Copies and That

both that copyright notice and this permission notice appear insupporting documentation, and that the names of Stichting Mathematisch

Centrum or CWI not be used in advertising or publicity pertaining to

distribution of the software without specific, written prior permission.

STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO

THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND

FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE

FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES

WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN

ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT

OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

JPEG library

————————————————— —————————

code / jpeg-6

libs / jpeg6

Copyright (C) 1991-1995, Thomas G. Lane

Permission is hereby granted to use, copy, modify, and distribute this

software (or portions thereof) for any purpose, without fee, subject to these

conditions:

(1) If any part of the source code for this software is distributed, then this

README file must be included, with this copyright and no-warranty notice

unaltered; and any additions, deletions, or changes to the original files

must be clearly indicated in accompanying documentation.

(2) If only executable code is distributed, then the accompanying

documentation must state that “this software is based in part on the work of

the Independent JPEG Group “.

(3) Permission for use of this software is granted only if the user accepts

full responsibility for any undesirable consequences; the authors accept

NO LIABILITY for damages of any kind.

THESE CONDitions Apply To any Software Derived from Or Based On The ijg code, not just to the unmodified library. If you use our work, you ought to

Acknowledge us.

Note: unfortunately the readme That Came with our copy of the library HAS

Been Lost, So The One from Release 6B is include INSTEAD. There Are A Few

‘Glue Type’ Modifications to The Library To Make It Easier To Use from

The Engine, But Otherwise The Dependency Can Be Easily Clealed Up to a

Better Release of the library.

General Notes

=============

A Short Summary of the File Layout:

Code / Quake III Arena Source Code (RENDERER, GAME CODE, OS LAYER ETC.)

Code / BSPC Bot Routes Compiler Source Code

LCC / The Retargetable C Compiler (Produces Assembly to Be Turned Into QVM Bytecode by Q3ASM)

Q3ASM / askEMBLY TO QVM Bytecode Compiler

Q3Map / Map Compiler (.map -> .bsp) – this is the version That Comes with q3radiant 200f

Q3radiant / Q3radiant Map Editor Build 200f (Common / and Libs / Are Support Dirs for Radiant)

While we made sure we were still able to compile the game on Windows, GNU / Linux and Mac, this build did not 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.

Compiableing on Win32

==================

VC7 / Visual C ++ 2003 Project Files Are Provided:

Code / quake3.sln

Q3radiant / radiant.sln

To Compile The QVMS, you need to run some batch files:

You will need to have lcc.exe q3cpp.exe q3rcc.exe and q3asm.exe in Your Path (Some Precompiled binaries are provided in LCC / BIN AND CODE / WIN32 / MOD-SDK-SETUP / BIN)

The QVM Batch Files Are In Code / Game CGAME CODE / Q3_UI CODE / UI..

Compiable on GNU / Linux

==================

The Build System Using Cons, Which May Be Known As Scons’s Perl Anncestor Now

You don’t have to TRACK IT Down Though, The Build Script is provided in The Tree

You Will Need NASM and GCC 2.95

Make Sure You Have The X Direct Graphics Access and X Video Mode Extensions Headers for your x11

A Typical Compile Command Goes Like this:

[..] / code $ ./unix/cons – GCC = GCC-2.95 G ++ = G ++ – 2.95

Compiable on Mac

=================

Project file for osx compile is in code / macOSX / quake3.pbproj