Enforced the inclusion of windows headers before nethack headers.
Moved the code page 437 mapping table to winnt.c so that it could be used in window and console clients. Added check that fonts support unicode values we use from code page 437. Use unicode to draw text if font supports it otherwise use ASCII.
This commit is contained in:
@@ -7,15 +7,16 @@
|
||||
* level files. Requires that the `checkpoint' option be enabled at the
|
||||
* time NetHack creates those level files.
|
||||
*/
|
||||
#include "config.h"
|
||||
#if !defined(O_WRONLY) && !defined(LSC) && !defined(AZTEC_C)
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
#include <errno.h>
|
||||
#include "win32api.h"
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#if !defined(O_WRONLY) && !defined(LSC) && !defined(AZTEC_C)
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#ifdef VMS
|
||||
extern int FDECL(vms_creat, (const char *, unsigned));
|
||||
extern int FDECL(vms_open, (const char *, int, unsigned));
|
||||
|
||||
Reference in New Issue
Block a user