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
Bill Currie
290c2f9c0f
+set_vidfullscreen is 95% working for -x11 and -glx. only remaining known problem is mouse grabbing.
2000-05-23 07:33:03 +00:00
Jeff Teunissen
7df8031c9c
menu.c: change "help" to "menu_help" to get rid of error on startup.
...
Add cvs2cl to repository.
2000-05-23 07:29:02 +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
Bill Currie
8ff75f94dc
fix some problems with directories being created in the wrong places or not at all (caused by fs_userpath not being used when it should)
2000-05-23 01:44:20 +00:00
Bill Currie
91a47e083c
remove redundant gamedir stuff
2000-05-22 23:43:52 +00:00
Joseph Carter
cb04fd6496
fix the +gamedir problem and fix my QFile removal
2000-05-22 21:32:14 +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
f29bc45b50
Here it is. No more lockups :) Please don't kill me
2000-05-22 13:29:20 +00:00
Bill Currie
2d640a28ff
forgot to bring these fixes over from OT
2000-05-22 12:43:20 +00:00
Jeff Teunissen
eecba96fe3
Change version number back to 0.1.99pre2 for public test cycle, fix bug in
...
-ggi
2000-05-22 12:10:10 +00:00
Anton E. Gavrilov
a73a779486
Console editing stuff
2000-05-22 09:24:07 +00:00
Bill Currie
3b1fad05a4
fix a compile error
2000-05-22 08:32:51 +00:00
Anton E. Gavrilov
c3cc61bb94
Added K_CAPSLOCK and KP_* keys support for windows targets
2000-05-22 07:59:30 +00:00
Joseph Carter
33a60edde1
oops
2000-05-22 07:49:33 +00:00
Joseph Carter
e9463e2db9
pretty much finishes source/*
2000-05-22 07:46:47 +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
Joseph Carter
fa7a4882ac
*sigh*
2000-05-22 07:10:16 +00:00
Thad Ward
1cb980a02e
removed a silly #else case on an ifdef
2000-05-22 07:07:01 +00:00
Anton E. Gavrilov
c6abe56fd1
Client jump prediction fix;
...
CVAR_FIXME cleanup.
2000-05-22 07:03:41 +00:00
Joseph Carter
87f6b96eb6
GPL thingy
2000-05-22 06:58:14 +00:00
Joseph Carter
7b1b82a16b
C done
2000-05-22 06:46:35 +00:00
Jeff Teunissen
aeca63df3c
win32 fixes.
2000-05-22 06:37:26 +00:00
Thad Ward
baa3a9e1d6
removed gl_test.c from the client vc project...
2000-05-22 06:36:33 +00:00
Jeff Teunissen
89cdc06e0e
Updated checklist, configure.in (0.2.0), cvar.c
2000-05-22 05:51:05 +00:00
Bill Currie
ea1386f190
fixes for __attribute__((format)) (I'll commit that /after/ release) and freelook
2000-05-22 05:47:14 +00:00
Anton E. Gavrilov
aec65c68a2
Execution of autoexec.cfg on gamedir change is temporarily disabled
2000-05-22 05:00:44 +00:00
Anton E. Gavrilov
a454cf411f
Add prediction for current player's effects
2000-05-22 04:54:06 +00:00
Anton E. Gavrilov
4167d8913c
Replace "WinQuake" window header with PROGRAM (---> "QuakeForge")
2000-05-22 04:43:32 +00:00
Anton E. Gavrilov
f8604f0735
sys_sleep is 8 by default now;
...
CVAR_FIXME cleanup
2000-05-22 04:19:49 +00:00
Jeff Teunissen
9ffa5f9e1d
Make gas shut up about indirect jumps without *
2000-05-22 03:41:14 +00:00
Jeff Teunissen
ad03ff24de
gl_vidlinux: DIE DIE DIE!
...
cvar.c: use va() for Cvar_SetValue
r_view.c: cvar cleanups
sirf8.S: whitespace
2000-05-22 03:27:00 +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
Anton E. Gavrilov
bc37d46f5b
Add #include "draw.h";
...
CVAR_FIXME cleanup.
2000-05-22 01:05:57 +00:00
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