Author: baby-guest
Date: 2007-07-01 20:19:21 +0000 (Sun, 01 Jul 2007)
New Revision: 3171

Modified:
   software/ui/src/games.cpp
Log:
Add debug message to see popcon



Modified: software/ui/src/games.cpp
===================================================================
--- software/ui/src/games.cpp   2007-07-01 19:57:55 UTC (rev 3170)
+++ software/ui/src/games.cpp   2007-07-01 20:19:21 UTC (rev 3171)
@@ -196,6 +196,7 @@
                int stars = (int)rintf(i->popcon * 4 / engine.popconLocalMax());
                for (int j = 0; j < stars; ++j)
                        desc += '*';
+               printf ("%s (%s): POPCON=%f\n", rec.package().c_str(), 
rec.shortDescription().c_str(), i->popcon);
                ui.ResultsBrowser->add(desc.c_str(), userData);
 
                // Relevance is 0 to 100


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to