Commit Graph

13497 Commits

Author SHA1 Message Date
Bill Currie 19b146748a add .vimrc 2001-03-26 16:36:44 +00:00
Bill Currie 135e533e77 raise some limits so customtf will build. this is NOT the right solution :( 2001-03-26 05:33:02 +00:00
Timothy C. McGrath b25a437460 Very minor changes. cl_max_particles still cannot be used dynamically,
however I've removed the stupid limits that I'd accidentally left behind
in my panic to comment out the messed up code in r_part.c so software
clients now can use a setting of zero. Particles in sw clients will not
default to 2048 if you use a number less than 1 - it will now use 0.
Otherwise, I made comments to myself for when I actually fix this and
cleared up some silliness in comments I'd made. Nothing special.

Special note: To use cl_max_particles *right now* you can either set it
while playing and then restart the client (I think this should work,
it's archived. May not however) Or do this which I absolutely am
*positive* works:

clientname othercommands +set cl_max_particles number othercommands

So, again, while changing in game does not work, it at least is still
useful somewhat.

Misty-chan
2001-03-22 01:52:33 +00:00
Timothy C. McGrath 820715672b *DOH!*
I goofed up my code. cl_max_particles will not dynamically update with
this change, but ATM, this is safer until I can grok what I need to know
to fix the code I wrote.

Sorry guys,
Misty-chan
2001-03-20 00:27:22 +00:00
Timothy C. McGrath 582a7902c5 Insignificant config file change, 60 particles shows up just as quickly
as 30 on my system, and obviously gives me twice as many to look at.

Misty-chan
2001-03-19 03:54:51 +00:00
Timothy C. McGrath ed42482fd4 Updated cfgs to show the new cl_max_particles cvar - it REALLY HELPS.
Also removed gl_smooth from the glspeed.cfg - no idea why it was there,
since I had already replaced it. Whoops.

Misty-chan
2001-03-18 07:35:20 +00:00
Timothy C. McGrath 264547d470 Okay, this patch REMOVES the -particles command line option, and adds a
new cvar: cl_max_particles. This cvar is archived, has no lower or
upper limits (well, less than 1 is not allowed) and can be changed in
game at any time.

BUGS:

Only one so far. I can't figure out why it's doing this, but in software
clients, (well, at least X11) if you set it to 1 particle, it acts like
you set it far higher. 2 acts like you set it to zero... Or maybe
it's showing 2 and I just can't see it on my 320x200 window. In any
case, the vagary must be something in the software particles code,
because I basically used the same code from the GL particles code for
this as I used for the software renderer.

If nobody can find fault with my code, I'll just make a special note in
the console help.

In any case, let me know of any problems.

Misty-chan
2001-03-18 07:04:47 +00:00
Jeff Teunissen ed2f2ce2ca Forge: InspectorControl and KeypairView compile with no warnings now. 2001-03-16 19:19:24 +00:00
Forest Hale cc85f21430 shrank lava splash particles from size 7 to size 3, makes spy gas grenades in TF faster 2001-03-16 15:25:31 +00:00
Bill Currie 6247233e0e when checking a token, they type of the token must be taken into account. 2001-03-14 04:14:09 +00:00
Ragnvald Maartmann-Moe IV 00e71e3cc5 Better failure reporting for vid_use8bit. 2001-03-13 04:43:15 +00:00
Bill Currie 32d14bac22 ignore generated files 2001-03-12 21:16:26 +00:00
Bill Currie 21fa23a747 the crc field in progs.dat is evily generated from the crc of progsdef.h, so
change the header to produce a matching crc. This is an interrim fix until a
better solution can be found.
2001-03-12 20:04:22 +00:00
Ragnvald Maartmann-Moe IV 3217faa319 Fix white sbars in -sgl.
(Thanks to super_ice for the patch)
2001-03-11 21:37:32 +00:00
Bill Currie b4538150bc fix a type access error 2001-03-11 02:14:40 +00:00
Ragnvald Maartmann-Moe IV 30cdd18174 Fix a typo. Oops... 2001-03-11 00:31:52 +00:00
Ragnvald Maartmann-Moe IV e884846d57 Tighten up checks for 3dfx in gl_draw.c and restore default gl_texturemode to old setting. 2001-03-11 00:25:30 +00:00
Ragnvald Maartmann-Moe IV fd3eafac77 Oops. 2001-03-09 21:21:50 +00:00
Ragnvald Maartmann-Moe IV 1b8928de00 Cleanup of gl_draw.c and beginnings of work for user-specifiable texture format/quality (monochrome quake anybody? :) 2001-03-09 21:10:44 +00:00
Joseph Carter 3ac2bc72aa The quakefs similarization.. Essentially, we're now using qw's quakefs in
nq, with the exception that some things were removed and others added.  I
could have merged this, but I don't feel the system's ready for merging at
the moment.  The quakefs code needs a bit of a cleanup and a tuneup before
it goes common.  Like so many other things, that's dependant on other bits
of the puzzle being completed first.
2001-03-09 07:58:10 +00:00
Joseph Carter 055fe8d222 Purely whitespace cleanups 2001-03-09 07:55:25 +00:00
Joseph Carter ddd4c279fa The standard_quake qboolean now lives here, but Game_Init is now an empty
function.  There's probably some use for it later on anyway (probably for
metadata defaults or something), but the -hipnotic and -rogue checks are
now in quakefs.c.
2001-03-09 07:53:04 +00:00
Joseph Carter 1d04bc223d Commented out rogue/hipnotic sbar elements. Didn't outright delete them
so they can be used in building the scripted HUDs for those trees.  This
commit removes all need for the hipnotic and rogue qbooleans.
2001-03-09 07:50:45 +00:00
Chris Ison 69fd58944e moved slist loading into cl_slist.c 2001-03-08 23:53:03 +00:00
Bill Currie 930da9109c change egcs to kgcc for the broken distro 2001-03-08 21:04:21 +00:00
Bill Currie 9c3f26d168 Rhamphoryncus added paks 2001-03-08 18:45:52 +00:00
Bill Currie 95852f55c1 add Rhamphoryncus ideas on the download screen 2001-03-08 18:40:21 +00:00
Bill Currie 645a791315 add pr_checkextentions as promised 2001-03-08 00:27:35 +00:00
Chris Ison 16bc4735b1 adding rising smoke 2001-03-07 23:24:53 +00:00
Bill Currie 53c9732303 add PF_checkextension for later use. The pr_checkextension cvar will come
when I've had some sleep.
2001-03-07 10:22:51 +00:00
Bill Currie e370eb3ce6 this should fix the abyss protocol compatability problems 2001-03-06 16:41:17 +00:00
Bill Currie 771648a5b4 forgot to remove the old prstring stuff 2001-03-06 16:10:28 +00:00
Bill Currie 97bf8d2c51 garbage collector implemented but untested. Also unsused because the issue is
WHEN to call it. I don't imagine it will be cheap :/
2001-03-06 05:29:46 +00:00
Bill Currie 4489319298 first step towards garbage collected dynamic strings in qc. All strings
external to the progs file are now malloced and then freed at progs reload.
All that needs to be implementd for gc to work is the scanner and deallocator.
2001-03-06 04:22:33 +00:00
Bill Currie c4616346a1 dx_hack_hash stolen from Daniel Phillips <phillips@innominate.de> in the lkml.
This might or might not give hash tables a better spread. We'll see :)
2001-03-05 16:19:10 +00:00
Joseph Carter 4c3676b9ac Forgot to commit this removal. Mr. Menu, get the hell outta my tree! 2001-03-05 10:06:39 +00:00
Bill Currie f40b361fb3 hash.[ch]:
slight api change: the getkey and free functions now take a user data
	parameter (which is an aditional parameter to Hash_New.
cmd.c, cvar.c, quakefs.c:
	clean up the resulting errors.
pr_edict.c:
	use hash tables for lookups of function, global and field definitions.
	should speed things up a bit, ESPECIALLY when type checking is enabled.
2001-03-05 05:11:26 +00:00
Bill Currie aad21e3c00 put the pointer comparison back in so dynamic strings don't cause blowouts 2001-03-05 04:15:59 +00:00
Bill Currie 234dcb4cc9 better(?) string sharing. e1m3 died a sad death in nq due to running out of
strings, but that was because only the address of the string was checked for
similarity. Now strequal is used.
2001-03-05 04:08:08 +00:00
Bill Currie ff2828d82d thought something was wrong with the previous checkin. I keep forgetting .S
files don't get dependencies in automake :(
2001-03-05 02:18:03 +00:00
Bill Currie 09b58f7e5f merge math code into utils 2001-03-05 02:06:05 +00:00
Joseph Carter d407f5328f Since nobody cares the structure of the menu after it's rewritten, I've
replaced the menu structure with just the binds listing so whoever does
that doesn't forget a binding we never use (run key?  My forwardspeed is
600, wtf do I need a run key for?)
2001-03-04 13:55:05 +00:00
Joseph Carter fb9f7a1ba4 Forest's COM_FileBase rewrite. Doubt this is faster, but it's sure a lot
easier on the eyes.
2001-03-04 10:09:59 +00:00
Joseph Carter 3ab3941c81 NQ's menu is gone too, menu.c is laying around till I add more info to the
TODO file, then it dies too.
2001-03-04 07:43:27 +00:00
Bill Currie cf3629b3b3 merge in my progs work off the `taniwha' branch. This prigs us a few nice
thinks:
  o Full progs modularity
  o CSQC should now be just a matter of creating the builtin functions and
    loading the code.
  o total independence from progs globals, functions and entity field layouts
    on the conditoin that their definitions have not been stripped from the
    progs file.
  o optional (though currently forced on) type checking on access to progs
    entity fields from C
  o the progs engine is fully shared between nq and qw.
2001-03-04 06:30:30 +00:00
Bill Currie 6bb1f172d0 THOU SHALT NOT SCREW UP THY DOT-PRODUCT MACRO!!! :P 2001-03-04 06:08:28 +00:00
Bill Currie 021c1347ed remove the reliance on MAX_EDICTS 2001-03-04 05:42:26 +00:00
Bill Currie 4137fbabb5 nq seems to like the new progs setup (got to e2m2 in medium without problems) 2001-03-04 05:27:29 +00:00
Joseph Carter b507853b18 A number of keys should bring up the menu in demo playback, they now bring
up the console.
2001-03-04 01:55:12 +00:00
Joseph Carter e4e80437df Escape is still unconditional, but rather than being unconditionally menu
(or now unconditionally nothing since I killed the menu), it works as the
console.  In the future, when the new menu is implemented, it will fall
back to console if there's a problem with the menu (like there isn't one.)
2001-03-03 12:30:48 +00:00