示例#1
0
void    resync_disp_levels (void)
{
    int     i;

    for (i = 0; i < MAXDISPLEVELS; i++)
	show_levels (i, whichlevel[i]);
}
示例#2
0
void FlipFlap::new_game(){							//function to restart
  detach(*replay);								//remove everything from window
  detach(*end_text);
  detach(*min_box);
  detach(*flips_box);
  detach(*score_box);
  redraw();
  show_levels();								//call show_levels
}
示例#3
0
int     Amenu_level (int lastpressed)
{
    int     l = curmenu;

    if ((lastpressed != -1) && (lastpressed != hmenulevcall[curmenu]))
    {
	close_menu_levels ();
	if (radiomenulev.value != -1)
	{
#ifdef JDVEUTVOIR
	    fprintf (stderr, "levels %d -> position %d\n", radiomenulev.value, l);
#endif
	    show_levels (l, radiomenulev.value);
	    radiomenulev.value = -1;
	}
    }
    return 0;
}