Commit graph

26 commits

Author SHA1 Message Date
Maddes Buecher
05df2f53f2 Changed all .C files to fit the Coding Style Guide 2000-08-20 13:33:48 +00:00
Maddes Buecher
809e15da8a Coop and Deathmatch flag fixes:
1. Deathmatch and Coop not at the same time
2. Recognize Coop in Maxplayers command (e.g. called through SinglePlayer menu)
2000-08-17 17:18:01 +00:00
Maddes Buecher
671fb2645d Fixed a bug in the general CVAR display where the lower limit of the rangecheck was not displayed as integer when it was integer
Used %i instead of %d for better reading
2000-07-10 21:33:13 +00:00
Zephaniah E. Hull
5a2705d523 Fixed a compile warning.
(Thanks to cesarb)
2000-06-25 19:13:37 +00:00
Maddes Buecher
6749aa353d 2000-06-22 common/cvar.h, common/cvar.c
1. Corrected CVAR_TEMP from 4906 to 4096
2. Added CVAR display function, to be used for all CVAR displays
3. Added CVAR range check (UQUAKE only)
   cvar->rangecheck (0 = none, 1 = float, 2 = integer, 3 = boolean)
   cvar->minvalue
   cvar->maxvalue
   Or should I used 3 flags? What about Cvar_get?
4. Fix for unnecessary CVAR changing/zone usage
5. Partial selection for CvarList command, you can now list all GL CVARs with CVARLIST GL

Converted to the 'quakeforge' module from my previous fixes
Available on the Quake Info Pool at http://www.inside3d.com/qip/
Don't forget to check out the buglist too.
2000-06-22 12:23:54 +00:00
Dan Olson
86a35efba3 A bunch of stuff:
Cvar_Alias_Get now returns void
cl_pred.c is Tonik's client jumping prediction fix
the rest are adding new aliases: s_volume->volume and sv_edgefriction->edgefriction
2000-05-06 23:03:45 +00:00
Dan Olson
d5e5b07ac9 Cvar aliasing code, so we don't tick off Tonik (and other users) every time
we rename a standard cvar.  Example of use in in_x11.c.  Make the alias directly
after the Cvar_Get to avoid segfaults.
2000-05-06 22:46:48 +00:00
Dan Olson
2fa525f544 let's see....
cmd.c - added "grab" and "ungrab" commands for -nodga mouse grabbing and
	ungrabbing (go figure)
cvar.c - Made descriptions carry over if the cvar was set on the command line
in_sun.c - removed a stupid comment
vid_* - added "vid_fullscreen", off by default.  You have to set at the command
	line or in quake.conf (or whatever it is) for it to take effect.
2000-05-01 22:53:16 +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
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
Joseph Carter
7df744f9e9 The very first bit of the boiler cleanup (a-d in common) More where this
came from as soon as I actually finish doing it since it has to be done by
hand to preserve Copyright notices and file descriptions.
2000-03-24 09:08:39 +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
20c4669f0f Added 'toggle' command (just like in Q3 :P) 2000-03-18 02:47:51 +00:00
Dan Olson
caabae74d3 Added 'cvarlist' command. 2000-03-07 22:28:25 +00:00
Dan Olson
0f15bbd803 Renamed "help" command to "menu_help".
Renamed "cvarhelp" to "help"
Improved the new "help" command.
2000-03-03 19:49:28 +00:00
Dan Olson
b5c3300cf3 Added 'cvarhelp' cmd to retrieve cvar descriptions. 2000-03-02 22:56:25 +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
Loring Holden
1b7369d462 Makefile.in - let autoconf tell us how to do shared library stuff
cvar.c - added $include <stdlib.h>
in_x11.c - removed #include "menu.h" (unavailable in some cases & unneeded)
vid_sunx.c - now loads x11 plugin
world.c - only call SV_Error if compiling uquake or qw-server
2000-02-17 16:18:55 +00:00
Dan Olson
7d387042f7 New CVAR flag system. Appears to work perfectly 2000-02-16 21:30:20 +00:00
Bill Currie
b099c73cc4 add Cvar_Init, which adds the "set" command to create dynamic cvars 2000-02-15 11:42:12 +00:00
Bill Currie
edbb589045 merge qw_client/cl_main.c and uquake/cl_main.c into common/cl_main.c
For the rest, convert all refs to FILE and gzFile to QFile, and similar for
file functions (eg fprintf, fgets, fread, etc)
2000-02-08 05:06:58 +00:00
Joseph Carter
25f297ded2 A little more work trying to get the tree back to normal.. 2000-01-28 03:19:57 +00:00
Zephaniah E. Hull
63978c73c6 uquake compile updates.. 2000-01-28 01:03:09 +00:00
Zephaniah E. Hull
f18b3bcf02 HUGE changes..
Basicly, sound_lib.a is built, and is compiled into the clients..
Note, uquake is SERIOUSLY FSCKED..
2000-01-27 17:06:02 +00:00
Renamed from qw_common/cvar.c (Browse further)