Maddes Buecher
05df2f53f2
Changed all .C files to fit the Coding Style Guide
2000-08-20 13:33:48 +00:00
Maddes Buecher
88a9d8d68a
Corrected if-statement and added explicit brackets
2000-08-17 19:38:40 +00:00
Joseph Carter
e9766bdd4a
fs_gamebase cvar added, defaults to base or id1, depending on newstyle's
...
setting. It's a CVAR_ROM, so the only place you can change it is from the
cmdline or global config file.
2000-05-20 01:59:54 +00:00
Bill Currie
10224b1d00
delay setting the CVAR_ROM bit for fs_*path so they can be overridden by the command line
2000-05-11 11:43:49 +00:00
Bill Currie
976e1dcdda
apply slist related patches from snax
2000-05-06 11:01:16 +00:00
Dan Olson
84e95dd1e6
snax's server list patches. Credit given in AUTHORS
2000-05-04 00:58:26 +00:00
Thad Ward
8cefba82e2
removed the #ifdef GLOBAL_CFG_FILE from host.c that someone put in, and added
...
a #define GLOBAL_CFG_FILE to win32/config.h
2000-04-29 05:49:07 +00:00
Tony Tyson
3d58770b4e
Trivial fix for WIN32 version when GLOBAL_CFG_FILE is not defined.
2000-04-28 02:46:02 +00:00
Dan Olson
4771585877
prevent an annoying and unecessary warning message on uquake shutdown under
...
certain conditions
2000-04-27 23:09:42 +00:00
Bill Currie
e94c1488ac
shuffle things around so gamedir works early on in the piece. Also put it into qw-client in the first place. grr Unfortunatly, doesn't fix our class change problem :(
2000-04-27 09:25:38 +00:00
Bill Currie
e0d55e9c19
fix knghtbrd's segfault. Make two passes at the config file just like the command line.
2000-04-27 02:07:29 +00:00
Bill Currie
af8f5e501b
execute all commands in quakeforge.conf, not just set
2000-04-26 23:43:46 +00:00
Joseph Carter
5ce33303ac
slight cleanup of taniwha's global config stuff.. YES another -D on the
...
cmdline to gcc. *sigh* This is the "proper"(?) way to do what we're
doing. Shouldn't affect anything for win32.
2000-04-26 16:12:03 +00:00
Bill Currie
b7b9937dcb
Add global config file loading. Fully autoconfiscated (Coderjoe: you'll need to add onother #define to wins/config.h). Currently, only set commands are executed (easy enough to change). if ${prefix} is /usr, the global config file is /etc/quakeforge.conf, otherwise it will be ${prefix}/etc/quakeforge.conf. The full path to the config file can be specified with (eg) --with-global-cfg-file=/usr/etc/quakeforge.rc.
2000-04-26 13:24:13 +00:00
Bill Currie
95393325ad
add a comment giving a little info on what's going on with the command line commands.
2000-04-20 08:58:07 +00:00
Bill Currie
f29bffb2ff
move +set handling as early as possible
2000-04-20 08:52:59 +00:00
Joseph Carter
8a65ae8ca9
If we treat MOVETYPE_WALK as MOVETYPE_PUSH the catapult in df42 seems to
...
behave itself a little more often. I can find no explanation why and it
seems like it should possibly do nothing, but it SEEMS to help.
Thanks for the suggestion Tim.
2000-04-20 02:55:02 +00:00
Bill Currie
09183d0628
cmd.c:
...
Add Cbuf_Execute_Sets to execute /only/ +set commands.
Break out common code from Cbuf_Execute and Cbuf_Execute_Sets into
a local function.
cmd.h:
add prototype for Cbuf_Execute_Sets
host.c:
use it
2000-04-18 10:13:17 +00:00
Joseph Carter
3a8f38c217
New cvar fs_basepath replaces -basedir param. It's a CVAR_ROM so you can
...
only set it from the cmdline (you now CAN set it from the cmdline BTW!),
it defaults to the current directory if you don't.
New cvar fs_sharepath. Defaults to fs_basepath->string and is changed in
the same manner. If you do change it, files in gamedirs under it will be
used first with basepath's files overriding them.
This allows you to keep your paks in a read-only location (cdrom or unix
/usr/share) and still be able to override those files and save configs.
2000-04-18 09:24:29 +00:00
Anton E. Gavrilov
f7ebc5df7a
Changed Host_FilterTime to double, too.
2000-04-12 11:31:08 +00:00
Anton E. Gavrilov
fe1cb020ad
Changed Host_Frame(float time) to Host_Frame(double time). Again :)
2000-04-12 11:10:34 +00:00
Anton E. Gavrilov
67226cd9ee
Chase_Init() is also called from QW now; Ñhasecam in QW may be unfinished (why?), but at least it doesn't crash now!
2000-03-27 16:08:37 +00:00
Joseph Carter
022803757a
A little more...
2000-03-24 10:37:23 +00:00
Marcus Sundberg
674ddcffe5
The big whitespace cleanup. ;-)
...
Removed trailing whitespace from code lines.
2000-03-19 15:59:51 +00:00
Anton E. Gavrilov
dbbba0a7d1
cl_warncmd fix; cl.paused "fix" --- needed for demo pause
2000-03-09 21:50:55 +00:00
Zephaniah E. Hull
8ce43b2ec1
Header file cleanup, so we can build more stuff which is completely common!
...
*.pak support!
2000-03-08 01:12:26 +00:00
Dan Olson
b5c3300cf3
Added 'cvarhelp' cmd to retrieve cvar descriptions.
2000-03-02 22:56:25 +00:00
Joseph Carter
8b18f9d56b
A little cleanup...
...
S_Init() is now where it belongs--outside of VID_Init(). I think I did
manage to update every target. If I missed one, kill the sound.h include
and remove S_Init() from VID_Init().
New Cvar: r_sky, defaults to 0, turn it on if you want to use skyboxes.
Cvar r_skyname can actually be used now I _think_, need another skybox
to test it. Quake2000's instructions were used in the skybox stuff but,
as all know by now, our tree is so different from anyone else's that I had
to redo a number of things. But thanks all the same--cut the time spent
debugging it in half. I also want to thank whoever did the night skybox
on the MegaTF page I used to test. Looks great on start map!
New GL-specific Cvar: r_conspin, defaults to 0. Turn it on. You can turn
it off too. Shamelessly ripped from QER.
2000-03-02 19:57:24 +00:00
Zephaniah E. Hull
cf0201eeea
cvar system fixes..
...
Knghtbrd owes me for this one..
2000-03-01 11:29:21 +00:00
Dan Olson
54409e23fa
This should fix up the last of the show stoppers from the cvar merge.
...
Fixes -glx and -3dfx.
2000-02-28 19:13:16 +00:00
Zephaniah E. Hull
754ab06b44
Fixing the new cvar mess...
2000-02-27 18:51:50 +00:00
Dan Olson
106dada0b2
Non functional cvar code. Compiles, but won't run.
2000-02-27 07:13:32 +00:00
Dan Olson
8ac1385c9f
Jason Nelson's patch for fixing Win32 targets
2000-02-20 21:19:50 +00:00
Marcus Sundberg
be77f29ec8
Merged IN_Commands with IN_Frame.
2000-02-19 14:52:17 +00:00
Zephaniah E. Hull
0fae0e01d3
Reverting away from modules in the main branch..
...
-3dfx, -x11, and -glx all work, at least for qw-client, no promices on uquake.
I can't test any other targets at the moment, so....
2000-02-19 08:24:15 +00:00
Dan Olson
7d387042f7
New CVAR flag system. Appears to work perfectly
2000-02-16 21:30:20 +00:00
Joseph Carter
fdd6112d74
svgalib input works again.
2000-02-14 03:27:10 +00:00
Joseph Carter
bb5623aa9e
input.h is gone - was empty anyway. vid_x11.c now is responsible for init
...
of the input routines it can use. All vid targets should do this for the
input method they should use. While this is essentially hardcoding, it's
kinda necessary for now. Once we have everything working and tested we
can work on an interdependency scheme so X input methods only work with X
output methods, etc...
2000-02-13 11:31:00 +00:00
Zephaniah E. Hull
dd7d064733
in_x11.so, and actually check in the plugin code..
...
vid_x works, aside from a few, err, qwirks, in the input focus handling..
2000-02-12 08:08:31 +00:00
Zephaniah E. Hull
0e8ba8d814
Sledge hammer applied..
...
The input stuff is now somewhat modular, I'll get everything working
soon enough, right now things are hardwired to svgalib, but its ok..
2000-02-12 05:34:22 +00:00
Joseph Carter
252621a4cd
*** empty log message ***
2000-02-10 16:29:11 +00:00
Bill Currie
fabe501768
the merge continues. qw_common/common.c and uquake/common.c have /finally/ been
...
merged with the command line args merged into common/qargs.c. Args rebuilding
in qargs.c should now be totally safe with no limits.
2000-02-10 13:49:39 +00:00
Bill Currie
c4797f95fe
added some more missing cvars
2000-02-10 11:19:51 +00:00
Joseph Carter
2425b04e3b
Host_ShutdownServer -> SV_Shutdown
2000-02-10 09:43:27 +00:00
Bill Currie
f52457b0c7
moved many cvars in from the old host.c
2000-02-10 09:16:56 +00:00
Bill Currie
866f2514d0
common/host.c:
...
put Host_GetConsoleCommands back
uquake/server.h:
proto for SV_Frame
uquake/sv_main.c
add SV_ClientPrintf SV_BroadcastPrintf SV_DropClient SV_Frame* from
old host.c
2000-02-10 09:03:30 +00:00
Jeff Teunissen
74e0de143a
host.c completions...might be able to link now. :)
2000-02-10 08:45:53 +00:00
Loring Holden
aa720bf076
Small changes to compile (not link) under Solaris, AIX, & Irix
2000-02-10 06:18:57 +00:00
Bill Currie
ccbb656250
more uquake link fixups
2000-02-10 06:03:16 +00:00
Bill Currie
28088048b3
uquake now compiles, but doesn't link yet
2000-02-10 05:58:27 +00:00