static void kill_balls (HWND hwnd, int x, int y) { if (!field [x][y].color) return; if (tagged_count < 2) return; set_score (score + (tagged_count - 2) * (tagged_count - 2)); compress_y (); compress_x (); InvalidateRect (hwnd, &rcBoard, FALSE); check_game_over (hwnd); }
static void kill_balls (int x, int y) { if (!field [x][y].color) return; if (tagged_count < 2) return; set_score (score + (tagged_count - 2) * (tagged_count - 2)); compress_y (); compress_x (); gtk_widget_draw (draw_area, NULL); check_game_over (); }