The very first bit of the boiler cleanup (a-d in common) More where this

came from as soon as I actually finish doing it since it has to be done by
hand to preserve Copyright notices and file descriptions.
This commit is contained in:
Joseph Carter 2000-03-24 09:08:39 +00:00
parent b21783fa86
commit 7df744f9e9
68 changed files with 1556 additions and 1091 deletions

View file

@ -1,25 +1,32 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. adivtab.-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 table of quotients and remainders for [-15...16] / [-15...16]
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$
*/ */
// table of quotients and remainders for [-15...16] / [-15...16]
// numerator = -15 // numerator = -15
{1, 0}, {1, 0},

View file

@ -1,23 +1,31 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. anorm_dots.-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$
*/ */
{ {
{1.23,1.30,1.47,1.35,1.56,1.71,1.37,1.38,1.59,1.60,1.79,1.97,1.88,1.92,1.79,1.02,0.93,1.07,0.82,0.87,0.88,0.94,0.96,1.14,1.11,0.82,0.83,0.89,0.89,0.86,0.94,0.91,1.00,1.21,0.98,1.48,1.30,1.57,0.96,1.07,1.14,1.60,1.61,1.40,1.37,1.72,1.78,1.79,1.93,1.99,1.90,1.68,1.71,1.86,1.60,1.68,1.78,1.86,1.93,1.99,1.97,1.44,1.22,1.49,0.93,0.99,0.99,1.23,1.22,1.44,1.49,0.89,0.89,0.97,0.91,0.98,1.19,0.82,0.76,0.82,0.71,0.72,0.73,0.76,0.79,0.86,0.83,0.72,0.76,0.76,0.89,0.82,0.89,0.82,0.89,0.91,0.83,0.96,1.14,0.97,1.40,1.19,0.98,0.94,1.00,1.07,1.37,1.21,1.48,1.30,1.57,1.61,1.37,0.86,0.83,0.91,0.82,0.82,0.88,0.89,0.96,1.14,0.98,0.87,0.93,0.94,1.02,1.30,1.07,1.35,1.38,1.11,1.56,1.92,1.79,1.79,1.59,1.60,1.72,1.90,1.79,0.80,0.85,0.79,0.93,0.80,0.85,0.77,0.74,0.72,0.77,0.74,0.72,0.70,0.70,0.71,0.76,0.73,0.79,0.79,0.73,0.76,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00}, {1.23,1.30,1.47,1.35,1.56,1.71,1.37,1.38,1.59,1.60,1.79,1.97,1.88,1.92,1.79,1.02,0.93,1.07,0.82,0.87,0.88,0.94,0.96,1.14,1.11,0.82,0.83,0.89,0.89,0.86,0.94,0.91,1.00,1.21,0.98,1.48,1.30,1.57,0.96,1.07,1.14,1.60,1.61,1.40,1.37,1.72,1.78,1.79,1.93,1.99,1.90,1.68,1.71,1.86,1.60,1.68,1.78,1.86,1.93,1.99,1.97,1.44,1.22,1.49,0.93,0.99,0.99,1.23,1.22,1.44,1.49,0.89,0.89,0.97,0.91,0.98,1.19,0.82,0.76,0.82,0.71,0.72,0.73,0.76,0.79,0.86,0.83,0.72,0.76,0.76,0.89,0.82,0.89,0.82,0.89,0.91,0.83,0.96,1.14,0.97,1.40,1.19,0.98,0.94,1.00,1.07,1.37,1.21,1.48,1.30,1.57,1.61,1.37,0.86,0.83,0.91,0.82,0.82,0.88,0.89,0.96,1.14,0.98,0.87,0.93,0.94,1.02,1.30,1.07,1.35,1.38,1.11,1.56,1.92,1.79,1.79,1.59,1.60,1.72,1.90,1.79,0.80,0.85,0.79,0.93,0.80,0.85,0.77,0.74,0.72,0.77,0.74,0.72,0.70,0.70,0.71,0.76,0.73,0.79,0.79,0.73,0.76,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00},

View file

@ -1,23 +1,31 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. anorms.-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$
*/ */
#ifdef WIN32 #ifdef WIN32
#pragma warning(disable:4305) #pragma warning(disable:4305)

View file

@ -1,24 +1,31 @@
/* /*
asm_draw.h - asm drawing routines asm_draw.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 asm drawing routines
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,23 +1,31 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. asm_i386.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) 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$
*/ */
#ifndef __ASM_I386__ #ifndef __ASM_I386__

View file

@ -1,24 +1,33 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. block16.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) 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$
*/ */
LEnter16_16: LEnter16_16:
movb (%esi),%al movb (%esi),%al
movb (%esi,%ebx,),%cl movb (%esi,%ebx,),%cl

View file

@ -1,24 +1,33 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. block8.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) 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$
*/ */
LEnter16_8: LEnter16_8:
movb (%esi),%al movb (%esi),%al
movb (%esi,%ebx,),%cl movb (%esi,%ebx,),%cl

View file

@ -1,24 +1,31 @@
/* /*
bothdefs.h - defs common to qw client and server bothdefs.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 defs common to qw client and server
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,23 +1,31 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. bspfile.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) 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$
*/ */
#ifndef _BSPFILE_H #ifndef _BSPFILE_H

View file

@ -1,21 +1,31 @@
/* /*
buildnum.c - build number (actually date) calculator buildnum.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 build number (actually date) calculator
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
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$
*/ */
#include <stdlib.h> #include <stdlib.h>

View file

@ -1,30 +1,36 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. cd_audio.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$
*/ */
// Quake is a trademark of Id Software, Inc., (c) 1996 Id Software, Inc. All
// rights reserved.
#include <dpmi.h> #include <dpmi.h>
#include "quakedef.h" #include <quakedef.h>
#include "dosisms.h" #include <dosisms.h>
extern cvar_t *bgmvolume; extern cvar_t *bgmvolume;

View file

@ -1,26 +1,32 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. cd_linux.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$
*/ */
// Quake is a trademark of Id Software, Inc., (c) 1996 Id Software, Inc. All
// rights reserved.
#include <qtypes.h> #include <qtypes.h>
#include <quakedef.h> #include <quakedef.h>

View file

@ -1,25 +1,34 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. cd_null.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$
*/ */
#include "quakedef.h"
#include <quakedef.h>
/* Fake out cd_wrapper.c so it doesn't define CD_f */ /* Fake out cd_wrapper.c so it doesn't define CD_f */
#define CD_f_DEFINED #define CD_f_DEFINED

View file

@ -1,23 +1,31 @@
/* /*
cd_sdl.c - SDL CD audio routines cd_sdl.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 SDL CD audio routines
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,28 +1,34 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. cd_win.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$
*/ */
// Quake is a trademark of Id Software, Inc., (c) 1996 Id Software, Inc. All
// rights reserved.
#include "quakedef.h" #include <quakedef.h>
#include <windows.h> #include <windows.h>
#ifdef HAVE_MMSYSTEM_H #ifdef HAVE_MMSYSTEM_H
# include <mmsystem.h> # include <mmsystem.h>

View file

@ -1,35 +1,43 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. cd_wrapper.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$
*/ */
#include "quakedef.h" #include <quakedef.h>
#include <lib_replace.h> #include <lib_replace.h>
#if defined(USE_LINUX_CD) || defined(USE_BSD_CD) #if defined(USE_LINUX_CD) || defined(USE_BSD_CD)
static void CD_f(void); static void CD_f(void);
# include "cd_linux.c" # include <cd_linux.c>
#elif defined(_WIN32) #elif defined(_WIN32)
# include "cd_win.c" # include <cd_win.c>
#else #else
# include "cd_null.c" # include <cd_null.c>
#endif #endif
#ifndef CD_f_DEFINED #ifndef CD_f_DEFINED

View file

@ -1,23 +1,31 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. cdaudio.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) 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$
*/ */
int CDAudio_Init(void); int CDAudio_Init(void);

View file

@ -1,24 +1,34 @@
/* /*
cl_cam.c - Player camera tracking in Spectator mode cl_cam.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 Player camera tracking in Spectator mode
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
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$
*/ */
/* ZOID /* ZOID
* *
* This takes over player controls for spectator automatic camera. * This takes over player controls for spectator automatic camera.

View file

@ -1,24 +1,31 @@
/* /*
cl_ents.c - entity parsing and management cl_ents.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 entity parsing and management
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 <qtypes.h> #include <qtypes.h>
@ -31,11 +38,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <cvars.h> #include <cvars.h>
#include <model.h> #include <model.h>
/*
extern cvar_t cl_predict_players;
extern cvar_t cl_predict_players2;
extern cvar_t cl_solid_players;
*/
extern cvar_t *cl_predict_players; extern cvar_t *cl_predict_players;
extern cvar_t *cl_predict_players2; extern cvar_t *cl_predict_players2;
extern cvar_t *cl_solid_players; extern cvar_t *cl_solid_players;

View file

@ -1,29 +1,33 @@
/* /*
cl.input.c - builds an intended movement command to send to the server cl.input.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 builds an intended movement command to send to the server
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$
*/ */
// Quake is a trademark of Id Software, Inc., (c) 1996 Id Software, Inc. All
// rights reserved.
#include <qtypes.h> #include <qtypes.h>
#include <client.h> #include <client.h>
#include <quakedef.h> #include <quakedef.h>

View file

@ -1,28 +1,35 @@
/* /*
cl_main.c - client main loop cl_main.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 client main loop
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$
*/ */
/* Will have problems with isspace() when comiling w/ gcc on SGI without this */ /* Will have problems w/ isspace() when compiling w/ gcc on SGI without this */
#ifdef sgi #ifdef sgi
#define _LINT #define _LINT
#define UNDEFINE_LINT #define UNDEFINE_LINT

View file

@ -1,24 +1,31 @@
/* /*
cl_tent.c - client side temporary entities cl_tent.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 client side temporary entities
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 <qtypes.h> #include <qtypes.h>

View file

@ -1,24 +1,31 @@
/* /*
client.h client.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 (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$
*/ */
#ifndef _CLIENT_H #ifndef _CLIENT_H

View file

@ -1,24 +1,31 @@
/* /*
cmd.c - Quake script command processing module cmd.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 Quake script command processing module
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 <common.h> #include <common.h>

View file

@ -1,24 +1,31 @@
/* /*
cmd.h - Command buffer and command execution cmd.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 Command buffer and command execution
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$
*/ */
#ifndef _CMD_H #ifndef _CMD_H

View file

@ -1,27 +1,35 @@
/* /*
common.c - misc functions used in client and server common.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 misc functions used in client and server
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 "config.h"
#include <config.h>
#include <quakedef.h> #include <quakedef.h>
#ifdef HAVE_STRING_H #ifdef HAVE_STRING_H

View file

@ -1,24 +1,31 @@
/* /*
common.h - general definitions common.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 general definitions
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$
*/ */
#ifndef _COMMON_H #ifndef _COMMON_H

View file

@ -1,22 +1,31 @@
/* /*
protocol.h - communications protocol (quake1) common_protocol.h
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or communications protocol (common elements)
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$
*/ */
#ifndef __common_protocol_h #ifndef __common_protocol_h

View file

@ -1,25 +1,33 @@
/* /*
common_quakedef.h - common header common_quakedef.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 common header
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$
*/ */
#ifndef _COMMON_QUAKEDEF_H #ifndef _COMMON_QUAKEDEF_H
#define _COMMON_QUAKEDEF_H #define _COMMON_QUAKEDEF_H

View file

@ -1,25 +1,32 @@
/* /*
console.c console.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 <qtypes.h> #include <qtypes.h>

View file

@ -1,23 +1,31 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. console.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) 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$
*/ */
#ifndef _CONSOLE_H #ifndef _CONSOLE_H

View file

@ -1,25 +1,32 @@
/* /*
context_x11.c - general x11 context layer. context_x11.c
Copyright (C) 1996-1997 Id Software, Inc.
Copyright (C) 1999-2000 contributors of the QuakeForge project
Copyright (C) 2000 Zephaniah E. Hull <warp@whitestar.soark.net>
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or general x11 context layer
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) 2000 Zephaniah E. Hull <warp@whitestar.soark.net>
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 <config.h> #include <config.h>

View file

@ -1,24 +1,31 @@
/* /*
input.h context_x11.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 (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$
*/ */
#ifndef __CONTEXT_X11_H__ #ifndef __CONTEXT_X11_H__

View file

@ -1,28 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. crc.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$
*/ */
/* crc.c */
#include <qtypes.h> #include <qtypes.h>
#include "crc.h" #include <crc.h>
// this is a 16 bit, non-reflected CRC using the polynomial 0x1021 // this is a 16 bit, non-reflected CRC using the polynomial 0x1021
// and the initial and final xor values shown below... in other words, the // and the initial and final xor values shown below... in other words, the

View file

@ -1,25 +1,32 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. crc.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) 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$
*/ */
/* crc.h */
void CRC_Init(unsigned short *crcvalue); void CRC_Init(unsigned short *crcvalue);
void CRC_ProcessByte(unsigned short *crcvalue, byte data); void CRC_ProcessByte(unsigned short *crcvalue, byte data);

View file

@ -1,25 +1,32 @@
/* /*
cvar.c - dynamic variable tracking cvar.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 dynamic variable tracking
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 <zone.h> #include <zone.h>

View file

@ -1,24 +1,31 @@
/* /*
cvar.h cvar.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 (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$
*/ */
#ifndef _CVAR_H #ifndef _CVAR_H

View file

@ -1,25 +1,32 @@
/* /*
Copyright (C) 1999,2000 contributors of the QuakeForge project cvars.c
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. 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>
//cvar_t gl_flashblend = {"gl_flashblend","1"};
cvar_t *gl_flashblend; cvar_t *gl_flashblend;

View file

@ -1,23 +1,31 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. cvars.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) 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$
*/ */
#ifndef _CVARS_H #ifndef _CVARS_H

View file

@ -1,29 +1,36 @@
/* /*
d_copy.s - x86 assembly-language screen copying code. d_copy.s
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 x86 assembly-language screen copying 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 "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
.data .data

View file

@ -1,33 +1,37 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_draw.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 horizontal 8-bpp span-drawing 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$
*/ */
//
// d_draw.s
// x86 assembly-language horizontal 8-bpp span-drawing 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,34 +1,38 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_draw16.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 horizontal 8-bpp span-drawing code, with
modify it under the terms of the GNU General Public License 16-pixel subdivision.
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$
*/ */
//
// d_draw16.s
// x86 assembly-language horizontal 8-bpp span-drawing code, with 16-pixel
// subdivision.
//
#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 @@
/* /*
d_edge.c d_edge.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,24 +1,31 @@
/* /*
d_fill.c - clears a specified rectangle to the specified color d_fill.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 clears a specified rectangle to the specified color
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 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_iface.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 interface header file for rasterization driver modules
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$
*/ */
// d_iface.h: interface header file for rasterization driver modules
#ifndef _D_IFACE_H #ifndef _D_IFACE_H
#define _D_IFACE_H #define _D_IFACE_H
@ -29,7 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define MAX_LBM_HEIGHT 200 #define MAX_LBM_HEIGHT 200
#include "model.h" #include <model.h>
typedef struct typedef struct
{ {

View file

@ -1,29 +1,32 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_ifacea.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 Include file for asm driver interface.
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$
*/ */
//
// d_ifacea.h
//
// Include file for asm driver interface.
//
// //
// !!! note that this file must match the corresponding C structures in // !!! note that this file must match the corresponding C structures in

View file

@ -1,28 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_init.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 rasterization driver initialization
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$
*/ */
// d_init.c: rasterization driver initialization
#include "quakedef.h" #include <quakedef.h>
#include "d_local.h" #include <d_local.h>
#include <cvar.h> #include <cvar.h>
#define NUM_MIPS 4 #define NUM_MIPS 4

View file

@ -1,27 +1,34 @@
/* /*
d_local.h - private rasterization driver defs d_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 rasterization driver 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$
*/ */
#include "r_shared.h" #include <r_shared.h>
// //
// TODO: fine-tune this; it's based on providing some overage even if there // TODO: fine-tune this; it's based on providing some overage even if there

View file

@ -1,28 +1,35 @@
/* /*
d_modech.c - called when mode has just changed d_modech.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 called when mode has just changed
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>
#include "d_local.h" #include <d_local.h>
#include <sys.h> #include <sys.h>
int d_vrectx, d_vrecty, d_vrectright_particle, d_vrectbottom_particle; int d_vrectx, d_vrecty, d_vrectright_particle, d_vrectbottom_particle;

View file

@ -1,29 +1,36 @@
/* /*
// d_part.c: software driver module for drawing particles d_part.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 software driver module for drawing particles
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>
#include "d_local.h" #include <d_local.h>
#include "mathlib.h" #include <mathlib.h>
/* /*
============== ==============

View file

@ -1,30 +1,37 @@
/* /*
d_parta.s - x86 assembly-language 8-bpp particle-drawing code. d_parta.s
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 x86 assembly-language 8-bpp particle-drawing 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 "asm_i386.h" #include <asm_i386.h>
#include "quakeasm.h" #include <quakeasm.h>
#include "d_ifacea.h" #include <d_ifacea.h>
#include "asm_draw.h" #include <asm_draw.h>
#if id386 #if id386

View file

@ -1,30 +1,37 @@
/* /*
d_polysa.s - x86 assembly-language polygon model drawing code d_polysa.s
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 x86 assembly-language polygon model drawing 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 "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,30 +1,37 @@
/* /*
d_polyset.c: routines for drawing sets of polygons sharing the same d_polyset.c
texture (used for Alias models)
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 drawing sets of polygons sharing the same texture
modify it under the terms of the GNU General Public License (used for Alias models)
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>
#include "r_local.h" #include <r_local.h>
#include "d_local.h" #include <d_local.h>
#include <mathlib.h> #include <mathlib.h>
// TODO: put in span spilling to shrink list size // TODO: put in span spilling to shrink list size

View file

@ -1,29 +1,36 @@
/* /*
d_scan.c - Portable C scan-level rasterization code, all pixel depths. d_scan.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 Portable C scan-level rasterization code, all pixel depths.
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>
#include "r_local.h" #include <r_local.h>
#include "d_local.h" #include <d_local.h>
unsigned char *r_turb_pbase, *r_turb_pdest; unsigned char *r_turb_pbase, *r_turb_pdest;
fixed16_t r_turb_s, r_turb_t, r_turb_sstep, r_turb_tstep; fixed16_t r_turb_s, r_turb_t, r_turb_sstep, r_turb_tstep;

View file

@ -1,30 +1,37 @@
/* /*
d_scana.s - x86 assembly-language turbulent texture mapping code d_scana.s
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 x86 assembly-language turbulent texture mapping 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 "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,29 +1,36 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_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$
*/ */
// d_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>
#define SKY_SPAN_SHIFT 5 #define SKY_SPAN_SHIFT 5

View file

@ -1,32 +1,36 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_spr8.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 horizontal 8-bpp transparent span-drawing 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$
*/ */
//
// d_spr8.s
// x86 assembly-language horizontal 8-bpp transparent span-drawing 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,29 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_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
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, software top-level rasterization driver module for drawing sprites
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. 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
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$
*/ */
// d_sprite.c: software top-level rasterization driver module for drawing
// sprites
#include "quakedef.h" #include <quakedef.h>
#include "d_local.h" #include <d_local.h>
#include <mathlib.h> #include <mathlib.h>
static int sprite_height; static int sprite_height;

View file

@ -1,29 +1,36 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_surf.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 rasterization driver surface heap manager
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$
*/ */
// d_surf.c: rasterization driver surface heap manager
#include "quakedef.h" #include <quakedef.h>
#include "d_local.h" #include <d_local.h>
#include "r_local.h" #include <r_local.h>
#include <console.h> #include <console.h>
#include <sys.h> #include <sys.h>
#include <lib_replace.h> #include <lib_replace.h>

View file

@ -1,29 +1,36 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_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
#if !id386 #if !id386
#include "quakedef.h" #include <quakedef.h>
// all global and static refresh variables are collected in a contiguous block // all global and static refresh variables are collected in a contiguous block
// to avoid cache conflicts. // to avoid cache conflicts.

View file

@ -1,32 +1,37 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_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$
*/ */
//
// d_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

@ -1,28 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. d_zpoint.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 software driver module for drawing z-buffered points
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$
*/ */
// d_zpoint.c: software driver module for drawing z-buffered points
#include "quakedef.h" #include <quakedef.h>
#include "d_local.h" #include <d_local.h>
/* /*

View file

@ -3,8 +3,8 @@
Routines to check for XFree86 DGA and VidMode extensions Routines to check for XFree86 DGA and VidMode extensions
Copyright (C) 2000 Contributors of the QuakeForge Project
Copyright (C) 2000 Marcus Sundberg [mackan@stacken.kth.se] Copyright (C) 2000 Marcus Sundberg [mackan@stacken.kth.se]
Copyright (C) 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
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or
@ -23,7 +23,9 @@
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 <quakedef.h> #include <quakedef.h>
@ -36,7 +38,7 @@
#include <X11/extensions/xf86vmode.h> #include <X11/extensions/xf86vmode.h>
#endif #endif
#include "dga_check.h" #include <dga_check.h>
/* /*

View file

@ -3,8 +3,8 @@
Definitions for XFree86 DGA and VidMode support Definitions for XFree86 DGA and VidMode support
Copyright (C) 2000 Contributors of the QuakeForge Project
Copyright (C) 2000 Marcus Sundberg [mackan@stacken.kth.se] Copyright (C) 2000 Marcus Sundberg [mackan@stacken.kth.se]
Copyright (C) 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
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or
@ -23,7 +23,9 @@
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$
*/ */
#ifndef DGA_CHECK_H #ifndef DGA_CHECK_H

View file

@ -1,25 +1,34 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. dosasm.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$
*/ */
#include "asm_i386.h"
#include <asm_i386.h>
.data .data
fpenv: .long 0, 0, 0, 0, 0, 0, 0, 0 fpenv: .long 0, 0, 0, 0, 0, 0, 0, 0

View file

@ -1,27 +1,33 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. dosisms.h
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$
*/ */
//
// dosisms.h: I'd call it dos.h, but the name's taken
//
#ifndef _DOSISMS_H_ #ifndef _DOSISMS_H_
#define _DOSISMS_H_ #define _DOSISMS_H_

View file

@ -1,24 +1,31 @@
/* /*
draw.c - the only file outside the refresh that touches the vid buffer draw.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 the only file outside the refresh that touches the vid buffer
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 <qtypes.h> #include <qtypes.h>

View file

@ -1,24 +1,31 @@
/* /*
draw.h - functions outside the refresh allowed to touch the vid buffer draw.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 functions outside the refresh allowed to touch the vid buffer
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 <qtypes.h> #include <qtypes.h>