Marcus Sundberg
3b6b24ef51
Moved input code to in_svgalib.c.
...
Some cleanups.
2000-01-09 02:44:36 +00:00
Marcus Sundberg
1bf7ae178e
Moved input code to in_svgalib.c.
...
Cleaned up includes and code.
2000-01-09 02:43:27 +00:00
Marcus Sundberg
5377871488
Input driver for svgalib, used by gl_vidlinux_3dfx.c and vid_svgalib.c.
2000-01-09 02:41:28 +00:00
Marcus Sundberg
06e87abc90
Avoid warnings about inline with gcc -pedantic
2000-01-09 02:12:25 +00:00
Eric Windisch
8e4c3039d6
Bug fixes for the option menu code, it should compile now :)
...
You will not be able to select the new options until I fix that bug...
That bug should be fixed within a few minutes.
--
Eric Windisch
2000-01-09 01:53:54 +00:00
Eric Windisch
9a2146c1da
Added a bit to vid_null.c to aid those making new targets. Nothing big.
2000-01-09 01:23:36 +00:00
Eric Windisch
c5b5abd9ee
This is a big change.. I added two new functions that must be in every
...
target's video file. These functions are VID_ExtraOptionDraw() and
VID_ExtraOptionCmd(int options_cursor).
These are to help modulize the option menu a bit, now all you have to do is
define #OPTIONS_ITEMS to one more then the number of items there are (this
is done in your target's vid*.c/gl_vid*.c file)
I also removed a bunch of #ifdefs, although a few #ifdef _WIN32's remain.
--
Eric Windisch
2000-01-09 01:11:44 +00:00
Marcus Sundberg
bb990403cd
Removed commited CVS conflict.
2000-01-08 23:15:03 +00:00
Marcus Sundberg
b227999f7a
Fixed a bug in BSD code.
2000-01-08 22:35:21 +00:00
Joseph Carter
8f503d8209
Reverted Neal's GL fullbright patch till we can actually fix it properly
...
after the release
2000-01-08 22:28:07 +00:00
Marcus Sundberg
c19f07bf99
Fixed typo in BSD code.
2000-01-08 22:25:18 +00:00
Marcus Sundberg
ef0921cfb7
Should work on NetBSD (and with some luck OpenBSD) too now.
...
Fixed bug in the BSD code.
2000-01-08 22:04:37 +00:00
Marcus Sundberg
e52d41a5b5
Remove unused variables.
2000-01-08 17:38:21 +00:00
Marcus Sundberg
754215066b
Fix warnings.
2000-01-08 17:37:36 +00:00
Zephaniah E. Hull
67f8201590
Applied patch from Roger Sen Montero <rogersm@tau.uab.es> to switch to
...
using vsnprintf/snprintf..
2000-01-08 13:55:33 +00:00
Bill Currie
ef18af2a9b
common/sound.h:
...
added extern for soundtime. Don't really know wy it wasn't there in the
first place.
qw_client/Makefile.in uquake/Makefile.in:
make the alsa objects say the right thing: snd_dma.c and snd_alsa.c
common/snd_alsa.c:
New file. makes things go.
2000-01-08 12:14:07 +00:00
Jeff Teunissen
092d32cd23
Fixed gl_doubleeyes and made it common, whitesize cleanup to gl_warp.c
2000-01-08 07:42:14 +00:00
Nelson Rush
dfbfbb6711
readded a copyright notice that somehow got removed
...
added "Portions" statement to the copyright statement
Please note, if you want to put a copyright notice on a source file stating that a portion of it is copyright yourself or another author please put "Portions Copyright...", if adding a seperate .c file that contains otherwise author(s) this doesn't apply.
2000-01-08 04:50:26 +00:00
Jeff Teunissen
c797a758d5
Whitespace changes, cleanup of gl_rmain.c
2000-01-07 21:36:15 +00:00
Marcus Sundberg
19fd8a6816
A '&' before an array variable is at best ignored, at worst it could do
...
weird stuff.
2000-01-07 21:31:20 +00:00
Marcus Sundberg
c11b3873ff
Whitespace is not allowed before the '#' of pre-processor directives.
2000-01-07 21:09:58 +00:00
Zephaniah E. Hull
5123746344
Translate the outputs to ASCII..
2000-01-07 06:29:44 +00:00
Nelson Rush
2151636145
added copyrights for buffer overrun fixes
2000-01-07 05:47:53 +00:00
Eric Windisch
2bba6d05c2
Commented out volume fog until it works, or at least until after release.
2000-01-07 04:23:16 +00:00
Eric Windisch
d1ac3a1abf
Added a "tested on" system in README (no big deal)
...
Added some stuff to TODO
Some more volumetric fog code, this isn't release quality but it won't affect
anything.
2000-01-07 03:59:52 +00:00
Marcus Sundberg
682f7940d4
Some cleanups for future merge.
2000-01-07 01:49:28 +00:00
Marcus Sundberg
0279cc5a4b
Removed useless functions.
2000-01-07 01:25:33 +00:00
Marcus Sundberg
39b2b2c3b9
Use Sys_DoubleTime instead of Sys_FloatTime.
2000-01-07 01:16:26 +00:00
Marcus Sundberg
983243b577
Moved Sys_mkdir() and Sys_DoubleTime() into common/sys_common.c
2000-01-06 18:36:14 +00:00
Marcus Sundberg
3dc80e29b7
Moved Sys_FileTime() into common/sys_common.c
2000-01-06 17:46:47 +00:00
Marcus Sundberg
6e9074153f
Moved Sys_Printf into common/sys_common.c
2000-01-06 16:56:38 +00:00
Loring Holden
e88e11d77c
Removed unused variables
2000-01-06 16:24:05 +00:00
Joseph Carter
2193966719
Copyright notice stuff
2000-01-06 13:48:07 +00:00
Nelson Rush
d1efeccbf5
added loring's patch
...
The following patch fixes the build for those platforms that do not have CD
support (ie, are using null support)
2000-01-06 05:35:30 +00:00
Eric Windisch
930c9497b0
r_local.h was missing a few declarations killing glquake compile at least on my system. The declarations missing were:
...
void D_Start_Particle(void);
void D_DrawParticle(void);
void D_EndParticle(void);
2000-01-06 05:21:08 +00:00
Nelson Rush
6e69591b3f
added loring's patch to fix non-linux platform problems
...
Solaris stuff:
* vid_sunx.c - Added missing S_Init() so sounds works
* vid_sunx.c - Don't XCloseDisplay() if x_disp is 0
* vid_sunx.c - ClientMessage references only apropos for QuakeWorld
Non-linux stuff:
* qw_client/Makefile.in - use QW_CL_SYS_SRC instead of SYS_SRC
2000-01-06 04:33:34 +00:00
Marcus Sundberg
8a2d0d0e8f
Fix typo in BSD defines.
2000-01-06 03:13:59 +00:00
Marcus Sundberg
42154bc63f
Moved CD_f from cd_linux.c and cd_win.c into cd_wrapper.c.
...
Added support for CDROM on (Free)BSD.
2000-01-06 02:43:04 +00:00
Marcus Sundberg
581e31b505
Fixed some warnings.
2000-01-06 01:43:44 +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
04c438c55e
Check return code from mmap() properly.
2000-01-05 21:22:48 +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
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
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
Marcus Sundberg
d28880656b
Win32 has snprintf and vsnprintf underscored. Use proper defines if needed.
2000-01-05 01:19:13 +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
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
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
Nelson Rush
19b2728495
Applied prototype fix to vid_svgalib.c and removed unused variable from qw_client/cl_main.c
2000-01-04 05:52:00 +00:00
Nelson Rush
de56a6f223
removed extra m_filter registration
2000-01-04 05:38:27 +00:00
Nelson Rush
5f20ff0bd7
added loring's multi-platform, non-mesa OpenGL patch.
2000-01-04 05:33:00 +00:00
Joseph Carter
49d9711def
Small mingw32 fix and updated debian/control
2000-01-04 04:14:35 +00:00
Joseph Carter
740177b2c0
Another merge from BigM
2000-01-04 03:34:56 +00:00
Zephaniah E. Hull
6006adda7c
Backported and merged the qw_client/keys.c to uquake.
...
Added support for the KP_* keysyms..
2000-01-04 01:53:31 +00:00
Joseph Carter
0b8df448c2
Major configure.in update, applied BigM's gl_rsurf.c merge patch
2000-01-04 01:03:18 +00:00
Zephaniah E. Hull
ced209c8ba
Reordering the scancode stuff for some stuff I'm doing after release..
2000-01-04 00:17:30 +00:00
Jeff Teunissen
fbc21a8c5e
* Merged d_polyse.c from qw_client, _unchanged_ -- current data suggest it
...
works properly with UQ.
* Repaired my FIXME in r_alias.c (caused UQ's software targets to segfault)
2000-01-03 23:27:17 +00:00
Nelson Rush
0b480a8691
added copyright lines
2000-01-03 22:12:26 +00:00
Nelson Rush
d75ee8d6b7
Optimized VectorCompare()
2000-01-03 22:10:13 +00:00
Joseph Carter
55a4e4e01c
Fixed register_check(), renamed a couple of non-headers to the "standard"
...
naming of .-c, also the very beginnings of the eventual source reformat.
2000-01-03 21:54:18 +00:00
Jeff Teunissen
6337f34ba1
* Fixed an X11 software renderer crash in vid_x.c, thanks Justin A. McCright
...
* Renamed chase_* to cl_chasecam_* in UQ to match their parent cvar.
* Changed cl_chasecam* in UQ to be saved in config.cfg
* Moved dosasm.s to common, though it doesn't seem to be referenced at _all_
2000-01-03 21:20:01 +00:00
Joseph Carter
7a6884e4fb
Portability fix
2000-01-03 20:16:47 +00:00
Jeff Teunissen
a6a29bdb63
Moved skin.c to common/ -- it doesn't conflict with UQ, so it might as
...
well be moved now.
2000-01-03 16:53:06 +00:00
Jeff Teunissen
c8339f5d3a
Moved buildnum.c to common/ -- we don't use it any more, but we could.
...
Also changed it so that the starting build number would be 21 Dec 1999,
the date of the Q1 source release. Today would be build number 13. :)
2000-01-03 16:49:28 +00:00
Jeff Teunissen
978ccb3cc8
Merged nonintel.c into common/
2000-01-03 13:45:02 +00:00
Jeff Teunissen
71b8dc4cad
Merged r_bsp.c into common/
2000-01-03 13:35:09 +00:00
Jeff Teunissen
a671482dd5
sys_linux.c merged and moved into common/
2000-01-03 12:12:13 +00:00
Jeff Teunissen
202f794fbe
The merge continues...sys_null.c (Portability aid) is common.
2000-01-03 11:14:42 +00:00
Jeff Teunissen
518401c90c
Simplified COM_Block*Checksum (don't worry, it's still compatible -- I
...
tested it), merged r_alias.c (note the FIXME at the end of r_alias.c)
2000-01-03 10:41:24 +00:00
Joseph Carter
24312dcadd
Fixed bug with shareware pak file
2000-01-03 09:19:02 +00:00
Joseph Carter
68785812de
More BSD fixes from Darius
2000-01-03 08:00:46 +00:00
Nelson Rush
28d134d096
added vid_sdl.c and cd_sdl.c which are part of Maas patch for the SDL merge.
2000-01-03 06:26:49 +00:00
Nelson Rush
a841b90d2d
SDLQuake merge with our tree made possible by Sam Lantinga and Maas van den Berg, currently the video and cdrom audio are supported.
2000-01-03 06:18:32 +00:00
Joseph Carter
d0674e837c
pandr's pr_* merge..
2000-01-03 04:45:54 +00:00
Joseph Carter
d5217418ec
QW's crosshair 2 and crosshaircolor now work in UQ. Also because I felt
...
like adding a gratuitious feature, GL target users can crosshair 3 for a
completely new crosshair and higher resolution crosshair (oooh!) Software
renderer doesn't have it because...well look at Draw_Crosshair() in
draw.c, it's truly a nightmare! You have to plot each pixel individually,
makes you feel like you're coding in Applesoft BASIC. If you want it,
figure out how to do it sanely.
2000-01-03 04:33:43 +00:00
Joseph Carter
cfa702ec38
pr_comp.h's identical, moved to common
2000-01-03 02:24:26 +00:00
Zephaniah E. Hull
47e85cdd29
Version cleanup, not completely happy with it yet..
...
Removed the registered game checking, but added a little back for
backword compatibility..
2000-01-03 01:40:54 +00:00
Joseph Carter
590b4c1c58
crosshair 2 now works in UQ, as does crosshaircolor
2000-01-03 00:08:03 +00:00
Joseph Carter
91226eac59
Forgot to move the file...
2000-01-02 16:26:14 +00:00
Joseph Carter
8ee8699d16
Sound cleanups from Marcus: snd_linux.c -> snd_oss.c, the OSS API is used
...
on a lot more than just Linux. Updated Autoconf to check for OSS rather
than check for Linux and just assume OSS is there.
2000-01-02 16:18:22 +00:00
Joseph Carter
6d9ae5f2ef
Merged gl_draw.c! Yes, the version string is unscaled.
2000-01-02 15:53:47 +00:00
Joseph Carter
e02e3a8982
The stupid scaled version text is gone. Under QW's GL targets (only under
...
those targets) the version string was rendered using the standard console
font, unscaled. All software renderer targets now benefit from this.
2000-01-02 15:52:45 +00:00
Joseph Carter
d7d4a3dcd6
Removed all traces of the useless gl_reporttjunctions cvar
2000-01-02 12:00:43 +00:00
Joseph Carter
ecac4a1474
Marcus' patch for the beginnings of mingw32 support in the tree
2000-01-02 11:32:21 +00:00
Joseph Carter
2417b5129b
Oops, the GGI target won't work too well without this file...
2000-01-02 10:07:08 +00:00
Joseph Carter
365a1c144f
draw.[ch] merge
2000-01-02 10:06:17 +00:00
Joseph Carter
b75354555d
chase_active in uquake is now cl_chasecam like in qw-client
2000-01-02 05:46:52 +00:00
Joseph Carter
81121d7d44
Marcus' mdfour fix... Perhaps this should be sent to the rsync people?
2000-01-02 05:10:08 +00:00
Eric Windisch
0606295105
This is the first file I am adding, it should be in /common.
...
One step further into a merged qw/uquake tree :)
This code was submitted by Taniwha.
2000-01-02 04:31:53 +00:00
Eric Windisch
797b93f871
Taniwha pointed out that qw didn't compile, i put cvar_t r_waterwarp in a non-common file. I moved it to r_glmain.c, everything _SHOULD_ work now (I hope!).
2000-01-02 04:04:17 +00:00
Eric Windisch
2bfc08ccde
Preliminary Volumetric fog :)
...
fixed problem where r_fog, r_waterwarp were not defined for quakeworld.
2000-01-02 03:12:59 +00:00