void new_game() { set_grid_to_zero(); srand(time(NULL)); draw_tetramino(); new_shape(); fill_current_shape(current_shape.index + 1); update_score(); gtk_widget_queue_draw(application.window); g_timeout_add(500, timeout, NULL); }
void show_current_shape(void) { fill_current_shape(current_shape.index + 1); }
void hide_current_shape(void) { fill_current_shape(0); }