void select_slow (void) { pause_flag = 0; draw_pause (0); slow_flag = 1; draw_slow (1); med_flag = 0; draw_med (0); fast_flag = 0; draw_fast (0); }
void select_slow (void) { hide_mouse (); pause_flag = 0; draw_pause (0); slow_flag = 1; draw_slow (1); med_flag = 0; draw_med (0); fast_flag = 0; draw_fast (0); redraw_mouse (); }
void select_pause (void) { if (pause_flag) { /* unpause it */ if (fast_flag) select_fast (); else if (med_flag) select_medium (); else if (slow_flag) select_slow (); else select_medium (); } else { /* pause it */ pause_flag = 1; draw_pause (1); draw_slow (0); draw_med (0); draw_fast (0); } }