diff options
author | Simon Howard | 2006-01-13 23:56:00 +0000 |
---|---|---|
committer | Simon Howard | 2006-01-13 23:56:00 +0000 |
commit | d78780cfc3f4c5c601bc19ae7976c2ae26ac9495 (patch) | |
tree | 19f4f9685b34ab4bdb690525b82c5361b8772361 /textscreen/txt_main.c | |
parent | 8a6bdf645f50726000d2491cb52d41b69acd87a4 (diff) | |
download | chocolate-doom-d78780cfc3f4c5c601bc19ae7976c2ae26ac9495.tar.gz chocolate-doom-d78780cfc3f4c5c601bc19ae7976c2ae26ac9495.tar.bz2 chocolate-doom-d78780cfc3f4c5c601bc19ae7976c2ae26ac9495.zip |
Add text-mode I/O functions.
Use text-mode screen for the waiting screen.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 291
Diffstat (limited to 'textscreen/txt_main.c')
-rw-r--r-- | textscreen/txt_main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/textscreen/txt_main.c b/textscreen/txt_main.c index 6b283105..256775a8 100644 --- a/textscreen/txt_main.c +++ b/textscreen/txt_main.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: txt_main.c 289 2006-01-13 18:23:28Z fraggle $ +// $Id: txt_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.5 2006/01/13 23:56:00 fraggle +// Add text-mode I/O functions. +// Use text-mode screen for the waiting screen. +// // Revision 1.4 2006/01/13 18:23:28 fraggle // Textscreen getchar() function; remove SDL code from I_Endoom. // @@ -90,6 +94,7 @@ int TXT_Init(void) return 0; SDL_SetColors(screen, ega_colors, 0, 16); + SDL_EnableUNICODE(1); screendata = malloc(TXT_SCREEN_W * TXT_SCREEN_H * 2); memset(screendata, 0, TXT_SCREEN_W * TXT_SCREEN_H * 2); |