[gnome-nibbles/wip/vala] Add a couple FIXMEs



commit b2aaec6143acf4559f69e4e72dfc3e85cf7af878
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 20 12:33:46 2015 -0500

    Add a couple FIXMEs

 src/gnome-nibbles.vala |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 27004b8..3f8e29e 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -592,6 +592,13 @@ public class Nibbles : Gtk.Application
 
     private void log_score_cb (int score)
     {
+        // FIXME: Need a better end game experience if we return early here.
+        // Leaving the player with a blank screen is not good. Make sure the
+        // new game and pause buttons do something sane (e.g. pause should be
+        // insensitive; new game should start a new game on level one and not
+        // trigger the scores dialog to be opened if the high scores table is
+        // not yet filled....)
+
         if (game.numhumans != 1)
             return;
 
@@ -605,6 +612,7 @@ public class Nibbles : Gtk.Application
             try
             {
                 if (scores_context.add_score.end (result))
+                    // FIXME: Need a better end game experience here too. Same warnings apply.
                     return;
             }
             catch (GLib.Error e)


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