X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fdrift.c;h=6059142542671932efd9c92143a42501bb44680e;hp=8b4aa63ca5df6836e7a26234177c1b7d97b118d9;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=a94197e76a5dea5cb60542840809d6c20d0abbf3 diff --git a/hacks/drift.c b/hacks/drift.c index 8b4aa63c..60591425 100644 --- a/hacks/drift.c +++ b/hacks/drift.c @@ -1,9 +1,8 @@ /* -*- Mode: C; tab-width: 4 -*- */ /* drift --- drifting recursive fractal cosmic flames */ -#if !defined( lint ) && !defined( SABER ) +#if 0 static const char sccsid[] = "@(#)drift.c 5.00 2000/11/01 xlockmore"; - #endif /*- @@ -62,20 +61,20 @@ static Bool liss; static XrmOptionDescRec opts[] = { - {(char *) "-grow", (char *) ".drift.grow", XrmoptionNoArg, (caddr_t) "on"}, - {(char *) "+grow", (char *) ".drift.grow", XrmoptionNoArg, (caddr_t) "off"}, - {(char *) "-liss", (char *) ".drift.trail", XrmoptionNoArg, (caddr_t) "on"}, - {(char *) "+liss", (char *) ".drift.trail", XrmoptionNoArg, (caddr_t) "off"} + {"-grow", ".drift.grow", XrmoptionNoArg, "on"}, + {"+grow", ".drift.grow", XrmoptionNoArg, "off"}, + {"-liss", ".drift.trail", XrmoptionNoArg, "on"}, + {"+liss", ".drift.trail", XrmoptionNoArg, "off"} }; static argtype vars[] = { - {(caddr_t *) & grow, (char *) "grow", (char *) "Grow", (char *) DEF_GROW, t_Bool}, - {(caddr_t *) & liss, (char *) "liss", (char *) "Liss", (char *) DEF_LISS, t_Bool} + {&grow, "grow", "Grow", DEF_GROW, t_Bool}, + {&liss, "liss", "Liss", DEF_LISS, t_Bool} }; static OptionStruct desc[] = { - {(char *) "-/+grow", (char *) "turn on/off growing fractals, else they are animated"}, - {(char *) "-/+liss", (char *) "turn on/off using lissojous figures to get points"} + {"-/+grow", "turn on/off growing fractals, else they are animated"}, + {"-/+liss", "turn on/off using lissojous figures to get points"} }; ModeSpecOpt drift_opts =