X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Ffadeplot.c;h=babec31c6efb7d72deedde20bd545e387f21cae8;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hp=1239514fbddc7e8304116d59245ddcb1ec816a61;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/fadeplot.c b/hacks/fadeplot.c index 1239514f..babec31c 100644 --- a/hacks/fadeplot.c +++ b/hacks/fadeplot.c @@ -33,7 +33,9 @@ static const char sccsid[] = "@(#)fadeplot.c 5.00 2000/11/01 xlockmore"; # define DEFAULTS "*delay: 30000 \n" \ "*count: 10 \n" \ "*cycles: 1500 \n" \ - "*ncolors: 64 \n" + "*ncolors: 64 \n" \ + "*fpsSolid: true \n" \ + # define BRIGHT_COLORS # define UNIFORM_COLORS # define reshape_fadeplot 0 @@ -200,11 +202,11 @@ draw_fadeplot (ModeInfo * mi) if ((fp->temps % (fp->angles / 2)) == 0) { fp->temps = fp->temps % fp->angles * 5; if ((fp->temps % (fp->angles)) == 0) - fp->speed.y = (fp->speed.y++) % 30 + 1; + fp->speed.y = (fp->speed.y + 1) % 30 + 1; if ((fp->temps % (fp->angles * 2)) == 0) fp->speed.x = (fp->speed.x) % 20; if ((fp->temps % (fp->angles * 3)) == 0) - fp->step.y = (fp->step.y++) % 2 + 1; + fp->step.y = (fp->step.y + 1) % 2 + 1; MI_CLEARWINDOW(mi); } @@ -229,6 +231,6 @@ release_fadeplot (ModeInfo * mi) } } -XSCREENSAVER_MODULE ("Fadeplot", fadeplot) +XSCREENSAVER_MODULE ("FadePlot", fadeplot) #endif /* MODE_fadeplot */