X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fant.c;h=bb0d3eba3c6a6e1df3bdf3b93c8513c67eaf903f;hp=463c4e048b38c35a218ae23ede85f65aab99b046;hb=447db08c956099b3b183886729108bf5b364c4b8;hpb=2d04c4f22466851aedb6ed0f2919d148f726b889 diff --git a/hacks/ant.c b/hacks/ant.c index 463c4e04..bb0d3eba 100644 --- a/hacks/ant.c +++ b/hacks/ant.c @@ -63,8 +63,7 @@ static const char sccsid[] = "@(#)ant.c 5.00 2000/11/01 xlockmore"; "*cycles: 40000 \n" \ "*size: -12 \n" \ "*ncolors: 64 \n" \ - "*neighbors: 0 \n" \ - "*sharpturn: False \n" + #include "xlockmore.h" /* in xscreensaver distribution */ #include "erase.h" #else /* STANDALONE */ @@ -90,15 +89,13 @@ static Bool sharpturn; static XrmOptionDescRec opts[] = { - {"-neighbors", ".ant.neighbors", XrmoptionSepArg, NULL}, + {"-neighbors", ".ant.neighbors", XrmoptionSepArg, 0}, {"-truchet", ".ant.truchet", XrmoptionNoArg, "on"}, {"+truchet", ".ant.truchet", XrmoptionNoArg, "off"}, {"-eyes", ".ant.eyes", XrmoptionNoArg, "on"}, {"+eyes", ".ant.eyes", XrmoptionNoArg, "off"}, {"-sharpturn", ".ant.sharpturn", XrmoptionNoArg, "on"}, {"+sharpturn", ".ant.sharpturn", XrmoptionNoArg, "off"}, - {"-neighbors", ".ant.neighbors", XrmoptionSepArg, 0}, - {"+neighbors", ".ant.neighbors", XrmoptionSepArg, 0} }; static argtype vars[] = { @@ -106,7 +103,6 @@ static argtype vars[] = {&truchet, "truchet", "Truchet", DEF_TRUCHET, t_Bool}, {&eyes, "eyes", "Eyes", DEF_EYES, t_Bool}, {&sharpturn, "sharpturn", "SharpTurn", DEF_SHARPTURN, t_Bool}, - {&neighbors, "neighbors", "Neighbors", DEF_NEIGHBORS, t_Int} }; static OptionStruct desc[] = {