-# define PROGCLASS "Vines"
-# define HACK_INIT init_vines
-# define HACK_DRAW draw_vines
-# define vines_opts xlockmore_opts
-# define DEFAULTS "*delay: 200000 \n" \
- "*ncolors: 64 \n" \
- "*eraseSpeed: 400 \n" \
- "*eraseMode: -1 \n"
-# include "xlockmore.h" /* from the xscreensaver distribution */
-# include "erase.h"
-#else /* !STANDALONE */
-# include "xlock.h" /* from the xlockmore distribution */
-#endif /* !STANDALONE */
-
-ModeSpecOpt vines_opts = {
- 0, NULL, 0, NULL, NULL };
+#define MODE_vines
+#define PROGCLASS "Vines"
+#define HACK_INIT init_vines
+#define HACK_DRAW draw_vines
+#define vines_opts xlockmore_opts
+#define DEFAULTS "*delay: 200000 \n" \
+ "*count: 0 \n" \
+ "*ncolors: 64 \n"
+#include "xlockmore.h" /* in xscreensaver distribution */
+#include "erase.h"
+#else /* STANDALONE */
+#include "xlock.h" /* in xlockmore distribution */
+#endif /* STANDALONE */
+
+#ifdef MODE_vines
+
+ModeSpecOpt vines_opts =
+{0, (XrmOptionDescRec *) NULL, 0, (argtype *) NULL, (OptionStruct *) NULL};
+
+#ifdef USE_MODULES
+ModStruct vines_description =
+{"vines", "init_vines", "draw_vines", "release_vines",
+ "refresh_vines", "init_vines", (char *) NULL, &vines_opts,
+ 200000, 0, 1, 1, 64, 1.0, "",
+ "Shows fractals", 0, NULL};
+
+#endif