Almost there...

This commit is contained in:
Joseph Carter 2000-03-24 13:34:14 +00:00
parent 0e457bf091
commit 6caab157b1
22 changed files with 533 additions and 315 deletions

View file

@ -1,3 +1,32 @@
#!/usr/bin/make -f
# common/Makefile.in
#
# common makefile
#
# 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
# 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,
# 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$
######################################################################## ########################################################################
# #
# Quake general stuff # Quake general stuff

View file

@ -1,31 +1,35 @@
/* /*
qargs.c - command line argument processing routines qargs.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 command line argument processing 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 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>
#ifdef HAVE_MALLOC_H /* QF being compiled with -Werror */
# include <malloc.h> /* causes OpenBSD's build to fail here */
#endif
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include <stdlib.h> #include <stdlib.h>
@ -37,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <console.h> #include <console.h>
#include <client.h> #include <client.h>
#include <assert.h> #include <assert.h>
#include "lib_replace.h" #include <lib_replace.h>
usercmd_t nullcmd; // guarenteed to be zero usercmd_t nullcmd; // guarenteed to be zero
@ -52,7 +56,6 @@ static char *safeargvs[] =
int com_argc; int com_argc;
char **com_argv; char **com_argv;
char *com_cmdline; char *com_cmdline;
//cvar_t cmdline = {"cmdline","0", false, true};
cvar_t *cmdline; cvar_t *cmdline;
/* /*

View file

@ -1,30 +1,37 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. qargs.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$
*/ */
// comndef.h -- general definitions
#ifndef _QARGS_H #ifndef _QARGS_H
#define _QARGS_H #define _QARGS_H
#include "qtypes.h" #include <qtypes.h>
extern int com_argc; extern int com_argc;
extern char **com_argv; extern char **com_argv;

View file

@ -1,24 +1,33 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. qdefs.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 _QDEFS_H #ifndef _QDEFS_H
#define _QDEFS_H #define _QDEFS_H

View file

@ -1,29 +1,35 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. qendian.c
Portions Copyright (C) 1999,2000 Nelson Rush.
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or (description)
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, Copyright (C) 1996-1997 Id Software, Inc.
but WITHOUT ANY WARRANTY; without even the implied warranty of Copyright (C) 1999,2000 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$
*/ */
// common.c -- misc functions used in client and server
#include <ctype.h> #include <ctype.h>
#include "qtypes.h" #include <qtypes.h>
/* /*
============================================================================ ============================================================================

View file

@ -1,25 +1,32 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. qendian.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$
*/ */
// comndef.h -- general definitions
#ifndef _QENDIAN_H #ifndef _QENDIAN_H
#define _QENDIAN_H #define _QENDIAN_H

View file

@ -1,24 +1,31 @@
/* /*
qstructs.h - common structures qstructs.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 structures
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 _QSTRUCTS_H #ifndef _QSTRUCTS_H
#define _QSTRUCTS_H #define _QSTRUCTS_H

View file

@ -1,24 +1,33 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. qtypes.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 _QTYPES_H #ifndef _QTYPES_H
#define _QTYPES_H #define _QTYPES_H

View file

@ -1,27 +1,32 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. quakeasm.h
Copyright (C) 1999,2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
This program is free software; you can redistribute it and/or general asm header file
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$
*/ */
//
// quakeasm.h: general asm header file
//
#ifdef _WIN32 #ifdef _WIN32
#define __i386__ 1 #define __i386__ 1

View file

@ -1,28 +1,35 @@
/* /*
quakedef.h - primary header for client 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 primary header for client
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 _QW_COMMON_QUAKEDEF_H #ifndef _QUAKEDEF_H
#define _QW_COMMON_QUAKEDEF_H #define _QUAKEDEF_H
#include <common_quakedef.h> #include <common_quakedef.h>
@ -50,4 +57,4 @@ void Chase_Init (void);
void Chase_Reset (void); void Chase_Reset (void);
void Chase_Update (void); void Chase_Update (void);
#endif /* _QW_COMMON_QUAKEDEF_H */ #endif /* _QUAKEDEF_H */

View file

@ -1,28 +1,35 @@
/* /*
quakefs.c - virtual filesystem functions quakefs.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 virtual filesystem functions
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 <ctype.h> #include <ctype.h>
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>

View file

@ -1,31 +1,38 @@
/* /*
quakefs.h - quake virtual filesystem definitions quakefs.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 quake virtual filesystem 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 _QUAKEFS_H #ifndef _QUAKEFS_H
#define _QUAKEFS_H #define _QUAKEFS_H
#include "config.h"
#include "quakeio.h" #include <config.h>
#include <quakeio.h>
//============================================================================ //============================================================================

View file

@ -1,10 +1,40 @@
#include "config.h" /*
quakeio.c
(description)
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
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,
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 <config.h>
#ifdef HAVE_MALLOC_H #ifdef HAVE_MALLOC_H
#include <malloc.h> #include <malloc.h>
#endif #endif
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
#include "quakeio.h" #include <quakeio.h>
#ifdef WIN32 #ifdef WIN32
#include <io.h> #include <io.h>
#include <fcntl.h> #include <fcntl.h>

View file

@ -1,9 +1,38 @@
/*
quakeio.h
(description)
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
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,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifndef __quake_io_h #ifndef __quake_io_h
#define __quake_io_h #define __quake_io_h
#include <stdio.h> #include <stdio.h>
#include "config.h" #include <config.h>
#ifdef HAS_ZLIB #ifdef HAS_ZLIB
#include <zlib.h> #include <zlib.h>
#else #else

View file

@ -1,33 +1,40 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. wad.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$
*/ */
// wad.c
#include "qtypes.h" #include <qtypes.h>
#include "quakedef.h" #include <quakedef.h>
#include "wad.h" #include <wad.h>
#include "quakefs.h" #include <quakefs.h>
#include "qendian.h" #include <qendian.h>
#include "sys.h" #include <sys.h>
#include "console.h" #include <console.h>
int wad_numlumps; int wad_numlumps;
lumpinfo_t *wad_lumps; lumpinfo_t *wad_lumps;

View file

@ -1,25 +1,32 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. wad.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$
*/ */
// wad.h
#ifndef _WAD_H #ifndef _WAD_H
#define _WAD_H #define _WAD_H

View file

@ -1,25 +1,32 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. winquake.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 Win32-specific Quake header file
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$
*/ */
// winquake.h: Win32-specific Quake header file
#ifdef _WIN32 #ifdef _WIN32
#pragma warning( disable : 4229 ) // mgraph gets this #pragma warning( disable : 4229 ) // mgraph gets this

View file

@ -1,24 +1,31 @@
/* /*
world.c - world query functions world.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 world query functions
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 @@
/* /*
world.h world.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 _WORLD_H #ifndef _WORLD_H

View file

@ -1,31 +1,37 @@
/* /*
Copyright (C) 1996-1997 Id Software, Inc. worlda.s
This program is free software; you can redistribute it and/or x86 assembly-language server testing stuff
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$
*/ */
//
// worlda.s
// x86 assembly-language server testing stuff
//
#define GLQUAKE 1 // don't include unneeded defs #define GLQUAKE 1 // don't include unneeded defs
#include "asm_i386.h" #include <asm_i386.h>
#include "quakeasm.h" #include <quakeasm.h>
#include "d_ifacea.h" #include <d_ifacea.h>
#if id386 #if id386

View file

@ -1,24 +1,31 @@
/* /*
// zone.c zone.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 <qtypes.h> #include <qtypes.h>

View file

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