projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.jp.xemacs.org/pub/NetBSD/packages/distfiles/xscreensaver-4.15.tar.gz
[xscreensaver]
/
hacks
/
penrose.c
diff --git
a/hacks/penrose.c
b/hacks/penrose.c
index 0ec7d9739a0c409d95ee95b382023c6d106f463a..e83822144b77346801fe1e0ea19d9a5b2114f77e 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
/*-
@@
-109,7
+108,7
@@
static XrmOptionDescRec opts[] =
};
static argtype vars[] =
{
};
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[] =
{
};
static OptionStruct desc[] =
{
@@
-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;