[gnome-games/gsoc-seed-games] [lightsoff] [same-gnome-clutter] Don't use fog



commit f0982811ced62ce72d91ece0e09b4eb4e4642873
Author: Tim Horton <hortont424 gmail com>
Date:   Sat Jul 11 23:22:28 2009 -0400

    [lightsoff] [same-gnome-clutter] Don't use fog
    
    It's not clear this is working; Same's score flyby text is still darkening

 lightsoff/src/main.js          |    1 +
 same-gnome-clutter/src/main.js |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lightsoff/src/main.js b/lightsoff/src/main.js
index 08f0ea5..3fb7993 100755
--- a/lightsoff/src/main.js
+++ b/lightsoff/src/main.js
@@ -53,6 +53,7 @@ b.get_object("game_vbox").pack_start(clutter_embed, true, true);
 
 var stage = clutter_embed.get_stage();
 stage.color = {alpha:255};
+stage.set_use_fog(false);
 
 // TODO: determine size of window before we show it
 // NOTE: show the window before the stage, and the stage before any children
diff --git a/same-gnome-clutter/src/main.js b/same-gnome-clutter/src/main.js
index 3de27b9..b5f3df7 100755
--- a/same-gnome-clutter/src/main.js
+++ b/same-gnome-clutter/src/main.js
@@ -67,6 +67,7 @@ var current_score = 0;
 var timelines = [];
 
 stage.signal.hide.connect(Gtk.main_quit);
+stage.set_use_fog(false);
 
 stage.color = {alpha: 0};
 stage.set_size((tiles_w * tile_size),(tiles_h * tile_size));



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