Commit graph

299 commits

Author SHA1 Message Date
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