projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.27.tar.gz
[xscreensaver]
/
hacks
/
flow.c
diff --git
a/hacks/flow.c
b/hacks/flow.c
index 2461cb288fe3c4eec014bc5d8d3c6a953342b4e1..0ab1a930eaaec0781d12348405bc8df8bf42a52c 100644
(file)
--- a/
hacks/flow.c
+++ b/
hacks/flow.c
@@
-2,10
+2,8
@@
/* flow --- flow of strange bees */
#if 0
/* flow --- flow of strange bees */
#if 0
-#if !defined( lint ) && !defined( SABER )
static const char sccsid[] = "@(#)flow.c 5.00 2000/11/01 xlockmore";
#endif
static const char sccsid[] = "@(#)flow.c 5.00 2000/11/01 xlockmore";
#endif
-#endif
/*-
* Copyright (c) 1996 by Tim Auckland <tda10.geo@yahoo.com>
/*-
* Copyright (c) 1996 by Tim Auckland <tda10.geo@yahoo.com>
@@
-103,7
+101,7
@@
static const char sccsid[] = "@(#)flow.c 5.00 2000/11/01 xlockmore";
"*size: -10 \n" \
"*cycles: 10000 \n" \
"*ncolors: 200 \n"
"*size: -10 \n" \
"*cycles: 10000 \n" \
"*ncolors: 200 \n"
-# define reshape_flow 0
+
# define flow_handle_event 0
# include "xlockmore.h" /* in xscreensaver distribution */
#else /* STANDALONE */
# define flow_handle_event 0
# include "xlockmore.h" /* in xscreensaver distribution */
#else /* STANDALONE */
@@
-1110,7
+1108,7
@@
draw_flow (ModeInfo * mi)
are ok, they help to outline the Poincare'
slice. */
for(j = i; j < end; j++) Y(j,b) = Y(i,b);
are ok, they help to outline the Poincare'
slice. */
for(j = i; j < end; j++) Y(j,b) = Y(i,b);
- begin = i + 1;
+ /*begin = i + 1;*/
break;
}
break;
}
@@
-1200,6
+1198,13
@@
draw_flow (ModeInfo * mi)
}
}
}
}
+ENTRYPOINT void
+reshape_flow(ModeInfo * mi, int width, int height)
+{
+ init_flow (mi);
+}
+
+
ENTRYPOINT void
release_flow (ModeInfo * mi)
{
ENTRYPOINT void
release_flow (ModeInfo * mi)
{