win32 USER_SOUNDS

This uses pmatch() as a default pattern matcher,
and #defines USER_SOUNDS_REGEX for Qt
to enable the code for regular expressions.

This is enabled for win32tty and win32gui.
This commit is contained in:
nethack.allison
2002-09-02 23:28:54 +00:00
parent 0cb3b8543b
commit 6bebdbb135
8 changed files with 53 additions and 7 deletions

View File

@@ -85,6 +85,7 @@
#ifdef QT_GRAPHICS
# define DEFAULT_WC_TILED_MAP /* Default to tiles if users doesn't say wc_ascii_map */
# define USER_SOUNDS /* Use sounds */
# define USER_SOUNDS_REGEX
# define USE_XPM /* Use XPM format for images (required) */
# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.ppm) */
# ifndef DEFAULT_WINDOW_SYS

View File

@@ -23,6 +23,7 @@
#define SELF_RECOVER /* Allow the game itself to recover from an aborted game */
#define USER_SOUNDS
/*
* -----------------------------------------------------------------
* The remaining code shouldn't need modification.