Commit graph

1149 commits

Author SHA1 Message Date
Marcus Sundberg
8e9d7f6b4b Detect Linux and BSD CD-ROM APIs. 2000-01-06 02:31:32 +00:00
Marcus Sundberg
b28fa0a244 Add #ifndef so file is only included once. 2000-01-06 02:29:09 +00:00
Marcus Sundberg
581e31b505 Fixed some warnings. 2000-01-06 01:43:44 +00:00
Marcus Sundberg
a6460e7bdd Removed the bogus -DELF statements. 2000-01-06 01:06:17 +00:00
Marcus Sundberg
98e1681e6b Define HAVE_SYM_PREFIX_UNDERSCORE if C symbols are prefixed by an underscore (should be a real check in the future). 2000-01-06 00:54:51 +00:00
Marcus Sundberg
4120cda2d2 Include config.h and use #ifdef HAVE_SYM_PREFIX_UNDERSCORE instead of bogus #ifdef ELF 2000-01-06 00:52:51 +00:00
Marcus Sundberg
b86ca17101 Fixed bunch of unused variables. 2000-01-06 00:29:41 +00:00
Marcus Sundberg
e0bfb15dcf Check for vsnprintf() in libdb if we don't have it elsewhere. 2000-01-05 22:42:06 +00:00
Joseph Carter
368ae283a2 Applied Mads' speed cheat fix to qw-server 2000-01-05 22:41:36 +00:00
Marcus Sundberg
9e5e83cc73 Added $(LIBS) to linker command lines. 2000-01-05 22:12:51 +00:00
Marcus Sundberg
04c438c55e Check return code from mmap() properly. 2000-01-05 21:22:48 +00:00
Joseph Carter
8d8f0d617c small oops fixed 2000-01-05 19:57:35 +00:00
Joseph Carter
be84abf0b1 Server makefile is done too, just cosmetics and a better clean target 2000-01-05 19:45:44 +00:00
Joseph Carter
4ebf133971 Merged the makefile targets as much as is safe to do without a serious
code alteration.  Cut my build time from 20 minutes down to about 5 from
an autoconf-clean tree.
2000-01-05 19:10:52 +00:00
Zephaniah E. Hull
b68f84619e Fixes for portability issues.. 2000-01-05 16:55:01 +00:00
Zephaniah E. Hull
4ecda582f4 Give credit for the GL fullbright fix. 2000-01-05 15:24:29 +00:00
Zephaniah E. Hull
dbbeff44fc We now have fullbright textures for GL!
This is going in as a bug fix after talking it over with Knghtbrd and Deek..
2000-01-05 15:23:12 +00:00
Joseph Carter
c90b93d0b7 Cleaned the clean targets a bit 2000-01-05 12:09:29 +00:00
Joseph Carter
6e6f044ef1 VERY IMPORTANT commit before release---crosshair 3 was a little high, you
could hit anything simple with it sure, but some of us snipe.  Fixed it.
2000-01-05 10:25:30 +00:00
Nelson Rush
9417c085dc added some things to the TODO 2000-01-05 03:58:34 +00:00
Marcus Sundberg
e3c4261ea5 Moved old_headers/qwcl/resource.h to qw_client/resource.h 2000-01-05 01:48:02 +00:00
Marcus Sundberg
b2bd0774e0 Moved resource.h and conproc.h from uquake/do_not_include to uquake. 2000-01-05 01:41:36 +00:00
Marcus Sundberg
65094e2a35 _windowed_mouse needs to be declared. 2000-01-05 01:26:09 +00:00
Marcus Sundberg
d28880656b Win32 has snprintf and vsnprintf underscored. Use proper defines if needed. 2000-01-05 01:19:13 +00:00
Marcus Sundberg
048b8393f3 Reportedly the #undef sa_family is really needed on SGIs. 2000-01-05 01:14:30 +00:00
Marcus Sundberg
cfbbf80801 Added checks for snprintf, _snprintf and _vsnprintf 2000-01-05 00:34:44 +00:00
Marcus Sundberg
8ce6e3d062 Removed the dummy VGA_* variables as they are not needed anymore. 2000-01-05 00:31:47 +00:00
Nelson Rush
705c1d0e3b fixed some problems 2000-01-05 00:11:02 +00:00
Nelson Rush
a77bb35db6 Fixed buffer overflow problems, changed sprintf to snprintf don't use this yet, i have a few things that need to be fixed. 2000-01-05 00:05:48 +00:00
Marcus Sundberg
c5de0f10c5 Added MGL target (relax Palisade - it's only compiled on win32 ;)
Moved d_copy.s from SWREND_SRC_PLAT to SVGA_VID_SRC as the functions in
there are only used in vid_svgalib.c and vid_vga.c
2000-01-04 23:38:36 +00:00
Marcus Sundberg
26c0d830b2 Fix includes.
filelength() is unused and breaks compile on mingw32.
Copied Sys_FileOpenRead() and Sys_DoubleTime() from qw_client/sys_win.c
2000-01-04 23:36:31 +00:00
Marcus Sundberg
4d03867938 Fix includes.
filelength() is unused and breaks compile on mingw32.
2000-01-04 23:34:36 +00:00
Marcus Sundberg
b9d6599958 Include mgraph.h here.
Made mouseactive extern (defined in in_win.c)
Removed unused variables.
Some minor cleanups.
2000-01-04 23:32:43 +00:00
Marcus Sundberg
bb1f7ac924 Define uiWheelMessage and mouseactive here.
Removed unused variables.
Some minor cleanups.
2000-01-04 23:31:14 +00:00
Marcus Sundberg
fce145168c Arm x86 assembly with #if id386 2000-01-04 23:30:00 +00:00
Marcus Sundberg
d5be43dd1b Do AC_SUBST() on HAS_MGL, MGL_CFLAGS and MGL_LIBS. 2000-01-04 23:28:12 +00:00
Marcus Sundberg
54f4335a8a Autoconf network headers. 2000-01-04 23:06:13 +00:00
Marcus Sundberg
0a99e0d5fe Include ctype.h for is*() functions.
Removed unused variables from InitConProc().
2000-01-04 23:02:02 +00:00
Marcus Sundberg
b8d1dd372a Added @NET_LIBS@ to LDFLAGS. 2000-01-04 22:59:57 +00:00
Marcus Sundberg
a6be84b54d Merged into net_udp.c. 2000-01-04 22:58:19 +00:00
Marcus Sundberg
61a1599c80 Autoconf network headers.
Merged in qw_common/net_wins.c
2000-01-04 22:56:56 +00:00
Marcus Sundberg
6120f2dab5 Server need mmsystem.h for timeGetTime() 2000-01-04 22:24:49 +00:00
Marcus Sundberg
de443cad14 Mingw32 needs to include initguid.h before dinput.c - do that if we have it
uiWheelMessage needs to be defined here.
Avoid multi-line C++-comments.
2000-01-04 22:16:27 +00:00
Marcus Sundberg
f0a9fffc5a Add support for cd_win.c 2000-01-04 22:11:17 +00:00
Marcus Sundberg
5d5cfd6e4b Include mmsystem.h if we have it. 2000-01-04 22:09:43 +00:00
Marcus Sundberg
c4e15e0eed Added checks for networking headers and initguid.h.
Added AC_C_CONST - for (ancient/weird) compilers that don't support const.
Added AC_C_INLINE - you can now use the "inline" keyword portably, it will
be defined to nothing, __inline, __inline__ or empty depending on the
compiler.
Added checks for a bunch of functions. All are not used yet, but most
should be.
Added checks for MGL (the graphics library that vid_win.c uses.
Aligned help messages properly. ;)
Link with -lwinmm when using Windows sound code.
Check for networking functions in common libraries.
Use sys_win.c when compiling for mingw32.
2000-01-04 22:00:41 +00:00
Marcus Sundberg
d576b7c9d1 Made building outside the sourcedir work again.
Made top of Makefile look like qw_client/Makefile.in
2000-01-04 21:29:10 +00:00
Marcus Sundberg
8b4503ff05 Made building outside the source dir possible again. 2000-01-04 21:26:22 +00:00
Nelson Rush
1969220a36 another error with the sed script in the TODO, extra ) for the sizeof() taken out. 2000-01-04 20:35:46 +00:00
Nelson Rush
37c91db62a in TODO the sed script to fix the files was changing sprintf to sprintf instead of snprintf, fixed. 2000-01-04 20:22:13 +00:00