Commit graph

382 commits

Author SHA1 Message Date
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
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
Dabb
b3a9432b70 Minor change for some borland defs. 2000-05-28 13:29:55 +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
30d1dc1c87 Minor fixes. 2000-05-27 04:33:09 +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
Joseph Carter
bf576c54d0 HAS_DGA -> HAVE_DGA (undefined in both cases) for win32
win32 global config is now .\global.cfg
Changed "        #define" to "#^idefine" for the 3dnow stuff..
2000-05-27 02:31:47 +00:00
Thad Ward
9761dc6732 added FS_SHAREPATH and FS_USERPATH 2000-05-26 03:40:13 +00:00
Dabb
16c06526c9 Borland fixes, to get it compile 2000-05-25 14:04:47 +00:00
Loring Holden
9e65b2c06d Make sure math.h is included before M_PI is tested 2000-05-25 06:08:12 +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
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
Anton E. Gavrilov
4acb725dec Remove all remaining references to cachedir. 2000-05-24 10:44:29 +00:00
Bill Currie
b1da890046 alsa sound support is alive and kicking 2000-05-24 06:52:19 +00:00
Bill Currie
72ff6cb80b FS_.*PATH have been eliminated as fs_userpath and fs_sharepath default to . and
can be configured by ${sysconfdir}/quakeforge.conf
2000-05-24 05:57:56 +00:00
Bill Currie
7f193522f3 fix make dist 2000-05-24 02:32:47 +00:00
Jeff Teunissen
a45cefb3e0 Cvar fixups... 2000-05-24 02:07:53 +00:00
Jeff Teunissen
02eaf75b18 cvar cleanups. 2000-05-23 21:46:17 +00:00
Jeff Teunissen
5c27b5fa9d Remove obsolete glquake2.h 2000-05-23 18:05:49 +00:00
Bill Currie
3951d1fe4c bring across the VID and IN modules for svga, x11 and glx from OT. 2000-05-23 06:36:33 +00:00
Thad Ward
55d2328c77 added include/win32/version.h for the non-automake win32 builds will have a common place to get the version number.
also commented out the section of include/win32/?c/config.h that defined the versions and replaced with an include statement
2000-05-23 06:10:22 +00:00
Joseph Carter
3d59dfed98 Before I can fix the (MANY!) problems with newtree, I have to fix the
little problem of mixed QFile and FILE.  Since we're not using ZLib in
this tree, QFile makes no real sense.  That didn't fix the real problem
I am having though.
2000-05-22 21:16:22 +00:00
Anton E. Gavrilov
a73a779486 Console editing stuff 2000-05-22 09:24:07 +00:00
Jeff Teunissen
476b299074 Fix conflict 2000-05-22 08:49:01 +00:00
Bill Currie
e68701838a white space cleanup for last checkin 2000-05-22 08:44:34 +00:00
Jeff Teunissen
c4a0462f93 missed an extra comment 2000-05-22 08:41:20 +00:00
Jeff Teunissen
c1fde8e2ca Fix comments 2000-05-22 08:40:21 +00:00
Bill Currie
2fd97f5eab header (C) block touch ups 2000-05-22 08:26:01 +00:00
Anton E. Gavrilov
d272b79bfa Add #define HAVE_FNMATCH_H 2000-05-22 08:15:36 +00:00
Jeff Teunissen
adcb479d77 Makefile updates for win32 targets 2000-05-22 07:32:00 +00:00
Anton E. Gavrilov
778b77c394 CL_ClearStates now generates key up event for each key that is down.
CVAR_FIXME cleanup.
2000-05-22 07:20:00 +00:00
Thad Ward
1cb980a02e removed a silly #else case on an ifdef 2000-05-22 07:07:01 +00:00
Thad Ward
6175d2e7bf updated VERSION to 0.2.0 for the release 2000-05-22 04:47:50 +00:00
Anton E. Gavrilov
6d3b7f22af #define _POSIX_ 2000-05-22 03:37:18 +00:00
Anton E. Gavrilov
a955b34f46 freelook cvar support 2000-05-22 03:15:30 +00:00
Anton E. Gavrilov
2b42f07798 quakefs.h now defines fs_userpath and fs_sharepath 2000-05-22 01:37:19 +00:00
Jeff Teunissen
d5f18435ec Misc. fixes. bound() is now defined, make dist works properly it seems,
missed a basepath/userpath, and fixed up the menu.
2000-05-21 23:01:36 +00:00
Anton E. Gavrilov
e1e329733c _POSIX_ is undefined temporary when io.h is included. Ugly, but it works 2000-05-21 22:59:40 +00:00
Bill Currie
1fda6e16c1 break up the honking huge line :) 2000-05-21 22:53:59 +00:00
Bill Currie
cc5e8e2b59 build.[ch] -> buildnum.[ch] related fixes 2000-05-21 22:39:28 +00:00
Anton E. Gavrilov
0f656e5f44 build.c is buildnum.c now 2000-05-21 22:13:01 +00:00
Anton E. Gavrilov
b6fcbb239a build.h must die 2000-05-21 22:06:03 +00:00
Marcus Sundberg
96ecbb71bf Fix ifdef around pragma. 2000-05-21 21:41:46 +00:00
Anton E. Gavrilov
c20699131e Add some #defines 2000-05-21 20:42:08 +00:00
Anton E. Gavrilov
f640667461 Disable MSVC warnings 2000-05-21 20:33:57 +00:00
Anton E. Gavrilov
234cfae009 MSVC doesn't have dirent.h 2000-05-21 20:30:44 +00:00
Jeff Teunissen
c40d97b99c s/fs_basedir/fs_userdir/g 2000-05-21 20:28:44 +00:00
Brian Koropoff
d9da49c2a9 The server address book now uses a linked list. I had some issues merging this with some of taniwha's changes, so it may not be perfect. Please test it. 2000-05-21 20:14:09 +00:00
Marcus Sundberg
6f5fe77ed2 Arm byte typedef with ifndef _DEF_BYTE_.
Include compat.h
2000-05-21 18:36:30 +00:00
Danne
c88a6fcccd Header fixups for win32 2000-05-21 11:32:35 +00:00
Danne
06ae81fd30 Config changes for bc win32 2000-05-21 11:29:53 +00:00
Danne
7f245155ce Header addons for win32 2000-05-21 11:29:27 +00:00
Bill Currie
ce25c13a65 command line and config file parsing ala OT 2000-05-21 09:49:25 +00:00
Joseph Carter
6bb69779a4 Fix make dist I hope 2000-05-21 09:48:36 +00:00
Bill Currie
af032b8d55 port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
2000-05-21 08:24:45 +00:00
Bill Currie
68ca31e417 port in q* from OT, and split of other things in prep for removing common.*
The use of these files isn't being committed just yet.
2000-05-20 09:42:02 +00:00
Danne
1bd34e0dc5 Added HAVE_MGRAPH_H 2000-05-20 08:07:47 +00:00
James Brown
fa06af16e4 Movetype_ppush stuff, take 1 2000-05-20 05:59:34 +00:00
Joseph Carter
f52c47388d SOLID_BSP fix (I hope) 2000-05-20 05:35:20 +00:00
Marcus Sundberg
c87243d94c Arm byte typedef with #ifndef _DEF_BYTE_ 2000-05-20 03:26:19 +00:00
Marcus Sundberg
ea61fa1d09 Don't use the Win32 pragmas with gcc. 2000-05-19 23:51:56 +00:00
Marcus Sundberg
ee3e144763 Misc fixes. 2000-05-19 23:31:28 +00:00
Dan Olson
aacad834e0 fix a compile error 2000-05-19 18:49:47 +00:00
Danne
0e7468bda8 Config.h for Borland C++ 2000-05-19 13:36:42 +00:00
Yan Sweitzer
440b2aec18 added uniform #ifdef _xxx_H encapsulation and appropriate includes to avoid header dependencies and circular conflicts
(work in progress, need to clean .c files as well)
2000-05-19 06:44:56 +00:00
Brian Koropoff
0140835694 Server list stuff added to newtree! 2000-05-19 04:33:12 +00:00
Joseph Carter
466344b359 Not as clean as it could be, but for now it will work. 2000-05-19 03:06:05 +00:00
Anton E. Gavrilov
f6887de132 Added SCR_UpdateWholeScreen(void) 2000-05-19 00:41:12 +00:00
Joseph Carter
0594dcfd33 loadsky command implemented:
loadsky skyname
		turns it on if env/skyname*.tga exists

	loadsky none
		turns it off, always.

Clientside support.  Serverside key needs to be added still
2000-05-18 20:32:11 +00:00
Thad Ward
9d4adec3d5 added visualc's config.h and got everything building again 2000-05-18 08:06:59 +00:00
Joseph Carter
0c93f0d1f2 Skybox support - just add env/*.tga!
Bring your own Cmd_LoadSky_f (), I haven't done that or the server code
yet.
2000-05-18 04:34:26 +00:00
Bill Currie
3d1ae7ea7c add Makefile 2000-05-18 02:24:33 +00:00
Bill Currie
64d00faa8f Apply theoddone33's cvar patch (he's having connectivity problems with tank) 2000-05-17 23:16:23 +00:00
Marcus Sundberg
22c85298f0 Changed #if USE_INTEL_ASM to #ifdef USE_INTEL_ASM and
#if !USE_INTEL_ASM to #ifndef USE_INTEL_ASM
2000-05-17 20:50:22 +00:00
Marcus Sundberg
46e80702d3 Moved compability macros and declarations into compat.h
Moved some common stuff from quakedef.h and qwsvdef.h into commdef.h
2000-05-17 19:52:41 +00:00
Jeff Teunissen
131cd2b99d You get the idea. 2000-05-17 18:32:30 +00:00
Jeff Teunissen
7647fdd484 Configure.in: minor changes.
include/* -- #defines so that you can #include them more than once.
2000-05-17 18:28:13 +00:00
Marcus Sundberg
91d0005d4f Added stuff in win32/ subdir. 2000-05-17 18:19:46 +00:00
Marcus Sundberg
0802eb72e2 Added Makefile.am with EXTRA_DIST statement so make dist works. 2000-05-17 17:26:31 +00:00
Thad Ward
6393325c6d added directories for the auto* impared compilers config.h files
(not sure if committing empty dirs works :/ )
2000-05-17 13:25:50 +00:00
Bill Currie
c83cb15ede id386 -> USE_INTEL_ASM conversion
better HAVE_SYM_PREFIX_UNDERSCORE checking
2000-05-17 11:57:35 +00:00
Jeff Teunissen
b493557f7f More .gitignore stuff, nuke old Makefiles, fix asm weirdness with
asm_i386.h
2000-05-17 11:25:33 +00:00
Jeff Teunissen
9f36417b5e Fix "_" problems. 2000-05-17 10:22:12 +00:00
Jeff Teunissen
ed16632673 Minor patch to configure.in, added a couple files to a few .gitignore
files.
2000-05-17 10:08:56 +00:00
Jeff Teunissen
906444dfca .gitignore files 2000-05-17 09:43:59 +00:00
Joseph Carter
f5bca8ba17 ghost crosshair bug fixed 2000-05-17 08:07:12 +00:00
Yan Sweitzer
64ac247e0c 2 more exports 2000-05-17 02:58:36 +00:00
Danne
01ab5f4fbe Borland fixes 2000-05-16 13:57:54 +00:00
Danne
b82af01381 Borland fixes. 2000-05-16 13:16:22 +00:00
Bill Currie
4a7f6dfbde getting closer to working glx client
(must remember to check in from top level dir)
2000-05-16 07:22:20 +00:00
Joseph Carter
00f00185f8 view lowering now does actually lower view. 2000-05-16 04:59:51 +00:00
Dan Olson
1d26c02826 Cvar merge... segfault problems... also unknown problems in vid_svga.c 2000-05-16 04:47:41 +00:00
Yan Sweitzer
2fe6997023 Microsoft _vsprintf -> vsprintf particularities 2000-05-15 09:01:47 +00:00
Anton E. Gavrilov
9b46606595 Applied keynum changes from the main tree 2000-05-15 00:33:32 +00:00
Anton E. Gavrilov
1e384f48eb Moved .extern C(BOPS_Error) from quakeasm.h to math.S;
Moved a bunch of .extern C's from quakeasm.h to snd_mixa.S
Removed references to quakeasm.h from math.S, snd_mixa.S, sys_x86.S, and worlda.S
2000-05-14 22:21:59 +00:00
Dan Olson
bfbfc01491 This would be the real fix for stuff left over from the #ifdef massacre.
The last two revsions were failed attempts to do this
2000-05-14 20:25:49 +00:00
Dan Olson
4312654fc2 Merc's speed cheat code ported from oldtree 2000-05-14 19:29:57 +00:00
Dan Olson
1fc4396f12 Revert my dumb error 2000-05-14 18:46:05 +00:00
Marcus Sundberg
d4845db15c Define GLAPIENTRY even if APIENTRY is not defined. 2000-05-14 18:09:31 +00:00
Dan Olson
a5b47d2b45 Fix demos 2000-05-14 17:28:08 +00:00
Marcus Sundberg
f7569b8d0d Whitespace is not allowed before the '#' of pre-processor directives. 2000-05-14 17:04:13 +00:00
Joseph Carter
6e37b33f44 sys.h is no longer part of quakedef.h
sys_wina.S is now sys_x86.S (same as now gone sys_dosa.S, used on Linux too)

Updated Linux Makefile to reflect above

Linux translation table thingy now compiles properly
2000-05-14 16:56:28 +00:00
Joseph Carter
eab1ccdf95 translation table added to sys.h 2000-05-14 16:28:41 +00:00
Yan Sweitzer
cfe425a9d6 added #ifdef WINQUAKE_H .. etc 2000-05-14 09:49:37 +00:00
Yan Sweitzer
b435d22a2f added for clean exports, replaced other references with #include "in_win.h" 2000-05-14 09:48:50 +00:00
Danne
3795744f0a Borland fix to get it compile. 2000-05-14 08:09:43 +00:00
Danne
1a4043711e Some extern and borland build fixes. 2000-05-14 08:00:32 +00:00
Yan Sweitzer
1277d085f0 added a pragma disable warning (win32) 2000-05-14 01:41:22 +00:00
James Brown
0ef098f6f7 api patch 2000-05-14 00:53:11 +00:00
Joseph Carter
1020d5a22c forgotten includes 2000-05-13 23:09:50 +00:00
Joseph Carter
e9a9aecde0 forgot the includes 2000-05-13 20:51:20 +00:00
Dan Olson
497ba1a82f buh bye gl_model.h 2000-05-13 20:47:01 +00:00
Dan Olson
884b19f02d Fix some segs 2000-05-13 20:25:02 +00:00
James Brown
5caa2de451 Removal of nasty #ifdefs :) 2000-05-13 10:42:36 +00:00
Bill Currie
565e135571 GLQUAKE has ben eliminated from all but winquake.h 2000-05-13 09:53:25 +00:00
Bill Currie
5928058c00 hehe, qw-client-glx compiles (probably with lots of stuff missing) but doesn't link 2000-05-13 02:52:36 +00:00
Joseph Carter
64c8e8000d bleh! 2000-05-13 02:42:42 +00:00
Bill Currie
aec72be85e /SW/ clients almost build (don't link). gl_flashblend needs to be hacked in to allow them to link 2000-05-13 00:27:23 +00:00
Bill Currie
7682aedaf7 server compiles again
no clients yet, though
2000-05-13 00:21:24 +00:00
Bill Currie
951dbfb9a8 a (hopefully) better merge of model.h and gl_model.h and a NL and the end of r_local.h 2000-05-13 00:16:00 +00:00
Joseph Carter
9adb98d87e A little more progress 2000-05-12 23:19:23 +00:00
Dan Olson
74c19068e5 gl_* now compiles... need to change around the Makefile before it will link 2000-05-12 19:17:02 +00:00
Dan Olson
74d4cd2399 no more #ifdef SERVERONLY in net_chan.c 2000-05-12 00:11:41 +00:00
Bill Currie
da7fc52b3e forgot to call cl_Cmd_Init :) 2000-05-11 23:49:03 +00:00
Joseph Carter
e89ab48d85 Moved uint32.h to include 2000-05-11 14:43:38 +00:00
Anton E. Gavrilov
e79ac6060b Added the free md4 replacement 2000-05-10 23:48:36 +00:00
Bill Currie
e947605cc5 no longer needed 2000-05-10 13:06:13 +00:00
Bill Currie
d39006971a getting there, just `BoxOnPlaneSide' to go until qw-server links.
Removed last 386 definition bits from headers (I think)
2000-05-10 12:47:50 +00:00
Bill Currie
7372963210 remove id386 definition stuff from the headers
add .gitignore to source and worlda.S
hack Makefile a bit
2000-05-10 12:31:54 +00:00
Joseph Carter
d859383680 Initial revision 2000-05-10 11:29:38 +00:00