void gnibbles_log_score (GtkWidget * window) { gint pos; if (properties->numworms > 1) return; if (properties->human != 1) return; if (properties->startlevel != 1) return; if (!worms[0]->score) return; pos = games_scores_add_plain_score (highscores, worms[0]->score); gnibbles_show_scores (window, pos); }
static void show_scores_cb (GtkAction * action, gpointer data) { gnibbles_show_scores (window, 0); }