some macsound instrument play refinements
Also some better core placement of some of the Hero_playnotes calls.
This commit is contained in:
@@ -170,12 +170,16 @@ ifeq "$(HAVE_SNDLIB)" "1"
|
||||
SNDCFLAGS+= -DUSER_SOUNDS
|
||||
endif
|
||||
|
||||
CFLAGS+= $(PKGCFLAGS) $(WINCFLAGS) #WINCFLAGS set from multiw-2.370
|
||||
CFLAGS+= $(SNDCFLAGS) #SNDCFLAGS set from multiw-2.370
|
||||
#WINCFLAGS set from multiw-2.370
|
||||
#SNDCFLAGS set from multiw-2.370
|
||||
CFLAGS+= $(PKGCFLAGS) $(WINCFLAGS)
|
||||
CFLAGS+= $(SNDCFLAGS)
|
||||
CFLAGS+= $(NHCFLAGS)
|
||||
|
||||
CCXXFLAGS+= $(WINCFLAGS) #WINCFLAGS set from multiw-2.370
|
||||
CCXXFLAGS+= $(SNDCFLAGS) #SNDCFLAGS set from multiw-2.370
|
||||
#WINCFLAGS set from multiw-2.370
|
||||
#SNDCFLAGS set from multiw-2.370
|
||||
CCXXFLAGS+= $(WINCFLAGS)
|
||||
CCXXFLAGS+= $(SNDCFLAGS)
|
||||
CCXXFLAGS+= $(NHCFLAGS)
|
||||
|
||||
VARDATND =
|
||||
|
||||
@@ -39,6 +39,9 @@ ATTRNORETURN static void opt_terminate(void) NORETURN;
|
||||
ATTRNORETURN static void opt_usage(const char *) NORETURN;
|
||||
static void opt_showpaths(const char *);
|
||||
ATTRNORETURN static void scores_only(int, char **, const char *) NORETURN;
|
||||
#ifdef SND_LIB_INTEGRATED
|
||||
uint32_t soundlibchoice = soundlib_nosound;
|
||||
#endif
|
||||
|
||||
#ifdef _M_UNIX
|
||||
extern void check_sco_console(void);
|
||||
@@ -107,10 +110,12 @@ main(int argc, char *argv[])
|
||||
* We can leave a hint here for activate_chosen_soundlib later.
|
||||
* assign_soundlib() just sets an indicator, it doesn't initialize
|
||||
* any soundlib, and the indicator could be overturned before
|
||||
* activate_chosen_soundlib() gets called.
|
||||
* activate_chosen_soundlib() gets called. Qt will place its own
|
||||
* hint if qt_init_nhwindow() is invoked.
|
||||
*/
|
||||
#if defined(SND_LIB_MACSOUND) && !defined(SND_LIB_QTSOUND)
|
||||
assign_soundlib(soundlib_macsound);
|
||||
#if defined(SND_LIB_MACSOUND)
|
||||
soundlibchoice = soundlib_macsound;
|
||||
assign_soundlib(soundlibchoice);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user