[chocolate-doom] 41/79: Don't grab the mouse on the net waiting screen
Jonathan Dowland
jmtd at moszumanska.debian.org
Mon Jan 30 15:07:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
jmtd pushed a commit to annotated tag chocolate-doom-0.1.3
in repository chocolate-doom.
commit 02ed6c1bb5b1fbdd6aa1d41b01e1c374d8c86e5d
Author: Simon Howard <fraggle at gmail.com>
Date: Sun Jan 8 05:04:50 2006 +0000
Don't grab the mouse on the net waiting screen
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 269
---
src/net_gui.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/net_gui.c b/src/net_gui.c
index 7a41f21..a8307d2 100644
--- a/src/net_gui.c
+++ b/src/net_gui.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: net_gui.c 262 2006-01-07 20:08:11Z fraggle $
+// $Id: net_gui.c 269 2006-01-08 05:04:50Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.4 2006/01/08 05:04:50 fraggle
+// Don't grab the mouse on the net waiting screen
+//
// Revision 1.3 2006/01/07 20:08:11 fraggle
// Send player name and address in the waiting data packets. Display these
// on the waiting screen, and improve the waiting screen appearance.
@@ -42,6 +45,8 @@
// start the game.
//
+#include "doomstat.h"
+
#include "net_client.h"
#include "net_gui.h"
#include "net_server.h"
@@ -157,6 +162,11 @@ void NET_WaitForStart(void)
NET_InitGUI();
+ // cheap hack: pretend to be on a demo screen so the mouse wont
+ // be grabbed
+
+ gamestate = GS_DEMOSCREEN;
+
last_tic_time = I_GetTime();
while (net_waiting_for_start)
--
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