[chocolate-doom] 58/83: -nograbmouse option

Jonathan Dowland jmtd at moszumanska.debian.org
Mon Jan 30 15:06:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

jmtd pushed a commit to annotated tag chocolate-doom-0.0.1
in repository chocolate-doom.

commit e58b687ef944851bed7a3cbaede0c9f59cc724b6
Author: Simon Howard <fraggle at gmail.com>
Date:   Thu Sep 1 00:01:36 2005 +0000

    -nograbmouse option
    
    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 64
---
 src/i_video.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/i_video.c b/src/i_video.c
index 4bc4a5f..8d22625 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: i_video.c 63 2005-08-31 23:58:28Z fraggle $
+// $Id: i_video.c 64 2005-09-01 00:01:36Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
 // 02111-1307, USA.
 //
 // $Log$
+// Revision 1.21  2005/09/01 00:01:36  fraggle
+// -nograbmouse option
+//
 // Revision 1.20  2005/08/31 23:58:28  fraggle
 // smarter mouse grabbing for windowed mode
 //
@@ -94,7 +97,7 @@
 //-----------------------------------------------------------------------------
 
 static const char
-rcsid[] = "$Id: i_video.c 63 2005-08-31 23:58:28Z fraggle $";
+rcsid[] = "$Id: i_video.c 64 2005-09-01 00:01:36Z fraggle $";
 
 #include <ctype.h>
 #include <SDL.h>
@@ -736,6 +739,10 @@ void I_InitGraphics(void)
 
     flags |= SDL_SWSURFACE | SDL_HWPALETTE | SDL_DOUBLEBUF;
 
+    // mouse grabbing, defaults to on
+
+    grabmouse = !M_CheckParm("-nograbmouse");
+
     // default to fullscreen mode, allow override with command line
     // nofullscreen because we love prboom
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git



More information about the Pkg-games-commits mailing list