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
+3
View File
@@ -1761,6 +1761,9 @@ tty_putstr(window, attr, str)
switch(cw->type) {
case NHW_MESSAGE:
/* really do this later */
#if defined(USER_SOUNDS) && defined(WIN32CON)
play_sound_for_message(str);
#endif
update_topl(str);
break;