http://www.jwz.org/xscreensaver/xscreensaver-5.12.tar.gz
[xscreensaver] / hacks / flame.c
index fcc488e51c8f25e7c79e3c5411079ff597f62c7c..01f16ababa6c235a7e66b03c2781d0992570d9f6 100644 (file)
@@ -1,5 +1,4 @@
-/* xscreensaver, Copyright (c) 1993, 1995, 1996, 1998
- *  Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1993-2008 Jamie Zawinski <jwz@jwz.org>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
@@ -174,7 +173,7 @@ flame_init (Display *dpy, Window window)
 static int
 recurse (struct state *st, double x, double y, int l, Display *dpy, Window win)
 {
-  int xp, yp, i;
+  int /*xp, yp,*/ i;
   double nx, ny;
 
   if (l == st->max_levels)
@@ -185,8 +184,8 @@ recurse (struct state *st, double x, double y, int l, Display *dpy, Window win)
 
       if (x > -1.0 && x < 1.0 && y > -1.0 && y < 1.0)
        {
-         xp = st->points[st->num_points].x = (int) ((st->width / 2) * (x + 1.0));
-         yp = st->points[st->num_points].y = (int) ((st->height / 2) * (y + 1.0));
+/*       xp = st->points[st->num_points].x = (int) ((st->width / 2) * (x + 1.0));
+         yp = st->points[st->num_points].y = (int) ((st->height / 2) * (y + 1.0));*/
          st->num_points++;
          if (st->num_points >= POINT_BUFFER_SIZE)
            {
@@ -413,6 +412,7 @@ int matherr(x)
 static const char *flame_defaults [] = {
   ".background:        black",
   ".foreground:        white",
+  "*fpsSolid:  true",
   "*colors:    64",
   "*iterations:        25",
   "*delay:     50000",