This commit is contained in:
Joseph Carter 2000-03-24 11:25:06 +00:00
parent 022803757a
commit 88f637963a
24 changed files with 561 additions and 412 deletions

View file

@ -1,29 +1,36 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_aclip.c
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or clip routines for drawing Alias models directly to the screen
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_aclip.c: clip routines for drawing Alias models directly to the screen
#include "quakedef.h" #include <quakedef.h>
#include "r_local.h" #include <r_local.h>
#include "d_local.h" #include <d_local.h>
static finalvert_t fv[2][8]; static finalvert_t fv[2][8];
static auxvert_t av[8]; static auxvert_t av[8];

View file

@ -1,33 +1,37 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_aliasa.s
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or x86 assembly-language Alias model transform and project code.
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
//
// r_aliasa.s
// x86 assembly-language Alias model transform and project code.
//
#include "asm_i386.h" #include <asm_i386.h>
#include "quakeasm.h" #include <quakeasm.h>
#include "asm_draw.h" #include <asm_draw.h>
#include "d_ifacea.h" #include <d_ifacea.h>
#if id386 #if id386

View file

@ -1,24 +1,31 @@
/* /*
r_alias.c - routines for setting up to draw alias models r_alias.c
Copyright (C) 1996-1997 Id Software, Inc.
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or routines for setting up to draw alias models
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
#include <quakedef.h> #include <quakedef.h>

View file

@ -1,33 +1,37 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_aliasa.s
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors x86 assembly-language Alias model transform and project code.
This program is free software; you can redistribute it and/or Copyright (C) 1996-1997 Id Software, Inc.
modify it under the terms of the GNU General Public License Copyright (C) 1999,2000 contributors of the QuakeForge project
as published by the Free Software Foundation; either version 2 Please see the file "AUTHORS" for a list of contributors
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is free software; you can redistribute it and/or
but WITHOUT ANY WARRANTY; without even the implied warranty of modify it under the terms of the GNU General Public License
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details. 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.
You should have received a copy of the GNU General Public License See the GNU General Public License for more details.
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
//
// r_aliasa.s
// x86 assembly-language Alias model transform and project code.
//
#include "asm_i386.h" #include <asm_i386.h>
#include "quakeasm.h" #include <quakeasm.h>
#include "asm_draw.h" #include <asm_draw.h>
#include "d_ifacea.h" #include <d_ifacea.h>
#if id386 #if id386

View file

@ -1,28 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_bsp.c
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_bsp.c
#include "quakedef.h" #include <quakedef.h>
#include "r_local.h" #include <r_local.h>
#include <mathlib.h> #include <mathlib.h>
#include <sys.h> #include <sys.h>
#include <console.h> #include <console.h>

View file

@ -1,29 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_draw.c
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_draw.c #include <quakedef.h>
#include <r_local.h>
#include "quakedef.h"
#include "r_local.h"
#include <mathlib.h> #include <mathlib.h>
#define MAXLEFTCLIPEDGES 100 #define MAXLEFTCLIPEDGES 100

View file

@ -1,33 +1,37 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_drawa.s
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or x86 assembly-language edge clipping and emission code
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
//
// r_drawa.s
// x86 assembly-language edge clipping and emission code
//
#include "asm_i386.h" #include <asm_i386.h>
#include "quakeasm.h" #include <quakeasm.h>
#include "asm_draw.h" #include <asm_draw.h>
#include "d_ifacea.h" #include <d_ifacea.h>
#if id386 #if id386

View file

@ -1,28 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_edge.c
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_edge.c
#include "quakedef.h" #include <quakedef.h>
#include "r_local.h" #include <r_local.h>
#include <sound.h> #include <sound.h>
#include <cvars.h> #include <cvars.h>

View file

@ -1,32 +1,36 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_edgea.s
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or x86 assembly-language edge-processing code.
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
//
// r_edgea.s
// x86 assembly-language edge-processing code.
//
#include "asm_i386.h" #include <asm_i386.h>
#include "quakeasm.h" #include <quakeasm.h>
#include "asm_draw.h" #include <asm_draw.h>
#if id386 #if id386

View file

@ -1,28 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_efrag.c
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_efrag.c
#include "quakedef.h" #include <quakedef.h>
#include "r_local.h" #include <r_local.h>
#include <console.h> #include <console.h>
#include <mathlib.h> #include <mathlib.h>
#include <sys.h> #include <sys.h>

View file

@ -1,28 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_light.c
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_light.c
#include "quakedef.h" #include <quakedef.h>
#include "r_local.h" #include <r_local.h>
#include <mathlib.h> #include <mathlib.h>
int r_dlightframecount; int r_dlightframecount;

View file

@ -1,24 +1,31 @@
/* /*
r_local.h - private refresh defs r_local.h
Copyright (C) 1996-1997 Id Software, Inc.
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or private refresh defs
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */

View file

@ -1,24 +1,31 @@
/* /*
r_main.c r_main.c
Copyright (C) 1996-1997 Id Software, Inc.
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
#include <quakedef.h> #include <quakedef.h>

View file

@ -1,25 +1,32 @@
/* /*
r_misc.c r_misc.c
Copyright (C) 1996-1997 Id Software, Inc.
Portions Copyright (C) 1999,2000 Nelson Rush.
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 Nelson Rush.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
#include <quakedef.h> #include <quakedef.h>

View file

@ -1,24 +1,32 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_part.c
Portions Copyright (C) 1999,2000 Nelson Rush.
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 Nelson Rush.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
#include <quakedef.h> #include <quakedef.h>

View file

@ -1,34 +1,41 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_shared.h
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or general refresh-related stuff shared between the refresh and the
modify it under the terms of the GNU General Public License driver
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_shared.h: general refresh-related stuff shared between the refresh and the
// driver
// FIXME: clean up and move into d_iface.h // FIXME: clean up and move into d_iface.h
#ifndef _R_SHARED_H_ #ifndef _R_SHARED_H_
#define _R_SHARED_H_ #define _R_SHARED_H_
#include "qtypes.h" #include <qtypes.h>
#include "d_iface.h" #include <d_iface.h>
#define MAXVERTS 16 // max points in a surface polygon #define MAXVERTS 16 // max points in a surface polygon
#define MAXWORKINGVERTS (MAXVERTS+4) // max points in an intermediate #define MAXWORKINGVERTS (MAXVERTS+4) // max points in an intermediate

View file

@ -1,29 +1,36 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_sky.c
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_sky.c
#include "quakedef.h" #include <quakedef.h>
#include "r_local.h" #include <r_local.h>
#include "d_local.h" #include <d_local.h>
#include <mathlib.h> #include <mathlib.h>

View file

@ -1,28 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_sprite.c
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_sprite.c
#include "quakedef.h" #include <quakedef.h>
#include "r_local.h" #include <r_local.h>
#include <mathlib.h> #include <mathlib.h>
#include <lib_replace.h> #include <lib_replace.h>
#include <console.h> #include <console.h>

View file

@ -1,24 +1,31 @@
/* /*
r_surf.c - surface-related refresh code r_surf.c
Copyright (C) 1996-1997 Id Software, Inc.
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or surface-related refresh code
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
#include <quakedef.h> #include <quakedef.h>

View file

@ -1,27 +1,34 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_vars.c
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or global refresh variables
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
// r_vars.c: global refresh variables
#include "quakedef.h" #include <quakedef.h>
#if !id386 #if !id386

View file

@ -1,32 +1,37 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. r_varsa.s
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 contributors of the QuakeForge project
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please see the file "AUTHORS" for a list of contributors
See the GNU General Public License for more details. This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License This program is distributed in the hope that it will be useful,
along with this program; if not, write to the Free Software but WITHOUT ANY WARRANTY; without even the implied warranty of
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
//
// r_varsa.s
//
#include "asm_i386.h" #include <asm_i386.h>
#include "quakeasm.h" #include <quakeasm.h>
#include "asm_draw.h" #include <asm_draw.h>
#include "d_ifacea.h" #include <d_ifacea.h>
#if id386 #if id386

View file

@ -3,7 +3,6 @@
Check for registered version of Quake data files Check for registered version of Quake data files
Copyright (C) 1996-1997 Id Software, Inc.
Copyright (C) 1999,2000 contributors of the QuakeForge project Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors Please see the file "AUTHORS" for a list of contributors
@ -24,16 +23,17 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program; if not, write to: along with this program; if not, write to:
Free Software Foundation, Inc. Free Software Foundation, Inc.
59 Temple Place - Suite 330 59 Temple Place - Suite 330
Boston, MA 02111-1307, USA Boston, MA 02111-1307, USA
$Id$
*/ */
#include "cvar.h" #include <cvar.h>
#include "quakefs.h" #include <quakefs.h>
#include "quakedef.h" #include <quakedef.h>
//cvar_t registered = {"registered", "0"};
cvar_t *registered; cvar_t *registered;
/* /*
@ -43,11 +43,10 @@ cvar_t *registered;
and set the "registered" cvar to 1 if found. and set the "registered" cvar to 1 if found.
*/ */
void void
register_check ( void ) { register_check ( void )
{
QFile *h; QFile *h;
// Cvar_RegisterVariable (&registered);
registered = Cvar_Get ("registered","0",0,"None"); registered = Cvar_Get ("registered","0",0,"None");
COM_FOpenFile("gfx/pop.lmp", &h); COM_FOpenFile("gfx/pop.lmp", &h);

View file

@ -1,23 +1,33 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. register_check.h
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1999,2000 contributors of the QuakeForge project
but WITHOUT ANY WARRANTY; without even the implied warranty of Please see the file "AUTHORS" for a list of contributors
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details. Author: Zephaniah E. Hull
Date: 03 Jan 2000
You should have received a copy of the GNU General Public License This program is free software; you can redistribute it and/or
along with this program; if not, write to the Free Software modify it under the terms of the GNU General Public License
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. as published by the Free Software Foundation; either version 2
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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
#ifndef _REGISTER_CHECK_H #ifndef _REGISTER_CHECK_H

View file

@ -1,24 +1,31 @@
/* /*
render.h - public interface to both GL and software renderers render.h
Copyright (C) 1996-1997 Id Software, Inc.
Copyright (C) 1999,2000 contributors of the QuakeForge project public interface to both GL and software renderers
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or Copyright (C) 1996-1997 Id Software, Inc.
modify it under the terms of the GNU General Public License Copyright (C) 1999,2000 contributors of the QuakeForge project
as published by the Free Software Foundation; either version 2 Please see the file "AUTHORS" for a list of contributors
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is free software; you can redistribute it and/or
but WITHOUT ANY WARRANTY; without even the implied warranty of modify it under the terms of the GNU General Public License
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details. 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.
You should have received a copy of the GNU General Public License See the GNU General Public License for more details.
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/ */
#ifndef _RENDER_H #ifndef _RENDER_H