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:
@@ -12,12 +12,13 @@
|
||||
|
||||
/* #pragma warning(4103:disable) */
|
||||
|
||||
#include "hack.h"
|
||||
#include "tile.h"
|
||||
#ifndef __GNUC__
|
||||
#include "win32api.h"
|
||||
#endif
|
||||
|
||||
#include "hack.h"
|
||||
#include "tile.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#if defined(UINT32_MAX) && defined(INT32_MAX) && defined(UINT16_MAX)
|
||||
#define UINT8 uint8_t
|
||||
|
||||
Reference in New Issue
Block a user