1 /* NetHack 3.6 mhmap.h $NHDT-Date: 1432512810 2015/05/25 00:13:30 $ $NHDT-Branch: master $:$NHDT-Revision: 1.15 $ */ 2 /* Copyright (C) 2001 by Alex Kompel */ 3 /* NetHack may be freely redistributed. See license for details. */ 4 5 #ifndef MSWINMapWindow_h 6 #define MSWINMapWindow_h 7 8 #include "winMS.h" 9 #include "config.h" 10 #include "global.h" 11 12 COLORREF nhcolor_to_RGB(int c); 13 HWND mswin_init_map_window(void); 14 void mswin_map_stretch(HWND hWnd, LPSIZE lpsz, BOOL redraw); 15 int mswin_map_mode(HWND hWnd, int mode); 16 17 #define ROGUE_LEVEL_MAP_MODE MAP_MODE_ASCII12x16 18 #define ROGUE_LEVEL_MAP_MODE_FIT_TO_SCREEN MAP_MODE_ASCII_FIT_TO_SCREEN 19 20 #define DEF_CLIPAROUND_MARGIN 5 21 #define DEF_CLIPAROUND_AMOUNT 1 22 23 #endif /* MSWINMapWindow_h */ 24