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 d23401d19ca2434c6c37f2169895db24957309e1 Author: Simon Howard <[email protected]> Date: Mon Jan 2 21:52:06 2006 +0000 Move I_InitGraphics call to be invoked earlier in D_DoomMain. Call the NET_WaitForStart function to wait for a start signal in network games. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 253 --- src/d_main.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/d_main.c b/src/d_main.c index 89b6c47..c6044bd 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: d_main.c 241 2006-01-02 00:17:42Z fraggle $ +// $Id: d_main.c 253 2006-01-02 21:52:06Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,10 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.35 2006/01/02 21:52:06 fraggle +// Move I_InitGraphics call to be invoked earlier in D_DoomMain. Call the +// NET_WaitForStart function to wait for a start signal in network games. +// // Revision 1.34 2006/01/02 00:17:42 fraggle // Encapsulate the event queue code properly. Add a D_PopEvent function // to read a new event from the event queue. @@ -154,7 +158,7 @@ //----------------------------------------------------------------------------- -static const char rcsid[] = "$Id: d_main.c 241 2006-01-02 00:17:42Z fraggle $"; +static const char rcsid[] = "$Id: d_main.c 253 2006-01-02 21:52:06Z fraggle $"; #define BGCOLOR 7 #define FGCOLOR 8 @@ -532,8 +536,6 @@ void D_DoomLoop (void) debugfile = fopen (filename,"w"); } - I_InitGraphics (); - while (1) { // frame syncronous IO operations @@ -1577,6 +1579,10 @@ void D_DoomMain (void) printf ("ST_Init: Init status bar.\n"); ST_Init (); + I_InitGraphics (); + + NET_WaitForStart(); + // start the apropriate game based on parms p = M_CheckParm ("-record"); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

