diff options
Diffstat (limited to 'src/d_main.c')
-rw-r--r-- | src/d_main.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/d_main.c b/src/d_main.c index 91c83d71..f90b331d 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: d_main.c 280 2006-01-10 22:14:13Z fraggle $ +// $Id: d_main.c 291 2006-01-13 23:56:00Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,10 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.38 2006/01/13 23:56:00 fraggle +// Add text-mode I/O functions. +// Use text-mode screen for the waiting screen. +// // Revision 1.37 2006/01/10 22:14:13 fraggle // Shut up compiler warnings // @@ -166,7 +170,7 @@ //----------------------------------------------------------------------------- -static const char rcsid[] = "$Id: d_main.c 280 2006-01-10 22:14:13Z fraggle $"; +static const char rcsid[] = "$Id: d_main.c 291 2006-01-13 23:56:00Z fraggle $"; #define BGCOLOR 7 #define FGCOLOR 8 @@ -220,7 +224,6 @@ static const char rcsid[] = "$Id: d_main.c 280 2006-01-10 22:14:13Z fraggle $"; #include "st_stuff.h" #include "am_map.h" #include "net_client.h" -#include "net_gui.h" #include "p_setup.h" #include "r_local.h" @@ -544,7 +547,9 @@ void D_DoomLoop (void) printf ("debug output to: %s\n",filename); debugfile = fopen (filename,"w"); } - + + I_InitGraphics (); + while (1) { // frame syncronous IO operations @@ -1590,10 +1595,6 @@ 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"); |