From c629454cd39f7a2695568ef9ae90934936904759 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Tue, 9 Oct 2001 08:17:07 +0000 Subject: [PATCH] changed window caption to include version info --- video/ogl_sdl.c | 9 ++++++--- video/sdl_gr.c | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/video/ogl_sdl.c b/video/ogl_sdl.c index 2b1a68beb..b20c1b8ff 100644 --- a/video/ogl_sdl.c +++ b/video/ogl_sdl.c @@ -1,12 +1,15 @@ /* * $Source: /cvs/cvsroot/d2x/video/ogl_sdl.c,v $ - * $Revision: 1.3 $ + * $Revision: 1.4 $ * $Author: bradleyb $ - * $Date: 2001-10-09 02:58:20 $ + * $Date: 2001-10-09 08:17:07 $ * * Graphics functions for SDL-GL. * * $Log: not supported by cvs2svn $ + * Revision 1.3 2001/10/09 02:58:20 bradleyb + * Added window caption, hide mouse cursor + * * Revision 1.2 2001/01/29 13:47:52 bradleyb * Fixed build, some minor cleanups. * @@ -63,7 +66,7 @@ int ogl_init_window(int x, int y){ SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, bpp ); SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 ); - SDL_WM_SetCaption("D2x", "Descent II"); + SDL_WM_SetCaption(DESCENT_VERSION, "Descent II"); if ( SDL_SetVideoMode( x, y, bpp, video_flags ) == NULL ) { fprintf(stderr, "Couldn't set GL mode: %s\n", SDL_GetError()); diff --git a/video/sdl_gr.c b/video/sdl_gr.c index 2873dd67a..779aa543c 100644 --- a/video/sdl_gr.c +++ b/video/sdl_gr.c @@ -1,12 +1,15 @@ /* * $Source: /cvs/cvsroot/d2x/video/sdl_gr.c,v $ - * $Revision: 1.4 $ + * $Revision: 1.5 $ * $Author: bradleyb $ - * $Date: 2001-01-31 13:59:23 $ + * $Date: 2001-10-09 08:17:07 $ * * SDL video functions. * * $Log: not supported by cvs2svn $ + * Revision 1.4 2001/01/31 13:59:23 bradleyb + * Fullscreen toggle added to screen res menu + * * Revision 1.3 2001/01/29 13:47:52 bradleyb * Fixed build, some minor cleanups. * @@ -105,7 +108,7 @@ int gr_set_mode(u_int32_t mode) //Style "D1X*" NoTitle, NoHandles, BorderWidth 0 //if you can't use -fullscreen like me (crashes X), this is a big help in //getting the window centered correctly (if you use SmartPlacement) - SDL_WM_SetCaption("D2x", "Descent II"); + SDL_WM_SetCaption(DESCENT_VERSION, "Descent II"); //end addition -MM //edited 10/05/98 by Matt Mueller - make fullscreen mode optional