1 /* NetHack 3.7 mhmap.h $NHDT-Date: 1596498354 2020/08/03 23:45:54 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.17 $ */ 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_layout(HWND hWnd, LPSIZE lpsz); 15 int mswin_map_mode(HWND hWnd, int mode); 16 void mswin_map_update(HWND hWnd); 17 18 #define ROGUE_LEVEL_MAP_MODE MAP_MODE_ASCII12x16 19 #define ROGUE_LEVEL_MAP_MODE_FIT_TO_SCREEN MAP_MODE_ASCII_FIT_TO_SCREEN 20 21 #define DEF_CLIPAROUND_MARGIN 5 22 #define DEF_CLIPAROUND_AMOUNT 1 23 24 #endif /* MSWINMapWindow_h */ 25