Remove built-in speaker support

The changes to amiga, mac and msdos builds are untested.
This commit is contained in:
Pasi Kallinen
2019-05-11 10:30:41 +03:00
parent 02826c4ebc
commit 217671e00f
36 changed files with 23 additions and 6842 deletions

View File

@@ -1106,10 +1106,6 @@ E int FDECL(macunlink, (const char *));
E boolean NDECL(authorize_wizard_mode);
/* ### macsnd.c ### */
E void FDECL(mac_speaker, (struct obj *, char *));
/* ### macunix.c ### */
E void FDECL(regularize, (char *));
@@ -2309,12 +2305,6 @@ E void NDECL(sys_early_init);
E void NDECL(sysopt_release);
E void FDECL(sysopt_seduce_set, (int));
/* ### sys/msdos/sound.c ### */
#ifdef MSDOS
E int FDECL(assign_soundcard, (char *));
#endif
/* ### sp_lev.c ### */
E boolean FDECL(check_room, (xchar *, xchar *, xchar *, xchar *, BOOLEAN_P));

View File

@@ -304,10 +304,6 @@ extern short clear_tty_window(WindowPtr window, short from_row,
extern short get_invalid_region(WindowPtr window, Rect *inval_rect);
extern short set_invalid_region(WindowPtr window, Rect *inval_rect);
/*
* Now in macsnd.c, which seemed like a good place
*/
extern void tty_nhbell();
#if EXTENDED_SUPPORT

View File

@@ -38,10 +38,6 @@
#define SHELL /* via exec of COMMAND.COM */
#ifdef __BORLANDC__
#define PCMUSIC /* Music option, enable very basic pc speaker music notes */
#endif
/*
* Screen control options
*
@@ -153,9 +149,6 @@
#define TIMED_DELAY /* enable the `timed_delay' run-time option */
#ifdef PCMUSIC
#define TIMED_DELAY /* need it anyway */
#endif
#define NOCWD_ASSUMPTIONS /* Allow paths to be specified for HACKDIR, \
LEVELDIR, SAVEDIR, BONESDIR, DATADIR, \
SCOREDIR, LOCKDIR, CONFIGDIR, and TROUBLEDIR. \

View File

@@ -85,12 +85,6 @@
/* #define RANDOM */ /* if neither random/srandom nor lrand48/srand48
is available from your system */
/* see sys/unix/snd86unx.shr for more information on these */
/* #define UNIX386MUSIC */ /* play real music through speaker on systems
with music driver installed */
/* #define VPIX_MUSIC */ /* play real music through speaker on systems
with built-in VPIX support */
/*
* The next two defines are intended mainly for the Andrew File System,
* which does not allow hard links. If NO_FILE_LINKS is defined, lock files