1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/nethack33-qt/files/src-sounds.c.diff
Andreas Klemm 724bd478c9 NetHack with Qt interface. Version 0.9 (for NetHack 3.2.2)
by Warwick Allison warwick@cs.uq.edu.au.

The Qt interface has these extra features:

    Tiles (graphics) in the inventory and other item-menu windows.
    The player cursor changes colour as your relative hit-points drop.
    The message window greys-out older message.
    The item menus allow a count (click to left of icon - hidden feature).
    Icons for the major attributes and player states.
    Menus (only needed by newbie dungeon fodder).
    Variable size fonts and tiles.
    More space for the map as messages and status are side-by-side.
    You rarely need to put the mouse in a pop-up to interact with it.
    Macros - hidden feature - F1=multi-rest F2=multi-search F3=try-it
    It is much easier to code, so new feature-requests are more easily done.
    Sound support

See: http://www.uq.edu.au/~cswallis/nhqt/
1997-04-06 02:45:30 +00:00

15 lines
320 B
Diff

--- src/sounds.c.orig Thu Mar 20 22:48:36 1997
+++ src/sounds.c Thu Mar 20 22:50:00 1997
@@ -5,7 +5,11 @@
#include "hack.h"
#include "edog.h"
#ifdef USER_SOUNDS
+#if defined(__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__)
+#include <gnuregex.h>
+#else
#include <regex.h>
+#endif
#endif
#ifdef OVLB