Пример #1
0
void amode_score_page (void)
{
    dmd_alloc_low_clean ();
    scores_draw ();
    dmd_show_low ();

    /* Hold the scores up for a while longer than usual
     * in tournament mode. */
    if (system_config.tournament_mode == YES)
        amode_page_end (120);
    else
        amode_page_end (3);
}
Пример #2
0
void amode_date_time_page (void)
{
	if (system_config.show_date_and_time == YES)
	{
		rtc_show_date_time ();
		amode_page_end (3);
	}
}
Пример #3
0
void amode_date_time_page (void)
{
    if (system_config.show_date_and_time == YES)
    {
        rtc_show_date_time (&current_date);
        amode_page_end (2);
    }
}
Пример #4
0
void amode_freeplay_page (void)
{
    if (system_config.replay_award != FREE_AWARD_OFF)
    {
        replay_draw ();
        amode_sleep_sec (3);
    }
    amode_page_end (0);
}
Пример #5
0
void amode_score_page (void)
{
	dmd_alloc_low_clean ();
	scores_draw ();
	dmd_show_low ();

	/* Hold the scores up for a while longer than usual
	 * in tournament mode or when triggered by a right button hold */
	if (system_config.tournament_mode == YES || amode_show_scores_long)
	{
		/* Don't allow the player to skip past the scores for 10 seconds */
		timer_restart_free (GID_AMODE_BUTTON_DEBOUNCE, TIME_10S);
		amode_show_scores_long = FALSE;
		amode_page_end (120);
	}
	else
		amode_page_end (5);
}
Пример #6
0
void amode_high_score_page (void)
{
    if (hstd_config.highest_scores == ON)
    {
        high_score_draw_gc ();
        amode_sleep_sec (2);
        high_score_draw_12 ();
        amode_sleep_sec (2);
        high_score_draw_34 ();
        amode_sleep_sec (2);
    }
    amode_page_end (0);
}
Пример #7
0
void amode_logo_page (void)
{
    U16 fno;

    for (fno = IMG_FREEWPC_SMALL; fno <= IMG_FREEWPC; fno += 2)
    {
        dmd_alloc_pair ();
        frame_draw (fno);
        dmd_show2 ();
        task_sleep (TIME_66MS);
    }
    dmd_sched_transition (&trans_bitfade_slow);
    amode_page_end (1);
}
Пример #8
0
void amode_kill_music (void)
{
    music_set (MUS_OFF);
    amode_page_end (0);
}
Пример #9
0
void amode_credits_page (void)
{
    credits_draw ();
    dmd_show_low ();
    amode_page_end (1);
}