gnomines : Patch + idea



There is a slight bug is gnomines where if you mark a cell at the 
beginning of the game the clock doesn't start, any other click
starts the clock. I've included a patch at the end of this file to fix 
this. 

I also got sick of the default control and the fact that they don't work 
very well with my trackball. As a result I've added a dialog to let you 
change the bindings of the mouse buttons. The question is, are people 
interested in the code ?

 - Callum

--- gnomine.c        Mon Dec 28 01:01:07 1998
+++ gnomine.c.new       Fri Jan  1 16:29:11 1999
@@ -109,6 +109,7 @@
 void marks_changed(GtkWidget *widget, gpointer data)
 {
         set_flabel(GTK_MINEFIELD(widget));
+        gtk_clock_start(GTK_CLOCK(clk));
 }
 
 void lose_game(GtkWidget *widget, gpointer data)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]