Commit graph

730 commits

Author SHA1 Message Date
Anton E. Gavrilov
ed0b3b616b Cvar_SetValue: cvar_t *var_name is confusing, renamed it to *var 2000-09-22 15:38:05 +00:00
Anton E. Gavrilov
c85a468602 1. Cvar_CvarList_f() prints cvar flags (like Q2/Q3 do)
2. CVAR_HEAP makes no sense now that ALL cvar are stored in heap.
3. No need to allocate memory for cvar descriptions
4. ^= CVAR_USER_CREATED ---> &= ~CVAR_USER_CREATED
2000-09-22 15:32:52 +00:00
Forest Hale
1a3eb27f8b changed texture update validation to normal CRC 2000-09-22 15:08:28 +00:00
Zephaniah E. Hull
5242630d16 I don't know WHY having the charset loaded as a texture after the
crosshair makes it look like crap, but it does, so it is loaded
before the crosshair now, looks MUCH nicer.
2000-09-22 09:12:03 +00:00
Zephaniah E. Hull
210ba16069 First off in gl_draw.c we have some nice cleanup code for the upload
code.

Then we have the completely purge of treating 'unsigned' as a type, it
is NOT a type, it is a TYPE MODIFIER!

Under gcc for x86 it happens to try and do something sane, just treat it
as a unsigned int, but that is EVIL, it is a MODIFIER and if ANYONE adds
code which uses unsigned as a type in itself I /WILL/ harm them!!!
2000-09-22 09:08:08 +00:00
Jeff Teunissen
9691cca81d Palette never gets changed in GL mode now. 2000-09-21 19:15:44 +00:00
Bill Currie
1d3935a903 add desti's nodga patch with modifications to control the grabbing of kb and
mouse input
2000-09-21 15:23:35 +00:00
Jeff Teunissen
acace1d0eb mmap should set PROT_READ|PROT_WRITE, not just PROT_WRITE. Takes care of a
problem with FreeBSD. Also, check for MAP_FAILED instead of
(unsigned char *)-1
2000-09-21 06:27:08 +00:00
Bill Currie
ddef594b2e gl bmodel fullbrights implemented. I hope. I'll find out for sure when I get
home.
2000-09-20 23:06:26 +00:00
Bill Currie
96aba78186 forgot to rename Mod_LoadMMNearest to Mod_ProcessTexture 2000-09-20 22:21:25 +00:00
Bill Currie
b55b0264b5 model loading reorg ala nuq. once again, gl hasn't been tested (will test when
I get home tonight). This is in preparation for bmodel fulbrights.
2000-09-20 22:11:17 +00:00
Jeff Teunissen
64ec067a25 whitespace (spaces -> tabs) 2000-09-20 04:13:52 +00:00
Jeff Teunissen
a3e19d5cc2 gl_screen.c: Minor tweaks, contrast gets clamped to 0.1-1 instead of 0.2-1
view.h: Add brightness, contrast cvars as extern
menu.c: Change brightness scroller to use the brightness cvar, add
contrast scroller.
r_view, sw_view.c: Add brightness/contrast cvars to software, and make
them work.
2000-09-20 04:06:12 +00:00
Bill Currie
3396ca6fde ALSA 0.6 support added. old snd_alsa.c renamed to snd_alsa_0_5.c 2000-09-18 03:07:49 +00:00
Forest Hale
69edf96241 added back -basedir 2000-09-11 12:26:53 +00:00
Bill Currie
9f476ee5c6 port over a sound init fix from oldtree that prevents a crash if sound doesn't
init properly
2000-09-07 17:31:07 +00:00
Zephaniah E. Hull
51aa5518ae Slight change in the crosshair code, minor cleanup really. 2000-08-31 17:36:02 +00:00
Bill Currie
7e6d2f95c5 gl_model.c:
sprintf -> snprintf
gl_rmain.c:
	slight optimisation (thanks, LordHavoc)
2000-08-27 11:05:11 +00:00
Bill Currie
a2129d7f66 add qf-client-sdl and qf-client-sgl to the ignore list 2000-08-25 23:24:27 +00:00
Anton E. Gavrilov
66a91044bb cl_parsesay --- parse $\ (fake); $[, $]; $R $G $B $Y (ocrana leds);
Note that this cvar is different from QWF's cl_parsesay.
cl_nofake --- unhide fake messages from other players
2000-08-22 18:54:01 +00:00
Anton E. Gavrilov
03846c9bec Ooops (forgot an #include) 2000-08-22 18:00:12 +00:00
Anton E. Gavrilov
d46f19e7ae Add "overloaded" impulse command (e.g. impulse 5 4 1) --- a hack that
only works correctly in standard deathmatch but may be useful in TF too
2000-08-22 17:53:48 +00:00
Zephaniah E. Hull
9fcea8629e Compile fixes. 2000-08-22 10:35:06 +00:00
Maddes Buecher
b72492afd3 EndFrame function by FrikaC/Maddes 2000-08-20 19:47:37 +00:00
Maddes Buecher
1cb4241fb4 +USE unbound fix 2000-08-20 19:17:44 +00:00
Maddes Buecher
7815a27f98 Added Coding Style Guide 2000-08-18 21:50:25 +00:00
Maddes Buecher
a927261f89 Conwidth/height charset fix by TcT: weird charset when you set -conwidth/-conheight to other values than screen resolution 2000-08-17 20:15:20 +00:00
Maddes Buecher
f9bc5b2c22 Weird cvar zeros fix 2000-08-17 18:28:28 +00:00
Maddes Buecher
ac7199d6e2 Bound keys not saved in quotes fix, this caused problems with a binded semilicon 2000-08-17 17:37:48 +00:00
Dabb
af1a000fb1 Why SockadrToNetadr(&from,&net_from) twice? Removed extra. 2000-08-17 16:48:06 +00:00
Dabb
1f4f2e1c36 Add cvar sys_nostdout to WIN32 clients too. Note: sets stdout DISABLED (1) by default. 2000-08-17 15:44:17 +00:00
Dabb
798518474b Allow disabling stdout with sys_nostdout with SDL targets too.. 2000-08-17 15:40:41 +00:00
Dabb
576a32782a Fix nostdout bug ... 2000-08-17 13:38:57 +00:00
Dabb
e41b8e7faa Removed extra Sys_Printf function (its in sys_win.c now) 2000-08-17 12:44:42 +00:00
Dabb
9b90de262a Added "last message repeated xx times" to cut down repeated lines from Con_Printf 2000-08-17 12:42:37 +00:00
Dabb
7e689832db Added "last message repeated xx times" to cut down repeated lines from Sys_Printf. 2000-08-17 12:42:08 +00:00
Dabb
da1b50442f Moved Sys_Printf from sv_sys_win.c.
Added graph char translations to Sys_Printf (from sys_unix).
Added "last message repeated xx times" to cut down repeat lines from Sys_Printf.
2000-08-17 12:40:26 +00:00
Dabb
50529263fb Moved Sys_Printf to sys_win.c. 2000-08-17 12:36:55 +00:00
Maddes Buecher
b34a867ec0 FTOS fix: no leading spaces and keeping maximum precision for float values 2000-08-16 21:43:24 +00:00
Maddes Buecher
b62172b915 SV_CheckVelocity() fix (cvar SV_MAXVELOCITY) 2000-08-16 20:49:06 +00:00
Zephaniah E. Hull
e5581c8373 Fix of a bug with fullbright models.. 2000-08-16 12:29:13 +00:00
Zephaniah E. Hull
b5e459d224 FULLBRIGHT SUPPORT FOR MODELS!
Yes, this means that your standard grenades, the pipebombs, proxys,
sents, etc will all have fullbright pixels!

As a added bonus they are toggable with the gl_fb_models cvar! But
there is more! This comes at a almost unnoticeable cost! Thats right!
For you get this all for only 2 FPS!

Repeat, thats 2 FPS! PRACTICALLY NOTHING!

So order now! Available from the quakeforge newtree CVS.
2000-08-16 09:26:22 +00:00
Zephaniah E. Hull
0b7385ca76 We need a slightly larger MAX_INFO_STRING, boosted to 512. 2000-08-15 02:41:36 +00:00
Dabb
5385056a9e Detect runt client packets quicker. 2000-08-14 13:41:05 +00:00
Dabb
66e08b1e0f Some fixes to DoS code. 2000-08-14 13:02:17 +00:00
Zephaniah E. Hull
23d81824dc Old draw cleanups, frogot I had them around..
Clean up of Dabb's mess, he dies.
2000-08-14 04:53:45 +00:00
Dabb
9a2ec3c094 %d -> %f in netdosvalues/netdosexpire 2000-08-13 14:59:09 +00:00
Dabb
dc0337a885 Removed testing stuff. 2000-08-13 14:40:27 +00:00
Dabb
3c881d8ab0 Renamed dosvalues,dosexpire->netdosvalues,netdosexpire. 2000-08-13 14:37:26 +00:00
Dabb
bafb8f7239 Basic DoS flood attack protections.
Commands added: netdosexpire, netdosvalues
(oops, forgot from last ;)
2000-08-13 14:34:49 +00:00