The first messages on the console now wrap like they should, to the window

width instead of to 40 characters.
This commit is contained in:
Jeff Teunissen 2001-01-09 00:03:08 +00:00
parent 91bfddbf58
commit 8247d35d32
8 changed files with 15 additions and 28 deletions

View file

@ -38,6 +38,7 @@
#include <SDL.h>
#include "console.h"
#include "cvar.h"
#include "d_local.h"
#include "host.h"
@ -143,6 +144,8 @@ VID_Init (unsigned char *palette)
// Set up display mode (width and height)
VID_GetWindowSize (BASEWIDTH, BASEHEIGHT);
Con_CheckResize (); // Now that we have a window size, fix console
vid.maxwarpwidth = WARP_WIDTH;
vid.maxwarpheight = WARP_HEIGHT;