Commit graph

94 commits

Author SHA1 Message Date
Bill Currie
067db089a2 make edict pruning, field parsing and the builtins part of progs_t like they
should have been
2001-03-27 22:39:21 +00:00
Adam Olsen
31295c1f63 Bring qw and nq snd_*.c files into sync. Should be able to move them
into a common dir now.
Also fix some #include path changes.
2001-03-27 22:30:25 +00:00
Bill Currie
82b533e1ef forgot that .S files don't have dependency info :/ 2001-03-27 21:46:49 +00:00
Bill Currie
f78b973978 move the api headers into include/QF and clean up (most of) the resulting mess.
target specific files that I don't build won't compile yet. just put QF/
infront of the offending headers.

Also move ver_check into libqfutils
2001-03-27 20:33:07 +00:00
Bill Currie
f6073d756f better progs access error checking and cleanups resulting from it. Fixes
mega2k and nq.
2001-03-27 03:57:17 +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
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
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
Ragnvald Maartmann-Moe IV
00e71e3cc5 Better failure reporting for vid_use8bit. 2001-03-13 04:43:15 +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
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
055fe8d222 Purely whitespace cleanups 2001-03-09 07:55:25 +00:00
Chris Ison
69fd58944e moved slist loading into cl_slist.c 2001-03-08 23:53:03 +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
771648a5b4 forgot to remove the old prstring stuff 2001-03-06 16:10:28 +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
09b58f7e5f merge math code into utils 2001-03-05 02:06: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
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
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
Joseph Carter
d28e15d171 Software netgraph fixed. Probably not the same as it was before, someone
else is welcome to change it to their liking, optimize it, remove the box,
whatever..
2001-03-03 12:16:24 +00:00
Joseph Carter
9c39a00a54 Fixed the netgraph 2001-03-03 11:05:20 +00:00
Joseph Carter
c057c27d9a Menu has been killed completely from qw. It's dead. I doubt anybody will
even notice, given that QW's menu was crippled to the point that it was
completely useless anyway.
2001-03-03 09:42:35 +00:00
Bill Currie
baa5ce01a1 more independence cleanups and nq is closer to running 2001-03-03 08:59:55 +00:00
Joseph Carter
168d47402a Mostly whitespace, these files are now identical and COULD be merged, if
they weren't about to get a rewrite first.
2001-03-03 06:51:18 +00:00
Chris Ison
8ad00b04c3 added sharepath search when loading server list 2001-03-03 06:01:57 +00:00
Bill Currie
26e2d545e4 macro parameter usage must have () around them :P
This seems to fix the aim bug
2001-03-03 05:34:50 +00:00
Chris Ison
050b49c479 fixing missing oss dev as shown by taniwha 2001-03-03 00:54:46 +00:00
Bill Currie
3c17a888be more cleanups. rocket/shotgun bug not found yet 2001-03-02 23:40:34 +00:00
Ragnvald Maartmann-Moe IV
6962f954ed gl_colorlights gone, replaced by gl_lightmap_components. Valid values are 1, 3, 4. 4 (RGBA) default. Significant speedup going from RGB to RGBA on some boards.
Thanks to LordHavoc for the idea, and much of the design.
2001-03-02 23:38:40 +00:00
Ragnvald Maartmann-Moe IV
09f7689a09 Tweaked lava splash. 2001-03-02 23:32:24 +00:00
Bill Currie
6c9de8061b fix the silly OP_STATE bug. also erradicate pr_offs.c and its contents (the
source of the bug)
2001-03-02 19:18:04 +00:00
Joseph Carter
c7d74c6743 Minor cleanup to download draw function. More to do, this is just a good
checkpoint before I make changes that may not work.
2001-03-02 00:29:35 +00:00
Bill Currie
be8f1cef7c just some temporary debug info 2001-03-01 23:30:55 +00:00
Bill Currie
10e6b7af84 edict field access type checking :) Currently forced on, but it will become a
configure option in the future
2001-03-01 21:11:35 +00:00
Bill Currie
68220d1fb0 fix up packet logging for the new msg stuff 2001-03-01 20:41:20 +00:00
Bill Currie
4fcf7704d3 clean out unused fields 2001-03-01 19:05:40 +00:00
Bill Currie
ef38fd2e79 progsdef.h is now used only for the PROGHEADER_CRC def. Much of the protocol
still seems to be broken :(
2001-03-01 18:44:19 +00:00
Bill Currie
ad18afaa3c really clean up global and function access. Unfortunatly, frames are still
borked, at least for the view entity.
2001-03-01 08:34:30 +00:00
Joseph Carter
1094e146da COM_SkipPath now uses strrchr, it's much more readable now. 2001-03-01 07:42:28 +00:00
Joseph Carter
b2a53d4b46 The download bar is now seperate from Con_DrawConsole. This is currently
not really for the best, but it will be soon.
2001-03-01 02:51:51 +00:00