projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.14.tar.gz
[xscreensaver]
/
hacks
/
penrose.c
diff --git
a/hacks/penrose.c
b/hacks/penrose.c
index 0ec7d9739a0c409d95ee95b382023c6d106f463a..03e93ac9c51233bb8b52b10cfa65f5c58ef53b31 100644
(file)
--- a/
hacks/penrose.c
+++ b/
hacks/penrose.c
@@
-18,9
+18,8
@@
http://www.nine.org/notw/notw.html
*/
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";
static const char sccsid[] = "@(#)penrose.c 5.00 2000/11/01 xlockmore";
-
#endif
/*-
#endif
/*-
@@
-441,10
+440,14
@@
init_penrose(ModeInfo * mi)
}
tp = &tilings[MI_SCREEN(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
if (MI_IS_FULLRANDOM(mi))
tp->ammann = (Bool) (LRAND() & 1);
else
+#endif /* 0 */
tp->ammann = ammann;
tp->ammann = ammann;
+
tp->done = False;
tp->busyLoop = 0;
tp->failures = 0;
tp->done = False;
tp->busyLoop = 0;
tp->failures = 0;