Commit graph

46 commits

Author SHA1 Message Date
Brian Koropoff
47d35f3e2d GIB: Added ifnot, fixed several bugs, updated zoom.gib yet again. 2003-01-31 03:43:56 +00:00
Brian Koropoff
783602e6a4 D'oh! 2003-01-31 01:42:56 +00:00
Brian Koropoff
748985b760 Updated zoom.gib to work with the new version of GIB. 2003-01-31 00:12:04 +00:00
Brian Koropoff
19ac57dafc Fixed a bug with aliases and updated cb.gib a bit. 2002-12-14 20:34:20 +00:00
Brian Koropoff
32e5e6ef0b Numerous GIB bug fixes and optimizations. Fixed/updated some GIB scripts
as well.
2002-12-13 23:36:05 +00:00
Brian Koropoff
0a8ff6a8cf In addition to .gib files, anything exec'ed from within a GIB buffer is now
put in a new buffer on the stack and stripped of comments.  Fixed an
instance of a function name that I forgot to change in cb.gib.
2002-12-03 05:54:13 +00:00
Brian Koropoff
44d0408a38 Two small fixes. 2002-11-12 02:53:24 +00:00
Brian Koropoff
0f71b02fd7 Changed the name of GIB builtins from string.length to string::length, etc.
Made a few miscellaneous cleanups and enhancements to builtins and changed
all the GIB scripts in CVS to reflect the new naming conventions.
2002-11-11 01:57:34 +00:00
Brian Koropoff
20d47cde2f Added the global.delete builtin to clean up old global variables. Updated
cb.gib to use it.
2002-10-23 03:56:57 +00:00
Brian Koropoff
4a645da3d1 Removed sensitivity.gib in favor of the more general ln.gib. 2002-08-30 01:23:06 +00:00
Brian Koropoff
976edc87fd Checked in my CustomTF class builder GIB script and two example support
files.
2002-08-30 00:25:31 +00:00
Brian Koropoff
f981dbbdab Moved zoom.gib into doc/config/gib and removed useless scripts. 2002-08-29 23:14:54 +00:00
Brian Koropoff
876eaa467c Added a few useful builtins and began adding GIB hooks into quakeworld.
The player global branch variable is now updated with useful information
and the location.get builtin is available to return the current location
of the player based on loc files.  Fixed a bug with zooming out in zoom.gib.
2002-08-24 05:14:46 +00:00
Brian Koropoff
32f4e53aa5 Fixed the GIB math evaluator to handle unary operators properly, made
indexing/clipping more like python, made some cosmetic changes to zoom.gib,
and added the ability for GIB builtins to return values.
2002-08-23 21:18:00 +00:00
Brian Koropoff
0715464bb1 Yay for escape characters. 2002-08-22 22:43:47 +00:00
Brian Koropoff
06e6c92da8 Fixed some bugs related to comments and global variables. Updated zoom.gib
to work with the new GIB parser.  It should be fully functional.
2002-08-22 20:50:12 +00:00
Bill Currie
d4a385adbf fix for new gib syntax 2002-08-22 19:24:50 +00:00
Brian Koropoff
513b5737f9 Got indexing into variables working and cleaned up variables a bit.
Partially translated zoom.gib into the new language, but it isn't done yet.
2002-08-14 05:28:07 +00:00
Brian Koropoff
fe48995a0c Fixed some error messages and a small bug in list.gib 2002-06-11 06:08:31 +00:00
Brian Koropoff
f39e53b859 Imported the beginnings of a standard "library" for GIB. 2002-06-11 05:41:59 +00:00
Ragnvald Maartmann-Moe IV
23246ba4fd Sensitivity GIB alias. 2002-06-08 23:15:16 +00:00
Timothy C. McGrath
29177483d3 Minor modifications to the glspeeds so they know about the setting 0 of
cl_maxfps now :)
2002-05-25 21:58:39 +00:00
Brian Koropoff
58e8a997f8 GIB: Added the writefile, legacy and eval commands and created the
beginnings of a GIB security model for console access by the server.
Fixed a bug in zoom.gib.
2002-05-15 22:14:17 +00:00
Brian Koropoff
6d37a9e48a Fixed up zoom.rc, renamed it to zoom.gib. Made alias with only one
argument print the contents of that alias.  Added the sleep command,
which works like wait but pauses for a certain number of seconds.
2002-05-11 06:09:50 +00:00
Brian Koropoff
2eecffdc75 Changed the zoom script to be mathematically correct. The simplest solution
is often the correct one.
2002-05-01 05:10:55 +00:00
Brian Koropoff
6c0b62d71c Added my zoom script to CVS :P 2002-04-29 01:41:07 +00:00
Chris Ison
9bbcae0772 removed cl_bob cvars from config 2002-02-20 23:28:15 +00:00
Timothy C. McGrath
46001cd9e7 Added gl_lightmap_subimage 1 and r_dlight_max 8 - noticable speedups in
battles.

(Thank you Wildcode)

Once gl_lightmap_subimage's setting of 2 is debugged (right now it goes a
teeny tiny bit whacko) I'll be using that, just FYI.


Tim/Misty-chan
2001-12-16 21:39:50 +00:00
Chris Ison
f30ac76477 QF performance config for voodoo2 allowing for playability 2001-12-12 23:38:44 +00:00
Timothy C. McGrath
9dc5cf6591 Fixups for my glspeed configs, which were uh, out of sync with cvs >P
cl_max_particles got changed to r_particles_max, also I added in cl_maxnetfps
at 30 and edited cl_maxfps to 72 since that should work nicely with maxnetfps
now :)

Tim McGrath
(Misty-chan)
2001-12-04 14:15:08 +00:00
Timothy C. McGrath
b1f834b530 Modified the gl_sky_clip line to keep consistent with cvs. 2001-09-04 17:29:25 +00:00
Timothy C. McGrath
d87b164450 Updated the configs so despair's changes to lighting cvars don't
suddenly make it stop working :)

Misty-chan
2001-08-29 01:31:25 +00:00
Timothy C. McGrath
9c911edebb gl_lightmode is dead, removed that from the config file. New
benchmarking information, about 1 fps faster from the last time I
updated cvs. (And this is with DRI being 5 fps SLOWER than last time I
updated.)

Misty
2001-06-03 00:03:41 +00:00
Adam Olsen
36a3cb73c1 add some useful software tweaks :) 2001-04-28 05:13:46 +00:00
Timothy C. McGrath
661db56184 New benchmark scores, gained .2 fps with a cvar I didn't know about
previously. gl_sky_divide set to 0 goes faster when you have gl_sky_clip
>0.

Thanks despair,
Misty-chan
2001-04-28 04:30:43 +00:00
Timothy C. McGrath
205ee22a15 OK, found out I can't play with the settings I had in the V3 config, so
I mangled them into something that works. Also I found out about
gl_texturemode (thanks despair) although it didn't do much for me, it
might for you. Look at it :)

I also cleaned up the configs so we can see where each section begins
and ends easier. Should be fairly obvious what I did.

Misty-chan :)
2001-04-28 02:50:50 +00:00
Timothy C. McGrath
fa31c6e4f7 OK, this cleans up things a tad. glspeed.cfg is now known forevermore as
glspeed-v3.cfg. Cleared up a misleading comment about r_dynamic, found
out 0.5.0 quakeforge does weird things with gl_lightmode (see comment)
and added benchmarking information to the beginning of the files.
2001-04-27 00:41:06 +00:00
Timothy C. McGrath
c4680099c7 Typos fixed that were in the original. (oops)
Misty-chan
2001-04-26 03:09:46 +00:00
Timothy C. McGrath
7e0c1edcf7 Added back the old glspeed.cfg with the new cvar I found out about. This
one should work fine for old voodoo 1/2 users. I'll update this one
generally when I do the other one, but this one I can't really test
myself on for it's target - older hardware. Please tell me if I give a
setting which is slower on a system.

Misty-chan
2001-04-26 03:06:56 +00:00
Timothy C. McGrath
2af85467ec Fixed a typo (cl_max_particles default is 2048!) as well as added a cvar
I didn't know about (gl_lightmap_components)

Other than that, haven't added or removed much of anything - HOWEVER
note that this config has radically changed speedwise. I've gotten a
hardware upgrade, and so changed my config around to suit it. This is
written now for a voodoo 3 2000 pci, the old voodoo 1 has been
accidentally fried and given a proper burial.

If you relied on the old config to be fast as heck with it's defaults,
sorry. - Please look through the file, read the comments, and change the
settings to however you please.

Misty-chan
2001-04-26 02:50:49 +00:00
Timothy C. McGrath
f35a629c61 Since the lights are usable now, I'm changing my config :)
Misty-chan
2001-04-12 04:08:49 +00:00
Timothy C. McGrath
d649508b5d This took half the hair on my head. Just kidding:
cl_max_particles now lives in *part.c - in GL it dynamically changes the
amount of particles on the fly! Needless to say this is fun, and this is
proboably the third cvar that uses the callbacks function at all - which
IMHO is really a cool trick Taniwha.

However I'm losing my SANITY in r_part.c - if someone could take a look,
I'd be greatly appreciative. It should be obvious to any developer that
I'm having a few problems. :P Basically the dynamic code is completely
and totally disabled, and I hacked in code which *works* but shouldn't
EVER EVER EVER be left there after we fix this as it is downright EVIL
the way I implimented it. SW client does work, and does still work with
+set cl_max_particles - however the hacks I made to get it to do that...
*shakes head* Tread softly in there, it's a mess.

Other notes of interest:
I changed show_time so it archives its setting. Got annoyed with it. If
someone finds this change to be bad, change it back. :)

glspeed.cfg got updated with a setting of 60 for cl_max_particles. 60
works nicely, and doesn't use too much speed on my aging hardware, so
I'm sure newer systems will just plain FLY with this on.

I also changed the cl_maxfps setting as 72 is great if you aren't using
a modem !.! due to the way cl_maxfps works, the higher it goes, the more
data is sent to you by the server. This causes a heck of a lot of lost
packets if you don't have the bandwidth OR if your card can't keep up
with the framerate. Either of which is bad. I set it to 30, the default
of the cvar is 0/32 so go figure out what works best for you I say.

Let me know if this blows up in your face and ESPECIALLY let me know if
you can fix the r_part.c problems!

Misty-chan
2001-04-03 02:56:39 +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
61ab8c2d47 swspeed.cfg is speed cfg for software clients (-x11 -svga) however it is
not well tested, and needs someone to bash it over the head a few times.
If you routinely use the software clients, please find out what in this
file works for you, and let me know.

Misty
2001-02-22 20:39:37 +00:00
Timothy C. McGrath
721c7da648 My glspeed.cfg, which I promise to incrementally upgrade as I get
feedback. This will produce tremendous speed increases with gl cards, so
long as you are willing to sacrifice eyecandy.

Misty
2001-02-22 19:23:11 +00:00