示例#1
0
CALLSET_ENTRY (clock_millions, music_refresh)
{
	if (!timed_mode_running_p (&clock_millions_mode))
		return;
	switch (clock_mode_hits)
	{
		case 0:
			music_request (MUS_CLOCK_CHAOS1, PRI_GAME_MODE1);
			break;
		case 1:
			music_request (MUS_CLOCK_CHAOS2, PRI_GAME_MODE1);
			break;
		case 2:
			music_request (MUS_CLOCK_CHAOS3, PRI_GAME_MODE1);
			break;
		case 3:
			music_request (MUS_CLOCK_CHAOS4, PRI_GAME_MODE1);
			break;
		case 4:
			music_request (MUS_CLOCK_CHAOS5, PRI_GAME_MODE1);
			break;
		default:
			music_request (MUS_CLOCK_CHAOS5, PRI_GAME_MODE1);
			break;
	}
}
示例#2
0
文件: tnf.c 项目: SonnyJim/freewpc
CALLSET_ENTRY (tnf, tnf_start)
{
	flipper_disable ();
	tnf_buttons_pressed = 1;
	score_zero (tnf_score);
	set_tnf_target ();
	leff_start (LEFF_BONUS);
	music_request (MUS_POWERFIELD, PRI_GAME_VMODE);
	deff_start_sync (DEFF_TNF);
	task_sleep_sec (1);
	while (deff_get_active () == DEFF_TNF)
		task_sleep (TIME_500MS);
	leff_stop (LEFF_BONUS);
	callset_invoke (tnf_end);
}
示例#3
0
文件: sharpe.c 项目: SonnyJim/freewpc
CALLSET_ENTRY (sssmb, music_refresh)
{
	if (global_flag_test (GLOBAL_FLAG_SHARPE_RUNNING))
		music_request (MUS_FASTLOCK_EARTHSHAKER, PRI_GAME_MODE1 + 9);
}
示例#4
0
文件: sssmb.c 项目: SonnyJim/freewpc
CALLSET_ENTRY (sssmb, music_refresh)
{
	if (global_flag_test (GLOBAL_FLAG_SSSMB_RUNNING))
		music_request (MUS_SPIRAL_MODE, PRI_GAME_MODE1 + 9);
}
示例#5
0
/****************************************************************************
 * external event listeners
 ****************************************************************************/
CALLSET_ENTRY (fortress, music_refresh)  {
	if (in_game && is_fortress_running)	music_request (MUS_MB_B, PRI_GAME_QUICK7);
}//end of function
/****************************************************************************
 * body
 *
 ***************************************************************************/
CALLSET_ENTRY (lock_freeze_mbstart, music_refresh) { if (in_game && valid_playfield && flag_test(FLAG_IS_MULTIBALL_ENABLED) )	music_request (MUS_MB_READY, PRI_GAME_MODE1); }
示例#7
0
/****************************************************************************
 * external event listeners
 ****************************************************************************/
CALLSET_ENTRY (cryoprison, music_refresh)  {
//	if (cryoprison_start_music)				music_request (SIREN, PRI_GAME_QUICK8);
//	else 									mb_mode_music_refresh (&cryoprison_mode);
	if (flag_test(FLAG_IS_CRYOPRISON_MB_RUNNING))	music_request (MUS_MB, PRI_GAME_QUICK7);
}//end of function
示例#8
0
/****************************************************************************
 * external event listeners
 ****************************************************************************/
CALLSET_ENTRY (wasteland, music_refresh)  {
//	if (wasteland_start_music)				music_request (GROUND_HUMM, PRI_GAME_QUICK8);
//	else 									mb_mode_music_refresh (&wasteland_mode);
	if (in_game && is_wasteland_running )	music_request (MUS_MB_A, PRI_GAME_QUICK7);
}//end of function