Commit graph

138 commits

Author SHA1 Message Date
Loring Holden
f1c9f11a2c Need to include draw.h so Draw_Crosshair() is defined 2000-01-09 19:44:46 +00:00
Loring Holden
131086c25c {uquake,qw_client}/glquake.h combined and moved to common 2000-01-09 19:42:33 +00:00
Marcus Sundberg
d815aa804e Revison 1.17 worked exactly as intended. Revison 1.20 was completely broken. Like I said - it needs a cleanup, but it works for now. 2000-01-09 14:09:14 +00:00
Eric Windisch
4775ee68af fix for menu.c, adamel didn't add a bug.. just some bad code defining the variable his equation was using. Everything should finally be ok (like i haven't said that before)
--
Eric Windisch
2000-01-09 08:19:30 +00:00
Eric Windisch
cfb408b863 Forgot to fix the bug i said i fixed of adamel's last commit that existed in menu.c 2000-01-09 07:57:16 +00:00
Eric Windisch
e29fc9165e Reimplimented evil #define in menu.c cuz it wasn't working otherwise :)
Fixed a bug that im still not sure why Adamel implimented, he had it assuming
that every target has 15 entries, when they don't.
--
Eric Windisch
2000-01-09 07:52:39 +00:00
Marcus Sundberg
57bd541a05 Added the video menu back. This really needs a big cleanup, but it works for now. 2000-01-09 07:25:15 +00:00
Eric Windisch
212367ad9a Changed some stuff in menu.c to remove someone's evil #define of
options_items, rather made options_items a static int and
changed 'static int local_options_items = 13' into
'#define local_options_items 13' (non-evil define ;)
-- eric windisch
2000-01-09 07:19:27 +00:00
Jeff Teunissen
5f62210608 Added @DGA_LIBS@ to OpenGL target builds 2000-01-09 07:15:41 +00:00
Marcus Sundberg
992788cca4 Cleaned up the ExtraOption code a bit. 2000-01-09 04:56:21 +00:00
Eric Windisch
a09bf9b081 Ok, removed all the #define's and everything should be working fine now.
notify me of any bugs :)
--
Eric Windisch
2000-01-09 03:03:42 +00:00
Marcus Sundberg
b6bb5c9190 Added in_svgalib.c to svga and 3dfx targets. 2000-01-09 02:45:58 +00:00
Marcus Sundberg
89263d5eca Call VID_Init() before IN_Init(). 2000-01-09 02:13:51 +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
Marcus Sundberg
0d3e377a75 Fixed typo in previous commit. 2000-01-09 01:26:56 +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
7df47c6fdb Replaced sprintf with snprintf. 2000-01-08 23:37:13 +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
219acb9ce1 Fixed install target 2000-01-08 21:35:03 +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
Eric Windisch
edbdeb3989 A small cleanup of the option menu, makes it more modular so adding new
options will not be as messy as before.

It adds a windowed mouse for GLX, and with the -DXMESA compiler option
(not currently supported by the configure/makefile process) there is an
additional option for users of Mesa3d running the quake-gl client  which
will switch between windowed and fullscreen modes on the fly.

The windowed mouse option is now fixed for windows users and would also
work for software-x11 clients, but #ifdef X11 isn't working?
--
Eric Windisch
2000-01-08 06:29:40 +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
Nelson Rush
2151636145 added copyrights for buffer overrun fixes 2000-01-07 05:47:53 +00:00
Joseph Carter
ef8e59610a filter patch to remove \r and \n from people's names in the server 2000-01-07 05:02:38 +00:00
Marcus Sundberg
ab7585ffa2 Added DOS VGA stuff.
Added DOS and Windows network support.
2000-01-07 01:20:15 +00:00
Marcus Sundberg
18e36fb5d1 Don't name local variables errno. 2000-01-07 01:17:53 +00:00
Marcus Sundberg
a5a502ff97 Don't name local variable errno. 2000-01-07 01:17:05 +00:00
Nelson Rush
36a1b4d7ae added dan olson's patch
This patch keeps all the "PackFile" and "FindFile" messages from flooding
stdout unless the developer cvar is set to 1.
2000-01-06 22:02:55 +00:00
Marcus Sundberg
1c432eec0e Moved Sys_mkdir() to common/sys_common.c
!!! FIXME !!! Move Sys_DoubleTime() there too.
2000-01-06 18:38:40 +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
Marcus Sundberg
f816a6dbc1 This was identical to common/sys_dosa.s 2000-01-06 16:33:09 +00:00
Marcus Sundberg
58a561b806 Made MGL target compile again. 2000-01-06 03:13:04 +00:00
Marcus Sundberg
b28fa0a244 Add #ifndef so file is only included once. 2000-01-06 02:29:09 +00:00
Marcus Sundberg
a6460e7bdd Removed the bogus -DELF statements. 2000-01-06 01:06:17 +00:00
Marcus Sundberg
b86ca17101 Fixed bunch of unused variables. 2000-01-06 00:29:41 +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
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
c90b93d0b7 Cleaned the clean targets a bit 2000-01-05 12:09:29 +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
048b8393f3 Reportedly the #undef sa_family is really needed on SGIs. 2000-01-05 01:14:30 +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