X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fpenrose.c;h=e83822144b77346801fe1e0ea19d9a5b2114f77e;hb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;hp=0ec7d9739a0c409d95ee95b382023c6d106f463a;hpb=a94197e76a5dea5cb60542840809d6c20d0abbf3;p=xscreensaver diff --git a/hacks/penrose.c b/hacks/penrose.c index 0ec7d973..e8382214 100644 --- a/hacks/penrose.c +++ b/hacks/penrose.c @@ -18,9 +18,8 @@ http://www.nine.org/notw/notw.html */ -#if !defined( lint ) && !defined( SABER ) +#if 0 static const char sccsid[] = "@(#)penrose.c 5.00 2000/11/01 xlockmore"; - #endif /*- @@ -109,7 +108,7 @@ static XrmOptionDescRec opts[] = }; static argtype vars[] = { - {(caddr_t *) & ammann, (char *) "ammann", (char *) "Ammann", (char *) DEF_AMMANN, t_Bool} + {&ammann, "ammann", "Ammann", DEF_AMMANN, t_Bool} }; static OptionStruct desc[] = { @@ -441,10 +440,14 @@ init_penrose(ModeInfo * mi) } tp = &tilings[MI_SCREEN(mi)]; +#if 0 /* if you do this, then the -ammann and -no-ammann options don't work. + -- jwz */ if (MI_IS_FULLRANDOM(mi)) tp->ammann = (Bool) (LRAND() & 1); else +#endif /* 0 */ tp->ammann = ammann; + tp->done = False; tp->busyLoop = 0; tp->failures = 0;