The changes did not apply to the main trunk as easily as I wouuld have hoped, so I attempted a number of manual applications. I hope <Someone> can tell me if there is a problem. Changelist: - bugfix: help text windows close immediately after open (unhandled WM_KEYDOWN in mhtext.c) - bugfix: action button uses hero coordinates instead of cursor position - pocketpc: bugfix: menu window closes on up/down keys from first/last position - smartphone: do not translate input when command helper is hidden (fixes Motorola Q keyboard bug) - smartphone: new keypad layouts - smartphone: wizard mode command layout - smartphone: option to feed arbitrary text as a command to nethack core - wrap/unwrap text option for text windows - hardware keyboard detection - hide keypad when hardware keyboard is present - backport message window highlighting from winnt port - new icon with recommended image sizes
25 lines
652 B
C
25 lines
652 B
C
/* NetHack 3.5 mhmap.h $Date$ $Revision$ */
|
|
/* SCCS Id: @(#)mhmap.h 3.5 2005/01/23 */
|
|
/* Copyright (C) 2001 by Alex Kompel */
|
|
/* NetHack may be freely redistributed. See license for details. */
|
|
|
|
#ifndef MSWINMapWindow_h
|
|
#define MSWINMapWindow_h
|
|
|
|
#include "winMS.h"
|
|
#include "config.h"
|
|
#include "global.h"
|
|
|
|
|
|
HWND mswin_init_map_window (void);
|
|
void mswin_map_stretch(HWND hWnd, LPSIZE lpsz, BOOL redraw);
|
|
int mswin_map_mode(HWND hWnd, int mode);
|
|
void mswin_map_get_cursor(HWND hWnd, int* x, int* y);
|
|
|
|
#define ROGUE_LEVEL_MAP_MODE MAP_MODE_ASCII12x16
|
|
|
|
#define DEF_CLIPAROUND_MARGIN 5
|
|
#define DEF_CLIPAROUND_AMOUNT 1
|
|
|
|
#endif /* MSWINMapWindow_h */
|