Commit cddaa9cc authored by deuce's avatar deuce
Browse files

Requires xpbeep.h for BEEP macro

parent 4521ede6
......@@ -36,6 +36,7 @@
#include <genwrap.h>
#include <ciolib.h>
#include <xpbeep.h>
#include <keys.h>
#include "cterm.h"
......@@ -169,7 +170,7 @@ void playnote(int notenum, int notelen, int dotted)
break;
}
duration-=pauselen;
BEEP((note_frequency[notenum]+500)/1000,duration);
BEEP(((double)note_frequency[notenum])/1000,duration);
SLEEP(pauselen);
}
......
......@@ -43,6 +43,7 @@
#include "gen_defs.h" /* uchar, ushort, uint, ulong, etc. */
#include "nodedefs.h" /* node_t */
#include "fidodefs.h" /* fmsghdr_t, fpkthdr_t, FIDO_*, etc. */
#include "xpbeep.h" /* BEEP() */
/*************/
/* Constants */
......
......@@ -62,6 +62,7 @@
#include "ini_file.h"
#include "eventwrap.h"
#include "threadwrap.h"
#include "xpbeep.h"
/* sbbs */
#include "ringbuf.h"
......
......@@ -48,6 +48,7 @@
#include <stdarg.h>
#include <sys/stat.h>
#include "xpbeep.h"
#include "conwrap.h"
#include "genwrap.h"
#include "dirwrap.h"
......
......@@ -41,7 +41,8 @@
#include <stdlib.h>
#include <ctype.h>
#include "genwrap.h" /* BEEP */
#include "xpbeep.h" /* BEEP */
#include "genwrap.h"
#include "dirwrap.h" /* getfname */
#include "conwrap.h" /* kbhit */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment