Commit graph

670 commits

Author SHA1 Message Date
Anton E. Gavrilov
a7c238d27c Project files update due to common.c split 2000-05-22 00:52:13 +00:00
Anton E. Gavrilov
f070fecc94 Include string.h/strings.h to avoid memcpy() warning 2000-05-21 23:07:22 +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
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
e9551b80d8 build.c must die. build_number counts from 22.12.99 now 2000-05-21 22:07:02 +00:00
Marcus Sundberg
d2ee6e3995 Made gamma CVAR_ARCHIVE. 2000-05-21 21:41:04 +00:00
Marcus Sundberg
c6c333c3ee Changed basepath -> userpath 2000-05-21 21:39:53 +00:00
Anton E. Gavrilov
cee2729230 MSVC doesn't have this file 2000-05-21 21:16:01 +00:00
Jeff Teunissen
c40d97b99c s/fs_basedir/fs_userdir/g 2000-05-21 20:28:44 +00:00
Anton E. Gavrilov
dedb64fc98 build.c must die 2000-05-21 20:28:20 +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
a1c3030387 Updated old QuakeForge cruft to newtree style. Include win32/fnmatch.h if we don't have fnmatch.h 2000-05-21 20:10:49 +00:00
Marcus Sundberg
28b417ecb9 Added fnmatch.c to Win32 system files. 2000-05-21 20:00:53 +00:00
Marcus Sundberg
42605dc63e Moved svs definition to sys_win/unix.c as both the client and server need it. 2000-05-21 19:59:44 +00:00
Marcus Sundberg
126ce0c067 Fixed includes. 2000-05-21 18:40:10 +00:00
Danne
de1c00194f Headerfile addons for win32 2000-05-21 12:51:42 +00:00
Danne
a920dc69e8 Q_atoi -> atoi + headerfile addons. 2000-05-21 12:50:06 +00:00
Danne
5da01d2b9b Removing extra line - uh 2000-05-21 12:40:05 +00:00
Danne
c0f3a85970 Fixing missing headers for win32 - this one caused nasty crash :-) 2000-05-21 12:39:18 +00:00
Danne
c88a6fcccd Header fixups for win32 2000-05-21 11:32:35 +00:00
Danne
bb43135968 Needed by win32 targets 2000-05-21 11:31:59 +00:00
Danne
6ed6543fef Header file addons & Q_atoi -> atoi changes for WIN32 2000-05-21 11:28:37 +00:00
Bill Currie
5f3c129314 fix a segfault cause by cmd line parsing 2000-05-21 10:21:08 +00:00
Bill Currie
3594de9738 command line now overrides what's in the config file 2000-05-21 10:08:27 +00:00
Danne
1c81f61d0d Fixups for new header stuff. 2000-05-21 09:59:00 +00:00
Bill Currie
848bfe1ce6 fix make dist 2000-05-21 09:58:14 +00:00
Bill Currie
ce25c13a65 command line and config file parsing ala OT 2000-05-21 09:49:25 +00:00
Joseph Carter
925cb60afa fix GGI 2000-05-21 09:36:35 +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
Joseph Carter
e471c785d8 Need GL_MODULATE for Draw_AlphaPic under Mesa... 2000-05-21 08:18:00 +00:00
Bill Currie
3bcb4ed046 is_server being true for the clients doesn't help make the protocol work :)
That's why the client couldn't connect to the server: it was using the server's
version of the protocol.
2000-05-21 07:19:41 +00:00
Marcus Sundberg
9d4db93b27 Added sound and CD configuration.
Compile system, sound and CD drivers into libraries which we link against.
Now Mingw32 compilation works.
2000-05-21 00:15:03 +00:00
Marcus Sundberg
84ff3a3c1b Fixed mingw32 warnings. 2000-05-21 00:08:27 +00:00
Marcus Sundberg
3e560f5cfd Mingw32 seems to need INITGUID defined. 2000-05-20 22:33:42 +00:00
Marcus Sundberg
f1edd57186 Move Sys_Init after Cvar_Init. 2000-05-20 22:13:45 +00:00
Danne
cba34a7572 sprintf -> snprintf 2000-05-20 10:30:09 +00:00
Danne
37e42f35c6 sprintf -> snprintf, vsprintf -> vsnprintf 2000-05-20 10:27:34 +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
46a2fffe15 sprintf -> snprintf 2000-05-20 08:23:41 +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
James Brown
b2a8652d33 My stuff. :P 2000-05-20 04:48:51 +00:00
Marcus Sundberg
88701b5038 Added MGL target. 2000-05-20 03:27:04 +00:00
Marcus Sundberg
735ace6c0c Fixed warnings. 2000-05-20 03:25:47 +00:00
Marcus Sundberg
e31f9fa9cd Moved vid_win.c -> vid_mgl.c, and fix lots of warnings. 2000-05-20 03:24:57 +00:00
Marcus Sundberg
52867ce15d Moved sys_unix.c and sys_linux.c into sys_linux.c, cl_sys_unix.c and
sv_sys_unix.c.
2000-05-20 02:00:28 +00:00
Marcus Sundberg
c7d068a829 Fix warning in MSVC++. 2000-05-20 01:47:54 +00:00
Marcus Sundberg
acc0d2c5b8 Fixed up system driver selection.
Made qf-server compile with Mingw32.
2000-05-20 01:15:14 +00:00
Marcus Sundberg
e5a8b1dfab Fix waring about unused var. 2000-05-20 01:00:59 +00:00
Marcus Sundberg
f3bd9acd2e Removed some unused stuff. 2000-05-20 01:00:20 +00:00
Marcus Sundberg
e8cf54f5f3 Merged net_wins.c with net_udp.c. 2000-05-20 00:04:33 +00:00
Marcus Sundberg
ea61fa1d09 Don't use the Win32 pragmas with gcc. 2000-05-19 23:51:56 +00:00
Marcus Sundberg
5974810713 Fixed TRU64 warning. 2000-05-19 23:17:41 +00:00
Marcus Sundberg
6fb394d259 Added GGI target to build system. 2000-05-19 22:42:44 +00:00
Marcus Sundberg
4163c252b3 Made Makefile find includes. 2000-05-19 22:31:14 +00:00
Danne
559f05e2c7 Fixed another crash.
Disabled lcd_x cvar - until someone reimplements it.
2000-05-19 16:19:09 +00:00
Danne
b1331433f7 Added checks for possible height=0 crashes to GL target too. 2000-05-19 14:41:10 +00:00
Danne
4cf13bcdbf Fix for showstopper crash in software client.
Also added checks for possible height=0 crashes to GL target too.
2000-05-19 14:38:45 +00:00
Thad Ward
a1bca14fa8 added vid_wgl.c (renamed from gl_vidnt.c) to the client .dsp
changed the name of the output exe files from vc to qf-*.exe
2000-05-19 14:19:22 +00:00
Danne
b3fc949d8c Made Minimized qboolean for WIN32 2000-05-19 13:35:17 +00:00
Danne
fe35e4a69c SND_Init SND_Dma def changes. 2000-05-19 13:08:27 +00:00
Danne
52f0fe0bde Removed unneeded Visual C defs. 2000-05-19 12:58:54 +00:00
Anton E. Gavrilov
6a6185458b Moved cvar initialization from CL_Init() to CL_InitCvars() 2000-05-19 10:48:21 +00:00
Anton E. Gavrilov
9a8e82e5df Oops, forgot an extern. 2000-05-19 10:09:19 +00:00
Anton E. Gavrilov
34365188bc #include <config.h> --> #include "config.h";
ClearAllStates() fix.
2000-05-19 08:33:31 +00:00
Anton E. Gavrilov
04e41775cd This file was renamed to vid_wgl.c 2000-05-19 08:32:09 +00:00
Anton E. Gavrilov
7ddd1c5ae5 Former gl_vidnt.c.
Already with #include "config.h" ("" in place of <>) and ClearAllStates() fix.
2000-05-19 08:29:11 +00:00
Anton E. Gavrilov
1f97d4fc63 Added checking of cvar aliases in PF_cvar_set();
Added a warning message when the cvar is not found (should that be DPrint?).
2000-05-19 07:48:06 +00:00
Anton E. Gavrilov
0cd42f8b1d Added Cmd_CmdList_f() 2000-05-19 07:38:14 +00:00
Thad Ward
4a5ffaed66 fix a win32 build error in cl_main.c 2000-05-19 04:37:16 +00:00
Brian Koropoff
0140835694 Server list stuff added to newtree! 2000-05-19 04:33:12 +00:00
Anton E. Gavrilov
00abaed37a Fixed a harmless id bug (invalid setting of maxspectators) 2000-05-19 04:00:43 +00:00
Joseph Carter
195847715d explain what and why a bit more 2000-05-19 03:10:33 +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
739ff24b70 Removed Sys_Init() from Host_Init() --- who put it there? 2000-05-19 00:10:18 +00:00
Anton E. Gavrilov
1f8b0fd704 Changed R_LoadSky_f() to R_LoadSky_F(void) to avoid warnings on MSVC.
/me grumbles: why do i have to do that again?
2000-05-18 22:01:46 +00:00
Anton E. Gavrilov
c97b82d333 Keypad stuff 2000-05-18 20:54:49 +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
Jeff Teunissen
00aa3557d4 Cleaned up the build system...thanks to some configure hacking, -glx is
now only built if X11 is available, and defines its own CFLAGS and LIBS
variables to be empty if dirs are not specified on the
configure command-line.

Oh, yeah. OPENGL_* are now GLX_*. Sorry. :)
2000-05-18 13:15:10 +00:00
Yan Sweitzer
39d627ef10 qw-server .s custom build had disappeared 2000-05-18 08:53:50 +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
1ce7197bab rename snd_linux.c to snd_oss.c in prep for snd_alsa.c 2000-05-18 03:44:30 +00:00
Brian Koropoff
549ceb75d4 Fixes to the options menu, including several segfaults and a cursor problem. 2000-05-18 03:00:16 +00:00
Bill Currie
116daa40e9 fix the seg on startup with -nosound 2000-05-18 02:46:05 +00:00
Joseph Carter
a12e476479 If new map requested and not found, try to restart the current one. If
that also fails, DIE GRACEFULLY rather than continue to run with things
all screwed up from the intermission settings.  Fixes weird behavior under
any mod where a map can change.
2000-05-18 01:36:42 +00:00
Brian Koropoff
3a88e0f876 Oddone, try coding on < 10 beers ;P 2000-05-18 00:31:48 +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
ad7b0f9c67 Re-arranged includes a bit to fix TRU64 warnings 2000-05-17 20:12:23 +00:00
Marcus Sundberg
826c403823 Added CDAudio_Pause 2000-05-17 20:11:55 +00:00
Marcus Sundberg
f89f7fc5a4 Arm with #ifdef USE_INTEL_ASM 2000-05-17 19:59:39 +00:00
Marcus Sundberg
1d1726fd46 Fix X-detection. 2000-05-17 19:51:02 +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
81115b3719 Added EXTRA_DIST 2000-05-17 18:19:05 +00:00
Marcus Sundberg
3bbefb1a65 Added GGI client. 2000-05-17 17:28:22 +00:00
Jeff Teunissen
e68f73a621 configure updates. GL seems to build now. 2000-05-17 13:39:16 +00:00
Bill Currie
e5bda6fdc5 ignore Makefile 2000-05-17 12:14:53 +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
Bill Currie
832af13c12 all files now include config.h 2000-05-17 10:03:19 +00:00
Jeff Teunissen
906444dfca .gitignore files 2000-05-17 09:43:59 +00:00
Jeff Teunissen
7e5af715bb Automake stuff. Don't blame me for this. ;)
You will need to run automake --add-missing to create the necessary
symlinks for install-sh, etc.
2000-05-17 09:25:03 +00:00
Anton E. Gavrilov
04a4e65a9a Added the jumping bug fix (from the main qf tree) 2000-05-17 09:11:11 +00:00
Bill Currie
0b7e010ad4 removed my (commeented out) borked code. Thanks, Yanster. 2000-05-17 08:11:42 +00:00
Joseph Carter
dc7546dfbd serverinfo sv_allowflymode is now serverinfo playerfly 2000-05-17 08:08:09 +00:00
Joseph Carter
f5bca8ba17 ghost crosshair bug fixed 2000-05-17 08:07:12 +00:00
Bill Currie
c193373d9e rearange things a little so it's a bit neater 2000-05-17 02:46:43 +00:00
Brian Koropoff
e30c17729c Various things from theoddone. For some reason he can't commit... 2000-05-17 01:52:15 +00:00
Bill Currie
76fe294e09 include GGI dependency files 2000-05-16 22:45:23 +00:00
Marcus Sundberg
ae2e1809e3 Added GGI target. 2000-05-16 22:04:03 +00:00
Yan Sweitzer
efc900e371 fixed a bug in Cvar_Info() 2000-05-16 20:55:45 +00:00
Brian Koropoff
55fbc12c3d Replaced the runtime endien check with #ifndef WORDS_BIGENDIEN. It may need some more work. Also, it will now exec autoexec.cfg when you connect to a server. 2000-05-16 20:24:26 +00:00
Dan Olson
df7af60578 A cvar fix that I overlooked last night 2000-05-16 19:04:53 +00:00
Danne
01ab5f4fbe Borland fixes 2000-05-16 13:57:54 +00:00
Thad Ward
bd1cc58799 partially fixed win32 from the cvar conversion... 2000-05-16 13:12:55 +00:00
Bill Currie
f8a6f9cb0b no more CVAR_FIXME in here :) 2000-05-16 07:48:14 +00:00
Bill Currie
cab6a46c03 no longer segs, but mouse doesn't work!!! 2000-05-16 07:43:31 +00:00
Bill Currie
88b110dd62 glx now gets to where I can type "quit" without segging 2000-05-16 07:31:03 +00:00
Bill Currie
285f02e006 getting closer to working glx client 2000-05-16 07:21:28 +00:00
Bill Currie
5e6187be19 client now starts up without segging (X11, anyway) 2000-05-16 06:33:37 +00:00
Bill Currie
119270c6fc server now starts up without segging from the cvar update 2000-05-16 06:28:50 +00:00
Bill Currie
fa198d11f3 alsa sound support for linux. added now in anticipation of autoconf 2000-05-16 05:40:02 +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
Thad Ward
5c58a21a1c cleaned up a warning about not all paths return a value 2000-05-16 03:28:20 +00:00
Bill Currie
c828007467 dunno how this showed up again, I thought I removed it (and it was in the attic when I checked cvsweb, so I don't know what's going on) 2000-05-15 23:33:15 +00:00
Bill Currie
6f95f89478 remove a /* from a comment 2000-05-15 09:52:29 +00:00
Yan Sweitzer
1efb92f899 sprintf -> snprintf
vsprintf -> vsnprintf
2000-05-15 08:59:12 +00:00
Bill Currie
1bb513d584 bah, typo 2000-05-15 01:45:11 +00:00
Joseph Carter
a323e4b5a7 added key for flymode - serverinfo sv_allowflymode 1 to turn on the
jetpack for Mega2k.  This is NOT the final name for the key and you won't
be able to change it after I talk to Ambush (Mega2k should set it for you
I hope..)
2000-05-15 01:42:30 +00:00
Bill Currie
a7b5176e68 found this bug in the main tere. We should die gracefully if we can't allocate memory for the zone. 2000-05-15 00:43:19 +00:00
Yan Sweitzer
f29f8e1415 accomodated cl_parse/gl_parse/cl_trans/gl_trans changes 2000-05-15 00:20:21 +00:00
Yan Sweitzer
39de5bdcf9 accomodated cl_parse/gl_parse/cl_trans/gl_trans changes 2000-05-15 00:19:15 +00:00
Anton E. Gavrilov
875aec747f Applied win9x priority fixes from the main tree
Removed two unused headers (<sys/*>)
2000-05-15 00:09:45 +00:00
Joseph Carter
7e4a424854 Add the QSG and QF version keys 2000-05-14 23:58:57 +00:00
Anton E. Gavrilov
43b92078d2 - All targets (SW, GL Server) use the same output dir (Debug/Release) now.
- Server uses assembler (world.S, math.S).
2000-05-14 23:41:27 +00:00
Anton E. Gavrilov
4bf5222841 Killed the last #ifdef SERVERONLY (actually, changed to is_server) 2000-05-14 23:13:14 +00:00
Marcus Sundberg
440cc9f7d3 gl_parse.c doesn't exist anymore. 2000-05-14 23:10:09 +00:00
Bill Currie
b6127df548 clean up the parse code so that only NewTranslation is duplicated, not the whole module. 2000-05-14 23:04:47 +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
Anton E. Gavrilov
e459dbd407 Added #include <sys.h> 2000-05-14 21:36:19 +00:00
Joseph Carter
4aaa58287e commented my changes 2000-05-14 21:11:24 +00:00
Yan Sweitzer
ac02d268e0 crash fix in PR_ExecuteProgram() 2000-05-14 20:45:26 +00:00
Anton E. Gavrilov
7a21e4fbd3 Moved Sys_DoubleTime() to sys_win.c, added timeBeginPeriod( 1 ) to sv_sys_win.c -> Sys_Init(). 2000-05-14 20:34:28 +00:00
Yan Sweitzer
f1dab8604b crash fix in PR_ExecuteProgram() 2000-05-14 20:29:32 +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
Anton E. Gavrilov
4baa81458a *** empty log message *** 2000-05-14 20:19:18 +00:00
Dan Olson
4312654fc2 Merc's speed cheat code ported from oldtree 2000-05-14 19:29:57 +00:00
Marcus Sundberg
71f7f1836e Imported nullcursor code from vid_x11.c
Changed dpy -> x_disp and win -> x_win like vid_x11.c calls them.
2000-05-14 19:27:44 +00:00
Marcus Sundberg
8d35343a0a Imported nullcursor code from QF. 2000-05-14 19:24:44 +00:00
Dan Olson
1fc4396f12 Revert my dumb error 2000-05-14 18:46:05 +00:00
Marcus Sundberg
a201c4686c Fix includes. 2000-05-14 18:39:37 +00:00
Danne
696a534fa6 Added include sys.h 2000-05-14 18:11:51 +00:00
Marcus Sundberg
a3a9384eec Cast isspace() and tolower() arguments to int to avoid warnings. 2000-05-14 18:10:56 +00:00
Marcus Sundberg
14a56b7317 Need string.h for memset() 2000-05-14 18:08:53 +00:00
Marcus Sundberg
37f9a98d7d Removed silly Linux-specific includes. 2000-05-14 18:06:53 +00:00
Marcus Sundberg
597a695630 Removed pointless #ifdef __alpha__ 2000-05-14 18:01:19 +00:00
Marcus Sundberg
eebb6426aa Removed pointless #ifdef __alpha__
Fixed alignment of size in D_SCAlloc() for 64-bit platforms.
2000-05-14 18:00:34 +00:00
Marcus Sundberg
1e308e0f33 Removed unused declaration. 2000-05-14 17:55:02 +00:00
Dan Olson
a5b47d2b45 Fix demos 2000-05-14 17:28:08 +00:00
Marcus Sundberg
ba644e67c7 Check return code from mmap() properly. 2000-05-14 17:24:35 +00:00
Dan Olson
a254c348e7 Added some GPL headers 2000-05-14 17:08:28 +00:00
Joseph Carter
8f8bf4bd44 now includes sys.h 2000-05-14 17:04:33 +00:00
Marcus Sundberg
f7569b8d0d Whitespace is not allowed before the '#' of pre-processor directives. 2000-05-14 17:04:13 +00:00
Marcus Sundberg
845f0c80c0 Fixed *** No rule to make target `CPPFLAGS\' error. 2000-05-14 17:03:34 +00:00
Joseph Carter
72c7743812 FindFile telling you it found the file is a devel feature and finally
even acts like it.  Need developer set to 1 to use it now.
2000-05-14 17:03:08 +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
Danne
31b8be8648 *ver MUST be numerical - clients to ATOI with it. 2000-05-14 16:54:45 +00:00
Marcus Sundberg
8e678728b0 Fixed a nasty bug that only showed up on 64-bit platforms (or platforms
where sizeof(float) != sizof(float *) to be precise).
2000-05-14 16:42:16 +00:00
Thad Ward
56f31454c5 added libcmt to the ignorelibs, cause it was conflicting with libc 2000-05-14 12:46:15 +00:00
Yan Sweitzer
6fb48ec9e5 fixed external ref to scr_skipupdate 2000-05-14 10:46:48 +00:00
Yan Sweitzer
d2f2670436 damn ! 2000-05-14 10:45:57 +00:00
Yan Sweitzer
c763e497c2 removed mgl for GL targets
added sw_client.c
2000-05-14 10:40:56 +00:00
Yan Sweitzer
bfb28427a9 cleaned external references to in_win.c
include in_win.h
2000-05-14 09:57:28 +00:00
Yan Sweitzer
04d765301d identical to sys_wina.s, removed 2000-05-14 09:50:33 +00:00
Yan Sweitzer
e6e8cbb8f4 added GL target, output same location as software
paths to scitech mgl and directx sdk are _not_ specified, make sure they're in your paths
2000-05-14 09:38:33 +00:00
Bill Currie
bb3c299bf5 Hopefully, this will work for both 3dfx and non-3dfx 2000-05-14 08:25:10 +00:00
Danne
d65d73154c Extern fixes. 2000-05-14 08:16:28 +00:00
Danne
c038f1f713 More extern fixes. 2000-05-14 08:05:34 +00:00
Danne
40b2640b33 Tiny fix. Wish me luck. Dabb. 2000-05-14 07:40:41 +00:00
Dan Olson
e74c0bc8f5 Split up some of *_view.c 2000-05-14 07:19:15 +00:00
Thad Ward
b0ced49de7 oops.. didn't realize that there was an #ifdef __linux__ around the call to s_init 2000-05-14 06:20:41 +00:00
Dan Olson
96664f63e7 Fix my stupid error that I blamed on taniwha. Sorry taniwha. :( 2000-05-14 05:45:27 +00:00
Thad Ward
9d6aba3598 moved sound initializatio out of vid_* to cl_host, where it belongs
(it seems i missed a file or two)
2000-05-14 03:34:24 +00:00
Thad Ward
d8b2f366a1 moved sound initializatio out of vid_* to cl_host, where it belongs 2000-05-14 03:32:06 +00:00
Dan Olson
b748d7bd39 some aesthetic stuff 2000-05-14 03:29:32 +00:00
Bill Currie
6e74823980 take care of a fscked gl_model.c and some other bits (not sure what happened) I probably killed theoddone33's seg fixes :(
rename gl_vidlinuxglx.c to vid_glx.c
2000-05-14 02:32:27 +00:00
Joseph Carter
289610088d This fixes GL.
It may not work well for people using non-3dfx cards, someone PLEASE test
it!
2000-05-14 00:32:35 +00:00
Joseph Carter
b434a9194b gitignore update 2000-05-14 00:12:13 +00:00
Joseph Carter
a1db7e86ef Texture cache mismatch fix (I think, since I'm working blind here..) 2000-05-14 00:11:12 +00:00
James Brown
9b362130b4 Added #include for windows gl 2000-05-13 23:49:35 +00:00
James Brown
e42f78b356 Updated a few paths and things. 2000-05-13 23:44:32 +00:00
James Brown
0903768083 Windows GL makefile 2000-05-13 23:41:32 +00:00
James Brown
ef696486fd Server 'crash on disconnect' bugfix 2000-05-13 23:34:08 +00:00
James Brown
fb9afe55dd Fixed wrong #ifdef 2000-05-13 23:19:35 +00:00
Joseph Carter
226ab58a84 Flymode works. 2000-05-13 22:51:05 +00:00
Dan Olson
b58329b37a Put the crosshair back in 2000-05-13 21:45:42 +00:00
Joseph Carter
01eceda77e Removed the string QuakeWorld from places to help avoid stepping on Id's
tues (not that they care to be honest..)  VERSION is gone, use the strings
QW_VERSION and QF_VERSION.  I'd like QW_VERSION to go away but I don't
think we're ready to screw with that just yet.  Note, those are strings,
not floats.

Also defined QSG_STANDARD and set all the star keys the current qw-server
does.

qw-* -> qf-*, unlike the main tree this one is not planned to be just QW.
2000-05-13 20:51:02 +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
Joseph Carter
21c1991853 cl_verstring makes its first appearance 2000-05-13 20:10:50 +00:00
Dan Olson
ee500c9b0b added extern viddef_t vid; to each of the vid_* files upon request 2000-05-13 17:37:19 +00:00
James Brown
8042011eb9 *** empty log message *** 2000-05-13 11:06:43 +00:00
James Brown
6bfed8848a Ender's Win32 Server + SW Client stuff :) 2000-05-13 11:04:27 +00:00
James Brown
0ba1b5a805 whoopsie.. Needed to #include <windows.h> 2000-05-13 10:45:29 +00:00
James Brown
f33375e439 ANOTHER serveronly ifdef.. evil! 2000-05-13 10:43:05 +00:00
James Brown
bfa92f1fae Removed include for winquake.h, not used and caused use of #ifndef SERVERONLY 2000-05-13 10:39:07 +00:00
James Brown
7630423d40 Done a pathetic attempt at cleaning some code up. :P 2000-05-13 10:32:45 +00:00
James Brown
afd8217d2d Added a few windows-specific (and my development enviroment :) ignores. 2000-05-13 10:29:00 +00:00
Bill Currie
0cce8322b1 GLQUAKE has been erradicated from the .c files (unfortunatly not the .h files) 2000-05-13 09:23:01 +00:00
Bill Currie
05bb1f14b1 remove unneeded include 2000-05-13 08:15:28 +00:00
Yan Sweitzer
670a264470 putch needs <conio.h> -- Yanster 2000-05-13 05:32:48 +00:00
Bill Currie
ca29015853 add qw-client-glx 2000-05-13 05:31:11 +00:00
Bill Currie
c0a1d28981 woohoo, it links 2000-05-13 05:29:57 +00:00
Bill Currie
2dae2509c4 almost there, just one more symbol 2000-05-13 05:24:54 +00:00
Bill Currie
680fc4af16 /almost links/ 2000-05-13 05:20:33 +00:00
Joseph Carter
f1b6385ea4 fixed netgraph 2000-05-13 04:59:05 +00:00
Thad Ward
d8a45153e0 commented out some "unreferenced local variables" 2000-05-13 04:44:12 +00:00
James Brown
134a94cd8a Fixed some BAD coding (was redeclaring errno). 2000-05-13 04:03:04 +00:00
Bill Currie
19571d83d5 remove lonely gcc line 2000-05-13 03:00:08 +00:00
Bill Currie
b6374867c1 remove #(CL_GLX_name) on clean and include all dependencies 2000-05-13 02:56:00 +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
8236ef7594 this fixes software for the moment 2000-05-13 02:16:41 +00:00
Joseph Carter
05fd12e05f GPL thingy 2000-05-13 01:57:48 +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
3f0635e210 remove sys_win.c.client. if it's still needed, it's in cvs
remove some GLQUAKEs from tho others. no client builds atm :(, but then neither does the server :/
2000-05-12 23:45:09 +00:00
Joseph Carter
9adb98d87e A little more progress 2000-05-12 23:19:23 +00:00
Bill Currie
2464548ffd fix this bug before it bites anyone :) 2000-05-12 23:10:39 +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
Joseph Carter
7d67cc2e7c quakedef.h removed 2000-05-12 16:16:29 +00:00
Bill Currie
47f93d8d41 trying to get gl going. make accepts the list, but the GL files don't want to play 2000-05-12 08:13:08 +00:00
Anton E. Gavrilov
0cb1548d34 *** empty log message *** 2000-05-12 04:01:20 +00:00
Anton E. Gavrilov
bb8b80ea0a sys_win.c: win32-specific stuff, common between client and server; moved Sys_mkdir() here
cl_sys_win.c: win32-specific client stuff.  Added qboolean is_server = false; renamed filelength() to wfilelength()
sv_sys_win.c: win32-specific server stuff.  Added qboolean is_server = true;
2000-05-12 03:44:21 +00:00
Anton E. Gavrilov
a931568d6b Added MSVC project files (no GL yet) 2000-05-12 01:49:43 +00:00
Bill Currie
d94abb7f29 add the client binaries 2000-05-12 00:23:08 +00:00
Bill Currie
0ae1fc6f3f SERVERONLY? what SERVERONLY? :) the only files left with it are windows specific 2000-05-12 00:21:53 +00:00
Dan Olson
74d4cd2399 no more #ifdef SERVERONLY in net_chan.c 2000-05-12 00:11:41 +00:00
Bill Currie
5879669155 no more SERVERONLY in model.c :) 2000-05-12 00:09:16 +00:00
Bill Currie
da7fc52b3e forgot to call cl_Cmd_Init :) 2000-05-11 23:49:03 +00:00
Bill Currie
d6e0069c69 almost done. only net_chan.c left to fix before client links, but still need to sort out two SERVERONLYs in model.c. All functions are split out, but two code snippets remain to be sorted. 2000-05-11 23:06:57 +00:00
Bill Currie
ace849a9be create an SV_Error wrapper for the client to help tidy up model.c 2000-05-11 22:24:46 +00:00
Joseph Carter
38f9b705b9 Whee! Every source file just got edited. Added the QF-style GPL header
to the top.  What I didn't add was descriptions.  Someone else wanna take
those on?
2000-05-11 16:03:29 +00:00
Joseph Carter
e89ab48d85 Moved uint32.h to include 2000-05-11 14:43:38 +00:00
Dan Nelson
4bc76abc78 Neither -ldl nor -lpthread are needed 2000-05-11 14:25:50 +00:00
Joseph Carter
81f38bb9ca Moved vid_x.c -> vid_x11.c 2000-05-11 14:13:35 +00:00
Bill Currie
9d6bb97e10 ok, -x11 target now tries to link (when using make -j) 2000-05-11 13:51:14 +00:00
Bill Currie
d5214f07a2 fix a screwup with math.S
turns out make doesn't like files being included more than once (duplicate .d files)
2000-05-11 13:45:45 +00:00
Bill Currie
44deb188ec client (svga) almost links now. just gotta fix up net_chan.c and model.c wrt SERVERONLY 2000-05-11 13:30:04 +00:00
Bill Currie
ee16312bb8 clien (svga) compiles, but doesn't link yet (so clients are disabled for now) 2000-05-11 13:15:59 +00:00
Bill Currie
9611170a38 "another one bites the dust, DN Dn dn" (SERVERONLY) 2000-05-11 12:00:26 +00:00
Bill Currie
a236fa53e6 split out the server and client specific stuff from cvar.c into sv_cvar.c and cl_cvar.c respectively 2000-05-11 10:04:50 +00:00
Bill Currie
0468f2804e split out client specific stuff from cmd.c to cl_cmd.c 2000-05-11 09:44:51 +00:00
Bill Currie
f66db72a7e remove a SERVERONLY 2000-05-11 08:50:41 +00:00
Bill Currie
ec2526b44b merged. much easier once I realised I was trying too hard :) 2000-05-11 08:39:08 +00:00
Bill Currie
393bf43fee d'oh 2000-05-11 07:07:17 +00:00
Bill Currie
a875ed2eed more mods to bring the diff of model.c and modle.c.cleint closer before doing the hack job 2000-05-11 02:07:02 +00:00
Bill Currie
2821e93eda marginally closer to properly separated cl and sv model.c 2000-05-11 01:45:04 +00:00
Bill Currie
d39830f804 fix legal problems with md4 2000-05-10 23:54:50 +00:00
Anton E. Gavrilov
e79ac6060b Added the free md4 replacement 2000-05-10 23:48:36 +00:00
Bill Currie
3a15f6cb4e swap cleint as server versions of sys_win.c 2000-05-10 23:17:39 +00:00
Bill Currie
525f2b78f4 warnings fix for older gcc/egcs 2000-05-10 22:11:27 +00:00
Dan Olson
b139acafc2 ^M cleanup, and qw-server compiles with -Werror 2000-05-10 20:33:16 +00:00
Bill Currie
6a4befeb00 fix the BoxOnPlaneSide problem the right way 2000-05-10 12:57:04 +00:00
Bill Currie
4a150c4d4a links!!!!! 2000-05-10 12:51:12 +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
Bill Currie
4b8c2182a3 create a makefile to get going
swap server and client model.c for now
2000-05-10 12:09:20 +00:00
Joseph Carter
d859383680 Initial revision 2000-05-10 11:29:38 +00:00