new cvar: cl_verstring, set it to "" if you want to get rid of that. Here

you go ambush..
This commit is contained in:
Joseph Carter 2000-03-18 08:16:47 +00:00
parent 67e0b3bb8a
commit 769b0bc53c
5 changed files with 177 additions and 155 deletions

301
AUTHORS
View file

@ -1,52 +1,43 @@
N: Nelson Rush QuakeForge Authors
E: palisade@quakeforge.net ------------------
D: QuakeForge Project Maintainer
D: Website Design
D: QW/Q1 tree merging
D: Math fixes/optimizations
D: Buffer overflow fixes
D: Documentation
N: Chase Hargraves This file should contain a listing of every single person who has worked
E: absolutek@quakeforge.net on or submitted code to the QuakeForge project. Unfortunately, we must
D: Irc logging admit that this listing is probably far from complete. It is probably not
D: Website design possible to list every single person who has had a positive impact on the
development of QuakeForge, but we're going to try anyway.
N: Jeff Teunissen Every contribution is important, even the ones that don't seem like it at
E: d2deek@pmail.net the time. If you've made a contribution to QuakeForge and aren't listed
D: QW/Q1 tree merging here, you should be! Please accept our apologies and let us know right
D: IRC Info bot away and we'll see to it that you get the credit you deserve.
D: Website design
N: Zephaniah E. Hull N: Aaron Alcock (SaRcaZm)
E: warp@whitestar.soark.net E: epca@powerup.com.au
D: QW/Q1 tree merging D: RGBA colored lightmaps (static/dynamic)
D: GL renderer fixes/optimizations
D: Input handling fixes/optimizations
D: Cheat/exploit fixes
N: Marcus Sundberg N: Andrew Alexander (Slade)
E: mackan@stacken.kth.se E: slade@quakelives.com
D: Reworking of the heart beat, and ping taking code on the server side.
D: sv_maxrate support..
N: Peter Andreasen
E: pandr@pandr.dk
D: QW/Q1 tree merging D: QW/Q1 tree merging
D: Autoconf support and portability D: Autoconf support and portability
D: Sound cleanups
D: Input handling fixes/optimizations
D: GGI support
D: mingw32 Win32 support
D: CD-ROM support/optimizations
D: DGA/XMESA support.
D: On-the-fly resizing of window in *-gl versions.
N: Bill Currie N: Cesar Eduardo Barros
E: bill@taniwha.org E: cesarb@web4u.com.br
D: QW/Q1 tree merging
D: Autoconf support and portability D: Autoconf support and portability
D: ALSA sound support
N: Eric Windisch N: Jules Bean
E: windisch@nni.com E: jules@debian.org
D: show_fps merge into UQuake
N: Maas van den Berg
E: email@dds.nl
D: QW/Q1 tree merging D: QW/Q1 tree merging
D: GL renderer fixes/optimizations D: SDL support
N: Joseph Carter (Knghtbrd) N: Joseph Carter (Knghtbrd)
E: knghtbrd@debian.org E: knghtbrd@debian.org
@ -62,15 +53,41 @@ D: Skybox implementation (several mods to existing tutorial)
D: Made RGBA lightmaps actually work D: Made RGBA lightmaps actually work
D: Statusbar fixes D: Statusbar fixes
N: Peter Andreasen N: Andrew Coles
E: pandr@pandr.dk E: andycole123@ic24.net
D: CD-ROM support/fixes
N: Bill Currie
E: bill@taniwha.org
D: QW/Q1 tree merging D: QW/Q1 tree merging
D: Autoconf support and portability D: Autoconf support and portability
D: ALSA sound support
N: Maas van den Berg N: Sam Dennis
E: email@dds.nl E: sdennis101@geocities.com
D: QW/Q1 tree merging D: UQuake patch for segfault in net_udp.c
D: SDL support
N: Mads Bondo Dydensborg
E: madsdyd@challenge.dk
D: Cheat/exploit fixes
N: Robert S. Elsner
E: sockman@ngfc.com
D: Sound cleanups
N: Anton Gavrilov
E: tonik@quake.ru
D: VC Win32 support
D: Console editing
N: Ryan C. Gordon
E: ryan_gorden@hotmail.com
D: Sound cleanups
N: Chase Hargraves
E: absolutek@quakeforge.net
D: Irc logging
D: Website design
N: Loring Holden N: Loring Holden
E: lsh@cv.brown.edu E: lsh@cv.brown.edu
@ -78,9 +95,46 @@ D: Autoconf support and portability
D: CD-ROM support/optimizations D: CD-ROM support/optimizations
D: AIX/IRIX/Sun Support D: AIX/IRIX/Sun Support
N: Cesar Eduardo Barros N: Zephaniah E. Hull
E: cesarb@web4u.com.br E: warp@whitestar.soark.net
D: Autoconf support and portability D: QW/Q1 tree merging
D: GL renderer fixes/optimizations
D: Input handling fixes/optimizations
D: Cheat/exploit fixes
N: Theo van Klaveren
E: havoc@phoenix.student.utwente.nl
D: CD-ROM support/optimizations
N: Sam Lantinga
E: slouken@devolution.com
D: SDL support
N: Pontus Lidman
E: <pontus@lysator.liu.se>
D: adding IPv6 support
N: Nye Liu (nyet)
E: nyet@nbase.com
D: game dir fixes
N: Justin A. McCright
E: jam@qIj.damogran.org
D: Svgalib fixes/optimizations
N: Roger Sen Montero
E: rogersm@tau.uab.es
D: Cheat/exploit fixes
D: Network code fixes/cleanups
N: Dan Nelson
E: dnelson@emsphone.com
D: Typo fix
D: Help with the speed cheat fix
N: Jason Nelson
E: jason_nelson@email.msn.com
D: VC win32 support.
N: Daniel J. O'Connor N: Daniel J. O'Connor
E: darius@dons.net.au E: darius@dons.net.au
@ -88,18 +142,14 @@ D: Autoconf support and portability
D: Corrected failed mmap checking D: Corrected failed mmap checking
D: FreeBSD support D: FreeBSD support
N: Tim Rowley N: Dan Olson
E: tor@cs.brown.edu E: theoddone@quakefiles.com
D: Autoconf support and portability D: Misc. code fixes
D: AIX/IRIX/Sun support D: Driver modules
N: Ryan C. Gordon N: Tane Piper
E: ryan_gorden@hotmail.com E: descent@barrysworld.com
D: Sound cleanups D: GL skybox tutorial
N: Robert S. Elsner
E: sockman@ngfc.com
D: Sound cleanups
N: Michael Pujos N: Michael Pujos
E: mpujos@mail.dotcom.fr E: mpujos@mail.dotcom.fr
@ -109,102 +159,71 @@ N: Filip Van Raemdonck
E: filipvr@xs4all.be E: filipvr@xs4all.be
D: Input handling fixes/optimizations D: Input handling fixes/optimizations
N: Zinx Verituse N: Tim Rowley
E: zinx@linuxfreak.com E: tor@cs.brown.edu
D: Autoconf support and portability
D: AIX/IRIX/Sun support
N: Nelson Rush (Palisade)
E: palisade@quakeforge.net
D: Project Administration
D: Website Design
D: QW/Q1 tree merging
D: Math fixes/optimizations D: Math fixes/optimizations
D: Buffer overflow fixes
N: Justin A. McCright D: Documentation
E: jam@qIj.damogran.org
D: Svgalib fixes/optimizations
N: Sam Lantinga
E: slouken@devolution.com
D: SDL support
N: Neal White III
E: nwhite@softblox.com
D: GL fullbright support (removed temporarily)
N: Dan Nelson
E: dnelson@emsphone.com
D: Typo fix
D: Help with the speed cheat fix
N: Dan Olson
E: theoddone@quakefiles.com
D: Misc. code fixes
D: Driver modules
N: Mads Bondo Dydensborg
E: madsdyd@challenge.dk
D: Cheat/exploit fixes
N: Roger Sen Montero
E: rogersm@tau.uab.es
D: Cheat/exploit fixes
D: Network code fixes/cleanups
N: Theo van Klaveren
E: havoc@phoenix.student.utwente.nl
D: CD-ROM support/optimizations
N: Ricardo Veguilla
E: r_veguilla_pr@yahoo.com
D: Fix for SDL _windowed_mouse
N: Pontus Lidman
E: <pontus@lysator.liu.se>
D: adding IPv6 support
N: David Symonds
E: xoxus@usa.net
D: svgalib fixes
D: warnings cleanup and XShm checking
N: Tarjei Skorgenes N: Tarjei Skorgenes
E: tarjei.skorgenes@online.no E: tarjei.skorgenes@online.no
D: Makefile fixes D: Makefile fixes
N: Andrew Coles
E: andycole123@ic24.net
D: CD-ROM support/fixes
N: Andrew Alexander (Slade)
E: slade@quakelives.com
D: Reworking of the heart beat, and ping taking code on the server side.
D: sv_maxrate support..
N: Nye "nyet" Liu
E: nyet@nbase.com
D: game dir fixes
N: Jules Bean
E: jules@debian.org
D: show_fps merge into UQuake
N: Jason Nelson
E: jason_nelson@email.msn.com
D: VC win32 support.
N: Jukka Sorjonen N: Jukka Sorjonen
E: jukka.sorjonen@asikkala.fi E: jukka.sorjonen@asikkala.fi
D: Bug squasher (see below). D: Bug squasher (see below).
D: QW network protocol fixes. D: QW network protocol fixes.
D: Found out why our VERSION was messing things up.. D: Found out why our VERSION was messing things up..
N: Tane Piper N: Marcus Sundberg
E: descent@barrysworld.com E: mackan@stacken.kth.se
D: GL skybox tutorial D: QW/Q1 tree merging
D: Autoconf support and portability
D: Sound cleanups
D: Input handling fixes/optimizations
D: GGI support
D: mingw32 Win32 support
D: CD-ROM support/optimizations
D: DGA/XMESA support.
D: On-the-fly resizing of window in *-gl versions.
N: Nawfel Tricha N: David Symonds
E: xoxus@usa.net
D: svgalib fixes
D: warnings cleanup and XShm checking
N: Jeff Teunissen (Deek)
E: d2deek@pmail.net
D: QW/Q1 tree merging
D: IRC Info bot
D: Website design
N: Nawfel Tricha (Topaz)
E: topaz@endorproductions.com E: topaz@endorproductions.com
D: GL spinning console D: GL spinning console
N: Aaron Alcock (SaRcaZm) N: Ricardo Veguilla
E: epca@powerup.com.au E: r_veguilla_pr@yahoo.com
D: RGBA colored lightmaps (static/dynamic) D: Fix for SDL _windowed_mouse
N: Zinx Verituse
E: zinx@linuxfreak.com
D: Math fixes/optimizations
N: Neal White III
E: nwhite@softblox.com
D: GL fullbright support (removed temporarily)
N: Eric Windisch
E: windisch@nni.com
D: QW/Q1 tree merging
D: GL renderer fixes/optimizations
N: Anton Gavrilov
E: tonik@quake.ru
D: VC Win32 support
D: Console editing

View file

@ -119,6 +119,7 @@ cvar_t *entlatency;
cvar_t *cl_predict_players; cvar_t *cl_predict_players;
cvar_t *cl_predict_players2; cvar_t *cl_predict_players2;
cvar_t *cl_solid_players; cvar_t *cl_solid_players;
cvar_t *cl_verstring;
extern cvar_t *sys_nostdout; extern cvar_t *sys_nostdout;
@ -454,7 +455,7 @@ void CL_ConnectionlessPacket (void)
Con_Printf("===========================\n"); Con_Printf("===========================\n");
Con_Printf("Invalid localid on command packet received from local host. " Con_Printf("Invalid localid on command packet received from local host. "
"\n|%s| != |%s|\n" "\n|%s| != |%s|\n"
"You may need to reload your server browser and QuakeWorld.\n", "You may need to reload your server browser and QuakeForge.\n",
s, localid->string); s, localid->string);
Con_Printf("===========================\n"); Con_Printf("===========================\n");
Cvar_Set("localid", ""); Cvar_Set("localid", "");
@ -1713,6 +1714,13 @@ void CL_InitCvars()
cl_hudswap = Cvar_Get ("cl_hudswap","1",CVAR_ARCHIVE,"None"); cl_hudswap = Cvar_Get ("cl_hudswap","1",CVAR_ARCHIVE,"None");
cl_maxfps = Cvar_Get ("cl_maxfps","0",CVAR_ARCHIVE,"None"); cl_maxfps = Cvar_Get ("cl_maxfps","0",CVAR_ARCHIVE,"None");
cl_timeout = Cvar_Get ("cl_timeout","60",0,"None"); cl_timeout = Cvar_Get ("cl_timeout","60",0,"None");
cl_verstring = Cvar_Get ("cl_verstring",
#ifdef QUAKEWORLD
"QuakeForge (QW client) " QF_VERSION,
#else
"QuakeForge (UQuake) " QF_VERSION,
#endif
CVAR_NONE, "Console version string");
lookspring = Cvar_Get ("lookspring","0",CVAR_ARCHIVE,"None"); lookspring = Cvar_Get ("lookspring","0",CVAR_ARCHIVE,"None");
lookstrafe = Cvar_Get ("lookstrafe","0",CVAR_ARCHIVE,"None"); lookstrafe = Cvar_Get ("lookstrafe","0",CVAR_ARCHIVE,"None");
sensitivity = Cvar_Get ("sensitivity","3",CVAR_ARCHIVE,"None"); sensitivity = Cvar_Get ("sensitivity","3",CVAR_ARCHIVE,"None");

View file

@ -373,6 +373,7 @@ extern cvar_t *cl_sbar;
extern cvar_t *cl_hudswap; extern cvar_t *cl_hudswap;
extern cvar_t *cl_pitchdriftspeed; extern cvar_t *cl_pitchdriftspeed;
extern cvar_t *cl_verstring;
extern cvar_t *lookspring; extern cvar_t *lookspring;
extern cvar_t *lookstrafe; extern cvar_t *lookstrafe;
extern cvar_t *sensitivity; extern cvar_t *sensitivity;

View file

@ -635,15 +635,11 @@ void Draw_ConsoleBackground (int lines)
int f, fstep; int f, fstep;
qpic_t *conback; qpic_t *conback;
static char saveback[320*8]; static char saveback[320*8];
#ifdef QUAKEWORLD
char ver[] = "QuakeForge (QW client) " QF_VERSION;
#else
char ver[] = "QuakeForge (UQuake) " QF_VERSION;
#endif
conback = Draw_CachePic ("gfx/conback.lmp"); conback = Draw_CachePic ("gfx/conback.lmp");
dest = conback->data + 320 - (strlen(ver)*8 + 11) + 320*186; dest = conback->data + 320 - (strlen(cl_verstring->string)*8 + 11)
+ 320*186;
memcpy(saveback, conback->data + 320*186, 320*8); memcpy(saveback, conback->data + 320*186, 320*8);
@ -704,7 +700,8 @@ void Draw_ConsoleBackground (int lines)
// put it back // put it back
memcpy(conback->data + 320*186, saveback, 320*8); memcpy(conback->data + 320*186, saveback, 320*8);
Draw_Alt_String (vid.conwidth - strlen(ver)*8 - 11, lines-14, ver); Draw_Alt_String (vid.conwidth - strlen(cl_verstring->string)*8 - 11,
lines-14, cl_verstring->string);
} }

View file

@ -30,6 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <sbar.h> #include <sbar.h>
#include <sys.h> #include <sys.h>
#include <cmd.h> #include <cmd.h>
#include <client.h>
#include <lib_replace.h> #include <lib_replace.h>
extern unsigned char d_15to8table[65536]; extern unsigned char d_15to8table[65536];
@ -760,11 +761,6 @@ Draw_ConsoleBackground
*/ */
void Draw_ConsoleBackground (int lines) void Draw_ConsoleBackground (int lines)
{ {
#ifdef QUAKEWORLD
char ver[] = "QuakeForge (QW client) " QF_VERSION;
#else
char ver[] = "QuakeForge (UQuake) " QF_VERSION;
#endif
int y; int y;
qpic_t *conback; qpic_t *conback;
glpic_t *gl; glpic_t *gl;
@ -836,7 +832,8 @@ void Draw_ConsoleBackground (int lines)
glPopMatrix (); glPopMatrix ();
} }
Draw_Alt_String (vid.conwidth - strlen(ver)*8 - 11, lines-14, ver); Draw_Alt_String (vid.conwidth - strlen(cl_verstring->string)*8 - 11,
lines-14, cl_verstring->string);
} }