mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-24 21:01:17 +00:00
more and more
This commit is contained in:
parent
88f637963a
commit
1688311e15
12 changed files with 301 additions and 215 deletions
|
@ -1,40 +1,50 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 1996-1997 Id Software, Inc.
|
keys.c
|
||||||
Copyright (C) 1999,2000 contributors of the QuakeForge project
|
|
||||||
Portions Copyright (C) 1999,2000 Nelson Rush.
|
|
||||||
Please see the file "AUTHORS" for a list of contributors
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
(description)
|
||||||
modify it under the terms of the GNU General Public License
|
|
||||||
as published by the Free Software Foundation; either version 2
|
|
||||||
of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
Copyright (C) 1996-1997 Id Software, Inc.
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
Copyright (C) 1999,2000 Nelson Rush.
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
Copyright (C) 1999,2000 contributors of the QuakeForge project
|
||||||
|
Please see the file "AUTHORS" for a list of contributors
|
||||||
|
|
||||||
See the GNU General Public License for more details.
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
This program is distributed in the hope that it will be useful,
|
||||||
along with this program; if not, write to the Free Software
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
$Id$
|
||||||
*/
|
*/
|
||||||
#include "quakedef.h"
|
|
||||||
#include "qtypes.h"
|
#include <quakedef.h>
|
||||||
#include "keys.h"
|
#include <qtypes.h>
|
||||||
#include "cmd.h"
|
#include <keys.h>
|
||||||
#include "cvar.h"
|
#include <cmd.h>
|
||||||
#include "client.h"
|
#include <cvar.h>
|
||||||
#include "lib_replace.h"
|
#include <client.h>
|
||||||
#include "console.h"
|
#include <lib_replace.h>
|
||||||
#include "menu.h"
|
#include <console.h>
|
||||||
#include "screen.h"
|
#include <menu.h>
|
||||||
#include "sys.h"
|
#include <screen.h>
|
||||||
|
#include <sys.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
key up events are sent even if in console mode
|
key up events are sent even if in console mode
|
||||||
|
|
|
@ -1,30 +1,37 @@
|
||||||
/*
|
/*
|
||||||
keys.h
|
keys.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 KEYS_H
|
#ifndef KEYS_H
|
||||||
#define KEYS_H
|
#define KEYS_H
|
||||||
|
|
||||||
#include "qtypes.h"
|
#include <qtypes.h>
|
||||||
#include "quakeio.h"
|
#include <quakeio.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// these are the key numbers that should be passed to Key_Event
|
// these are the key numbers that should be passed to Key_Event
|
||||||
|
|
|
@ -1,26 +1,32 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 1996-1997 Id Software, Inc.
|
lib_replace.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>
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,32 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 1996-1997 Id Software, Inc.
|
lib_replace.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 _LIB_REPLACE_H
|
#ifndef _LIB_REPLACE_H
|
||||||
#define _LIB_REPLACE_H
|
#define _LIB_REPLACE_H
|
||||||
|
|
|
@ -1,30 +1,35 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 1996-1997 Id Software, Inc.
|
math.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 math 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$
|
||||||
*/
|
*/
|
||||||
//
|
|
||||||
// math.s
|
|
||||||
// x86 assembly-language math routines.
|
|
||||||
|
|
||||||
#include "asm_i386.h"
|
#include <asm_i386.h>
|
||||||
#include "quakeasm.h"
|
#include <quakeasm.h>
|
||||||
|
|
||||||
|
|
||||||
#if id386
|
#if id386
|
||||||
|
|
|
@ -1,32 +1,39 @@
|
||||||
/*
|
/*
|
||||||
mathlib.c - math primitives
|
mathlib.c
|
||||||
Copyright (C) 1996-1997 Id Software, Inc.
|
|
||||||
Copyright (C) 1999,2000 contributors of the QuakeForge project
|
|
||||||
Portions Copyright (C) 1999,2000 Nelson Rush.
|
|
||||||
Please see the file "AUTHORS" for a list of contributors
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
math primitives
|
||||||
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 <math.h>
|
#include <math.h>
|
||||||
#include <qtypes.h>
|
#include <qtypes.h>
|
||||||
#include <quakedef.h>
|
#include <quakedef.h>
|
||||||
#include <mathlib.h>
|
#include <mathlib.h>
|
||||||
#include "model.h"
|
#include <model.h>
|
||||||
|
|
||||||
void Sys_Error (char *error, ...);
|
void Sys_Error (char *error, ...);
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,32 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 1996-1997 Id Software, Inc.
|
mathlib.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$
|
||||||
*/
|
*/
|
||||||
// mathlib.h
|
|
||||||
#ifndef _MATHLIB_H
|
#ifndef _MATHLIB_H
|
||||||
#define _MATHLIB_H
|
#define _MATHLIB_H
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,30 @@
|
||||||
/*
|
/*
|
||||||
Unix SMB/Netbios implementation.
|
mdfour.c
|
||||||
Version 1.9.
|
|
||||||
a implementation of MD4 designed for use in the SMB authentication protocol
|
|
||||||
Copyright (C) Andrew Tridgell 1997-1998.
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
an implementation of MD4 designed for use in the SMB authentication
|
||||||
it under the terms of the GNU General Public License as published by
|
protocol
|
||||||
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) 1997-1998 Andrew Tridgell
|
||||||
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
|
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., 675 Mass Ave, Cambridge, MA 02139, 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 <string.h> /* XoXus: needed for memset call */
|
#include <string.h> /* XoXus: needed for memset call */
|
||||||
|
@ -26,7 +34,7 @@
|
||||||
#endif // _UINT32_H
|
#endif // _UINT32_H
|
||||||
|
|
||||||
#ifndef _MDFOUR_H
|
#ifndef _MDFOUR_H
|
||||||
#include "mdfour.h"
|
#include <mdfour.h>
|
||||||
#endif // _MDFOUR_H
|
#endif // _MDFOUR_H
|
||||||
|
|
||||||
/* NOTE: This code makes no attempt to be fast!
|
/* NOTE: This code makes no attempt to be fast!
|
||||||
|
|
|
@ -1,22 +1,30 @@
|
||||||
/*
|
/*
|
||||||
Unix SMB/Netbios implementation.
|
mdfour.h
|
||||||
Version 1.9.
|
|
||||||
a implementation of MD4 designed for use in the SMB authentication protocol
|
|
||||||
Copyright (C) Andrew Tridgell 1997-1998.
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
an implementation of MD4 designed for use in the SMB authentication
|
||||||
it under the terms of the GNU General Public License as published by
|
protocol
|
||||||
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) Andrew Tridgell 1997-1998
|
||||||
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
|
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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to:
|
||||||
|
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
59 Temple Place - Suite 330
|
||||||
|
Boston, MA 02111-1307, USA
|
||||||
|
|
||||||
|
$Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _UINT32_H
|
#ifndef _UINT32_H
|
||||||
|
@ -37,3 +45,4 @@ void mdfour_result(struct mdfour *md, unsigned char *out); // old: MD4Final
|
||||||
void mdfour(unsigned char *out, unsigned char *in, int n);
|
void mdfour(unsigned char *out, unsigned char *in, int n);
|
||||||
|
|
||||||
#endif // _MDFOUR_H
|
#endif // _MDFOUR_H
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,32 @@
|
||||||
/*
|
/*
|
||||||
model.c - model loading and caching
|
model.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
|
model loading and caching
|
||||||
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$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// models are the only shared resource between a client and server running
|
// models are the only shared resource between a client and server running
|
||||||
|
|
|
@ -1,35 +1,43 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 1996-1997 Id Software, Inc.
|
model.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 __MODEL__
|
#ifndef __MODEL__
|
||||||
#define __MODEL__
|
#define __MODEL__
|
||||||
|
|
||||||
#include "qdefs.h"
|
#include <qdefs.h>
|
||||||
#include "qtypes.h"
|
#include <qtypes.h>
|
||||||
#include "bspfile.h"
|
#include <bspfile.h>
|
||||||
#include "render.h"
|
#include <render.h>
|
||||||
#include "modelgen.h"
|
#include <modelgen.h>
|
||||||
#include "spritegn.h"
|
#include <spritegn.h>
|
||||||
#include "zone.h"
|
#include <zone.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
|
@ -1,27 +1,32 @@
|
||||||
/*
|
/*
|
||||||
Copyright (C) 1996-1997 Id Software, Inc.
|
modelgen.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
|
header file for model generation program
|
||||||
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$
|
||||||
*/
|
*/
|
||||||
//
|
|
||||||
// modelgen.h: header file for model generation program
|
|
||||||
//
|
|
||||||
|
|
||||||
// *********************************************************
|
// *********************************************************
|
||||||
// * This file must be identical in the modelgen directory *
|
// * This file must be identical in the modelgen directory *
|
||||||
|
@ -39,11 +44,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "cmdlib.h"
|
#include <cmdlib.h>
|
||||||
#include "scriplib.h"
|
#include <scriplib.h>
|
||||||
#include "trilib.h"
|
#include <trilib.h>
|
||||||
#include "lbmlib.h"
|
#include <lbmlib.h>
|
||||||
#include "mathlib.h"
|
#include <mathlib.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue