Commit graph

355 commits

Author SHA1 Message Date
Loring Holden
63dccb8968 in_x11.c - always define in_dgamouse, so it can be false when there is no DGA
quakefs.c - include strings.h for strcasecmp() under AIX
2000-06-01 03:37:48 +00:00
Marcus Sundberg
77c92b8334 Added MME sound support. 2000-05-31 22:51:11 +00:00
Marcus Sundberg
4565fd57c7 Fix compilation without DGA. 2000-05-31 22:50:40 +00:00
Marcus Sundberg
ab2e606eb6 Need <string.h> here. 2000-05-31 22:49:53 +00:00
Marcus Sundberg
5555a5339f 64-bit fix 2000-05-31 22:49:17 +00:00
Joseph Carter
73bdee6f6f erf, not ready for that yet, that's why it was commented 2000-05-31 18:29:34 +00:00
Joseph Carter
0f9bcaf22f -gamma for Linux! No you can't control it from the menu, it has to be
done on the cmdline at the moment.  Menu support later if possible.
2000-05-31 17:46:59 +00:00
Dan Olson
de18dc1c84 Added maplist command. The function was in, but it was never registered. 2000-05-31 14:16:08 +00:00
Joseph Carter
38daae8b5a Seems to fix the DGA issue. Mouse cursor doesn't get hidden if we're in
DGA because the way we hide it doesn't mesh with Mesa+Glide.  There's a
way to do it properly, but it's more trouble than it's worth for now.
2000-05-29 13:42:33 +00:00
Joseph Carter
efb2d99e22 some oldtree cruft for rogue/hipnotic removed (we'll support them in a
very different way than did Id Software did later on, it'll be a major
improvement, that's for sure..)

fs_basegame Cvar created, defaults to whatever you selected in config.h,
most likely id1.
2000-05-29 12:45:05 +00:00
Joseph Carter
91e380d3b3 New cvars (oldtree console effects)
gl_conalpha - 0.6, 1 to disable alpha
	gl_conspin - 0, anything else causes it to spin at that speed
	gl_constretch - 0, 1 to stretch console instead of sliding it
2000-05-29 10:16:04 +00:00
Joseph Carter
c3649a242a I feel stupid now, typo fixed 2000-05-28 11:09:59 +00:00
Jeff Teunissen
b3a542bb15 Fix typo in configure.in, add cd_audio.c to EXTRA_* for DOS. 2000-05-28 01:44:31 +00:00
Joseph Carter
ef1c6be3df New Cvar function: Cvar_SetFlags. Yes, it's there for completeness.
Some minor changes to DGA code I couldn't be bothered to back out before
I committed.  They don't hurt anything, but they don't really improve
matters much either.  The mouse cursor still doesn't get warped off the
screen, but it's no longer bright blue - now it's black and white like
normal.  I'm rewriting the damned DGA code from scratch to Get It Right
this time.
2000-05-27 16:40:36 +00:00
Jeff Teunissen
2d0932e00e Configuration stuff. include/win32/version.h is now Autoconfiscated (but
still has to be in CVS, because Win32 people generally won't be able to
rebuild it).

configure.in: Cleanups to the DGA, VidMode, and sound detection code.
Makefile.am: Cleanups to sound code, to allow 'make dist' to work.
2000-05-27 04:19:24 +00:00
Dan Olson
8973cc4dd3 borked GPL header. 2000-05-26 17:19:16 +00:00
Joseph Carter
81fd7c2277 DGA seems to work... Something done recently by someone (loring or bill)
caused Voodoo3 users to get a black mouse cursor that kept getting warped
to the center of the screen..  It was rather ugly and hard to play.  So
I added DGA.  That made the mouse cursor blue and stay where it was.  So
I moved the XGrabPointer to after the XWarpPointer, problem seems to be
fixed.  I hope this works for someone other than me.  =p
2000-05-26 12:32:45 +00:00
Joseph Carter
beb6472cd5 Sorry about that, unused vars commented out 2000-05-26 04:19:46 +00:00
Loring Holden
5b094c2aa1 Reapply changes - this time tested w/ svga under Linux 2000-05-26 03:55:27 +00:00
Joseph Carter
c9d579b1b5 if (0) is evil. If you're going to comment it out, comment it out or use
something like #if 0!
2000-05-26 03:40:22 +00:00
Bill Currie
0bd4043ca4 revert lsh's checkins. They broke newtree for everybody but him. 2000-05-25 09:48:21 +00:00
Loring Holden
8005c0d25e I got this tree to build under Solaris, AIX, IRIX, & Linux.
In order to do so I:
* included strings.h and string.h in many files so various functions would be
defined
* Fixed model_t collision problem in cl_main.c (Solaris)
* com.c - corrected WORDS_BIGENDIAN spelling
* gl_draw.c - Use HAVE_GL_COLOR_INDEX8_EXT to avoid referencing
GL_COLOR_INDEX8_EXT when it isn't available
* net_udp.c - use socklen_t to appease AIX
2000-05-25 06:14:56 +00:00
Bill Currie
0ad3e80422 move the non configure defines to after ifdef USE_INTEL_ASM for non as/ non intel systems 2000-05-25 06:14:47 +00:00
Bill Currie
43b5a87fbd some fixes to make quakeforge build on solaris. not quite done yet as the
server doesn't get linked with the network libs yet.

.gitignore: add quakeforge-*.tar.gz (I'm tired of seeing that with ? :)
include/Makefile.am: forgot to add the new x11 related headers
source/makefile.am: move snd_dma.c from cient sources to snd lib and add
	snd_null.c
source/cl_sys_unix.c: replace FNDELAY with O_NONBLOCK
2000-05-25 05:01:20 +00:00
Joseph Carter
08ae0f5305 New cvar: gl_colorlights, default 1 for GL_RBGA lightmaps, set to 0 for
GL_LUMINANCE lightmaps.  This is a CVAR_ROM.
2000-05-25 04:16:41 +00:00
Brian Koropoff
ab1aadfe64 Segfault fixed. Yes, I know I'm stupid ;P 2000-05-25 03:57:25 +00:00
Dan Olson
af98ae5fa5 Rename all Server_List_* to SL_* as well as some code cleanup. Does not fix
segfault
2000-05-25 01:38:52 +00:00
Joseph Carter
82c68a482b Explosions are temporarily PURPLE, deal with it.
Made dlight colors RGB as opposed to RGBA, the alpha doesn't make a whole
lot of sense.
2000-05-24 23:55:43 +00:00
Jeff Teunissen
eb38ab097c configure.in: clean up final configuration report.
cl_main.c, cl_slist.c: Make server listing expand ~
2000-05-24 22:36:59 +00:00
Jeff Teunissen
dc42c03c5b The proper solution to fs_sharepath and fs_userpath. 2000-05-24 20:03:49 +00:00
Thad Ward
b5e36c7149 commit changes for dabb, since he's having trouble with sourceforge:
win32 requires a call to setmode(), since it doesn't seem to do the mode change in fdopen properly.
also removed some "z" modes, since someone forgot to when removing the Qfile stuffs
2000-05-24 19:19:08 +00:00
Anton E. Gavrilov
4acb725dec Remove all remaining references to cachedir. 2000-05-24 10:44:29 +00:00
Joseph Carter
43e49ccd73 Skyboxes are now rendered always behind everything else. 2000-05-24 09:42:28 +00:00
Bill Currie
1cee02c55c avoid mutually exclusive options causing long Makefile.in lines:
simplify the logic
2000-05-24 07:29:16 +00:00
Bill Currie
b1da890046 alsa sound support is alive and kicking 2000-05-24 06:52:19 +00:00
Joseph Carter
28d0df55d3 fs_userpath is now . like it SHOULD be. Why? Because despite the unix
way of doing things, every single person who has tried newtree reports it
as "broken" because it can't find their pak files.

Least surprise.
2000-05-24 05:47:58 +00:00
Bill Currie
c8182eb2fd fixe the "failed to load sky 1" message 2000-05-24 05:12:54 +00:00
Bill Currie
1d4f3155b8 fix a core dump on premature exit 2000-05-24 04:45:35 +00:00
Jeff Teunissen
a45cefb3e0 Cvar fixups... 2000-05-24 02:07:53 +00:00
Bill Currie
e98edd5f5f revert back to using f* for file io. I hope this fixes the catapult, but I wouldn't be suprised if it doesn't. 2000-05-23 22:43:36 +00:00
Bill Currie
b26d6672ae fix what the previous checkin broke:) thanks for the suggestion, Deek. 2000-05-23 21:37:55 +00:00
Bill Currie
92009aae22 bah, turns out COM_CreatePath was designed that way. my bad :/ 2000-05-23 21:29:47 +00:00
Jeff Teunissen
fd11d81788 GL fixes, partial Q{open,close,read,write,getc} -> f* 2000-05-23 17:05:34 +00:00
Jeff Teunissen
db453a4b15 Cvar fixes. 2000-05-23 17:01:12 +00:00
Jeff Teunissen
347289ec56 Menu fixes: use Cvar_SetValue() for menu options. 2000-05-23 16:59:25 +00:00
Jeff Teunissen
7bbb9963cc s/HAS_/HAVE_/g 2000-05-23 16:57:12 +00:00
Bill Currie
fd35f176ba re-enable autoexec.cfg running on gamedir (defaults to off. need to put set cl_autexec either in quakeforge.conf or on the command line) 2000-05-23 11:29:15 +00:00
Bill Currie
d7f0ffef60 forgot to rename some SendKeyEvents functions 2000-05-23 09:52:17 +00:00
Bill Currie
d14e18e42f remove the aliasing of _windowed_mouse as in_grab isn't used as a name in this tree 2000-05-23 09:15:51 +00:00
Bill Currie
d30edea236 CVAR_ROM now works
provide Cvar_SetROM to get past it. if this proves unnecessary, nuke it :)
provide setrom command: sets the CVAR_ROM flag on a cvar
2000-05-23 08:33:30 +00:00