X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fhypercube.c;h=0055696b8d110c66703fc8e94f69bdcca3540412;hb=4361b69d3178d7fc98d0388f9a223af6c2651aba;hp=ce35ba9b5f97c638c31bd054fd72aae47c0f8826;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/hypercube.c b/hacks/hypercube.c index ce35ba9b..0055696b 100644 --- a/hacks/hypercube.c +++ b/hacks/hypercube.c @@ -1,5 +1,4 @@ -/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1998, 2000, 2006 - * Jamie Zawinski +/* xscreensaver, Copyright (c) 1992-2008 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -76,7 +75,7 @@ static const struct line_info line_table[LINE_COUNT]; static const char *hypercube_defaults[] = { - "*observer-z: 3", + "*observer-z: 3.0", "*delay: 10000", "*xy: 3", "*xz: 5", @@ -86,6 +85,7 @@ static const char *hypercube_defaults[] = "*zw: 0", ".background: black", ".foreground: white", + "*fpsSolid: true", "*color0: magenta", "*color3: #FF0093", "*color1: yellow", @@ -244,7 +244,7 @@ hypercube_draw (Display *dpy, Window window, void *closure) struct hyper_state *hs = (struct hyper_state *) closure; int this_delay = hs->hs_delay; -#ifdef HAVE_COCOA /* Don't second-guess Quartz's double-buffering */ +#ifdef HAVE_JWXYZ /* Don't second-guess Quartz's double-buffering */ XClearWindow (dpy, window); #endif @@ -254,7 +254,6 @@ hypercube_draw (Display *dpy, Window window, void *closure) char moved[POINT_COUNT]; int redraw; int stop; - int delay; icon = hs->hs_icon; resize = hs->hs_resize; @@ -473,7 +472,6 @@ hypercube_draw (Display *dpy, Window window, void *closure) skip3: /* stop = hs->hs_stop; */ - delay = hs->hs_delay; if (stop && this_delay < 10000) this_delay = 10000; }