Commit graph

693 commits

Author SHA1 Message Date
Dan Olson
3a4bb0d831 Added some cvar descriptions 2000-04-27 21:37:00 +00:00
Bill Currie
1970ba1b43 just added a comment 2000-04-27 11:55:22 +00:00
Bill Currie
2e61dac258 casue autoexec.cfg to be executed in the new gamedir (after frontend.cfg)
also, clean up quakefs.c a little (minor)
2000-04-27 10:56:31 +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
3c8ff479a3 oop, forgot this for avoiding win32 problems 2000-04-27 07:15:51 +00:00
Bill Currie
9afa18b5f8 !lart taniwha for forgetting to make clean after changing headers 2000-04-27 04:55:43 +00:00
Bill Currie
578532766f oops :/ 2000-04-27 04:38:48 +00:00
Bill Currie
439c26b18b developer 1 will cause +... output when things are executed
Also, move the developer cvar to it's new home in cvar.c and cvars.h
2000-04-27 04:33:30 +00:00
Joseph Carter
b1e18056eb gl_particles moved out of gl_vid* since it is common.
new cvar, gl_fires.  Default to 1, set to 0 if you hate the fire effect on
the lavaball and coming off the rocket trail.
2000-04-27 04:30:37 +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
ede51b8e01 hopefully, this will allow the windows targets to build 2000-04-27 01:25:20 +00:00
Bill Currie
0142fc1a24 expand ~ for spefifying data directories.
Note: still needs to be autoconfiscated, but I'm not sure what direction to take there.
2000-04-27 00:37:57 +00:00
Bill Currie
af8f5e501b execute all commands in quakeforge.conf, not just set 2000-04-26 23:43:46 +00:00
Joseph Carter
a79a491b96 Stephen Hocking reported a bug in the OSS sound code under FreeBSD. This
is the extremely long and complex (ie, single line) change to fix it.
2000-04-26 16:41:12 +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
Joseph Carter
a842501f0d You can now save 1000 screenshots, they'll be named qf000 to qf999...
Why you'd want 1000 screenshots I have no idea, but I did hit the limit of
100 when I was trying to get good screenshots of the rocket stuff..
2000-04-25 15:25:33 +00:00
Bill Currie
e605302b38 autoconfiscate fs_basepath
--enable-basepath causes qf to look in ${prefix}/gqmes/quakeforge for the files
--with-basepath=path gives you more control
2000-04-25 12:31:03 +00:00
Bill Currie
0e44ae7475 Rockets and lavaballs now have dlights (same color as their fireballs) attached to them. 2000-04-25 10:58:47 +00:00
Bill Currie
6d9d7b6197 Make R_RocketTrail take an entity_t * parameter (the one the trail is for) so that various things can be done, including using the entity as a key for R_AllocFire.
Also, rocket/lavaball trails now work beautifly. They have to be seen to be believed.
2000-04-25 09:35:07 +00:00
Bill Currie
2d4091ffa0 reformat a couple of lines 2000-04-25 04:15:49 +00:00
Bill Currie
9fd7079be9 cleanup the r_fog/r_volfog/r_wateralpha code a little, removing the #if 0ed code 2000-04-25 04:08:12 +00:00
Bill Currie
98e7670d66 forgot to disable the stensil buffer for r_volfog 2000-04-25 03:35:30 +00:00
Bill Currie
32b012dda0 allow r_fog, r_volfog and r_wateralpha to be independent of each other. Interesting effects on entities (eg zombies on walls): they wind up full white (1,1,1, I guess). 2000-04-24 09:48:48 +00:00
Bill Currie
451b4056a4 fix the r_wateralpha not working without r_volfog bug. Unfortunatly, this doesn'
t do anything for the r_wateralpha bug that allows cheating (no diff what so eve
r).
2000-04-24 08:59:09 +00:00
Thad Ward
bc7c094a33 uncommented some code that was removed in ver 1.2 of this file to correct some sound problems many people were reporting 2000-04-22 23:12:04 +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
Pontus Lidman
8cef444f8d KAME/NetBSD142 compatibility patch from Itojun <itojun@iijlab.net> applied 2000-04-18 20:49:26 +00:00
Joseph Carter
171b4c407d minor sbar fix 2000-04-18 11:11:17 +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
Bill Currie
6cdc6a95a9 fix a missing ) from debug output 2000-04-18 09:33:53 +00:00
Bill Currie
499c3c20bd qargs.h:
"share the software ..." put in an extern for com_cmdline
qargs.c:
	no longer include the program name (argv[0]) in com_cmdline
cmd.c:
	remove redundant code from Cmd_StuffCmds_f and use com_cmdline in it's place.
2000-04-18 09:30:45 +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
Pontus Lidman
168d480ed5 Correct check for IPv6 local addresses 2000-04-17 19:47:59 +00:00
Pontus Lidman
80632a5210 BSD portability and code cleanups/improvements; basically the patches from the viagenie people and itojun (see AUTHORS) 2000-04-17 19:43:28 +00:00
Pontus Lidman
5162359857 pad field renamed in preparation for multiple address families. Also, don't rely on int being 32 bits. 2000-04-17 19:36:55 +00:00
Pontus Lidman
ded6ff6045 IPv6 support enabled by configure instead of manually 2000-04-17 19:28:42 +00:00
Joseph Carter
46972d9429 No longer tries to VID_Shutdown if VID_Init didn't, prevents a sig11. 2000-04-17 14:49:32 +00:00
Bill Currie
9cd517debc slight optimisation 2000-04-17 12:36:25 +00:00
Bill Currie
28011090b3 rename *FireBall* stuff to *Fire (or Fires). 2000-04-17 10:39:55 +00:00
Joseph Carter
07d8d044b9 Here's the fireball code I promised, implemented from an email which told
me pretty much how.  It's a meshing of the GL flashblend bubble and the
particle engine.  More emphasis on dlights though.

This code should be very similar to an effect that was in QL.  It was
described to me in very explicit detail in an email.  It's probably based
on the QL source but is a legitimate clean-room implementation.  The email
described how to make the flame trail found in newer QL too but I've not
decided whether or not to code that yet - I think I can do better instead
by adding smoke.
2000-04-17 04:15:38 +00:00
Joseph Carter
9993d2c301 r_part.c now contains full particle code for software, gl_rpart.c full
particle code for GL.
2000-04-16 14:26:53 +00:00
Bill Currie
9e9bb339b6 add some informative output. not really needed, but it makes things more consistent with other targets. 2000-04-16 07:08:53 +00:00
Joseph Carter
47bed98da1 new serverinfo key: *qsg_standard, set to 1.
How view height changes in QW are passed from server to client HAS CHANGED
and you will need to update both client and server for things not to act
weird.  You may also need to distclean before rebuilding..
2000-04-15 11:20:28 +00:00
Joseph Carter
3e73b3fb3c TODO items completed are removed
misc minor stuff taken from ideas implemented in NaTaS, most people won't
notice a real difference.
2000-04-15 10:14:40 +00:00
Bill Currie
ed5454ef6d remove unnessecary test 2000-04-15 04:08:20 +00:00
Bill Currie
706004407f finally fix the glx shutdown bug 2000-04-15 04:02:10 +00:00
Joseph Carter
9abadd0a12 Rearranging things a little for colored lights. 2000-04-13 01:34:01 +00:00
Joseph Carter
51e1267f45 uh, you don't want this yet. I'm screwing around with skyboxes and this
code doesn't work as advertised.  Reverting.
2000-04-12 23:58:17 +00:00
Joseph Carter
d0fa63e804 I did this two months ago, but it was removed because it was a bug. It
seems though that a few people considered it a feature.

To those people:  You're quacked.  Set gl_constretch to 1.

Also documented the other gl_con*'s.
2000-04-12 23:56:11 +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
Bill Currie
1603855e58 Mercury: thanks for pointing out that the player entity number /is/ cl.playernum+1. I've undone my +1 removals. 2000-04-12 08:49:37 +00:00
Bill Currie
6cf291e970 turn \ parsing OFF by default. infact, atm, there is no way of turning it on at run time. 2000-04-12 08:14:45 +00:00
Bill Currie
f1caf58413 apply another patch from Jukka Sorjonen <jukka.sorjonen@asikkala.fi> 2000-04-12 05:14:32 +00:00
Zephaniah E. Hull
995b1859bd The colored dlight fix! 2000-04-12 05:01:36 +00:00
Zephaniah E. Hull
b7df9b7d1f Particle code cleanup and optimizations..
Also fix a bug theoddone interduced by not cleaning up old particles
if they were turned off (would crash when it ran out of free particles)
2000-04-11 11:14:48 +00:00
Zephaniah E. Hull
b7f3d61625 Tonik decided to change the names of a few key syms, breaking existing configs.
Now it knows BOTH names.. *growl*
2000-04-11 11:13:20 +00:00
Zephaniah E. Hull
e53a235402 When -3dfx receives a signal it will now abort()..
This will generate a core dump if it can (NEEDED for debugging)...
2000-04-11 11:11:58 +00:00
Zephaniah E. Hull
cf33711b63 Sound fixes, the player's entnum is cl.playernum + 1, not cl.playernum,
not cl.playernum - 1, but cl.playernum + 1....
2000-04-11 11:10:10 +00:00
Bill Currie
c413be05bd misc cl.playernum fixups (never +/-1). unfortunatly, qw ambient sounds are currently borked. I'll investigate this further tomorrow. What the problem is is that cl.playernum is being used as the player entity number and is base 1 in uq and base 0 in qw. also, it seems that ambient sounds are entity 0 (or seem to be). As I said, I need to investigate this further (and I will). 2000-04-11 10:43:32 +00:00
Bill Currie
7a4caa8bd3 forgot to remove debug code 2000-04-11 09:35:09 +00:00
Bill Currie
c7f6565654 fix the sound spatialisation bug. cl.playernum-1 doesn't work :) 2000-04-11 09:33:03 +00:00
Anton E. Gavrilov
4e1f949d98 Oh, i didn't know there was a messagebox in snddma_init too. Disabled it. 2000-04-10 21:59:31 +00:00
Thad Ward
8ddffa89e7 removed S_init() from vid_init() 2000-04-10 21:29:46 +00:00
Anton E. Gavrilov
a29be25f75 Disabled the popup warning window ("sound is in use by another app", retry/cancel). 2000-04-10 20:33:19 +00:00
Dan Olson
9bf6e675fd Fixing a "bug" reportaed by darkangel. It can be implemented as a feature
later if anyone cares enough.
2000-04-10 20:08:01 +00:00
Dan Olson
69be4092e4 Fixes/enhancements to particle scaling. Firstly, cvar is renamed to
gl_particles.  Secondly, setting it to 0 now removes particles completely.

Once I figure out how to do this for software, it will become r_particles.
2000-04-09 21:37:58 +00:00
Jeff Teunissen
da0a5cd041 Merged R_TranslatePlayerSkin() in gl_rmisc.c -- rest, misc. fixes, mostly
whitespace and spelling.
2000-04-08 10:38:33 +00:00
Bill Currie
e01129f80a apply more var def patches from Jukka Sorjonen <jukka.sorjonen@asikkala.fi>
and add him to AUTHORS/CREDITS
2000-04-06 11:59:28 +00:00
Bill Currie
580ac4c8a7 fix the wonky palettes for glx (in uq, anyway, may not have been a problem in qw). Interestingly, the console is dark now (but the game is bright) whereas it was the other way previously. I suspect SCR_UpdateScreen initialises the glx palettes on first call, or some other strangeness. This will need further investigation, I guess, but at least the text is easier to read on the console :) 2000-04-06 11:52:26 +00:00
Bill Currie
be814de4a6 apply var def patches from Jukka Sorjonen <jukka.sorjonen@asikkala.fi> 2000-04-06 09:23:49 +00:00
Bill Currie
b1ce871546 apply the viddef_t patches from Jukka Sorjonen <jukka.sorjonen@asikkala.fi> 2000-04-06 09:21:42 +00:00
Jeff Teunissen
e1dc8ce3fe Optimized skyboxes a bit...and yes, it is tested. :) 2000-04-06 06:26:04 +00:00
Bill Currie
7c0eb6947d fix a protocol breakage (with other clients) 2000-04-05 11:45:48 +00:00
Thad Ward
2c4fd68252 changed bool to qboolean 2000-04-04 22:59:28 +00:00
Anton E. Gavrilov
76db7204bc A TEMPORARY fix for gl_flashblend (it defaults to 0 in software now). 2000-04-03 18:06:22 +00:00
Loring Holden
05bb2f53a9 Cast is_digit() parameter to an int to avoid warnings when compiling under
IRIX
2000-04-03 15:33:04 +00:00
Anton E. Gavrilov
f5620c9f5b Changed Cvar_Set(char *, char*) to Cvar_Set(cvar_t *, char *). You can kill me now =] 2000-04-03 14:30:02 +00:00
Anton E. Gavrilov
2a91e468df Moved to /win32 2000-04-03 10:32:10 +00:00
Anton E. Gavrilov
68a2e7e74c Added Cmd_CmdList_f() 2000-04-03 10:05:48 +00:00
Bill Currie
895e900556 remove an unneeded #ifdef QUAKEWORLD 2000-04-03 08:30:09 +00:00
Bill Currie
197b9f60d7 move the declaration of inupdate into the #if 0'ed section where it was used 2000-04-03 03:14:35 +00:00
Anton E. Gavrilov
37859bbd4e Backscrolling fix. 2000-04-02 22:01:39 +00:00
Zephaniah E. Hull
4ee2355a9e The sorting works perfectly now! 2000-04-02 12:13:19 +00:00
Joseph Carter
ea03a007de a little cleanup of the view height offset code.. 2000-04-02 00:32:00 +00:00
Joseph Carter
018ca24c62 flymode WORKS! I'm also poking around a few other qw_server files.. 2000-04-01 23:40:29 +00:00
Anton E. Gavrilov
3b6fa457e8 Minor bugfixes. 2000-04-01 22:49:07 +00:00
Anton E. Gavrilov
2e2377eebc ClearAllStates() behaves better now; Added KP_* keys support to GL target. 2000-04-01 22:46:15 +00:00
Anton E. Gavrilov
2138262099 Cleaned CL_Connect_f; re-enabled svc_disconnect parsing. 2000-04-01 17:42:17 +00:00
Jeff Teunissen
93f15708cf Oops, missed part of Thad's patch. :) 2000-04-01 10:22:53 +00:00
Jeff Teunissen
b619de9c05 Applied Thad Ward's patch to make win32 locase filenames. Also a few
cleanups, mostly whitespace.
2000-04-01 09:59:35 +00:00
Zephaniah E. Hull
955c3d03a2 Runtime fixes for the pak file handling, should not segfault anymore.. 2000-04-01 06:26:03 +00:00
Dan Olson
e0cf6cad56 Fix for X error at uquake-glx exit. taniwha, I don't know why you removed this,
but I decided to commit first and ask questions later since you're not anywhere
to be found.
2000-04-01 06:05:03 +00:00
Joseph Carter
5e06b91db0 more flymode stuff.. It's not QUITE working yet. Somewhere gravity is
getting added and the controls are still clumsy.  =<
2000-04-01 05:47:25 +00:00
Joseph Carter
622ba0f4ef removed useless comments from cvar cleanup 2000-04-01 00:53:34 +00:00
Joseph Carter
18e1ccb53f Hopefully I fixed the lame VID_(Unl|L)ockBuffer shit. If a target doesn't
build I may have defined it twice accidentally.  Doesn't happen with any
target I build though..
2000-03-31 23:58:53 +00:00
Zephaniah E. Hull
a644fd8b84 Compile fixes, oops.. 2000-03-31 23:38:37 +00:00