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); } }
int BEE::Font::draw_fast(int x, int y, std::string text, bee_rgba_t color) { return draw_fast(x, y, text, game->get_enum_color(color)); }
int BEE::Font::draw_fast(int x, int y, std::string text) { return draw_fast(x, y, text, {0, 0, 0, 255}); }