* Thanks goes also to Brian Paul for making it possible and inexpensive
* to use OpenGL at home.
*
- * My e-mail address is lassauge@mail.dotcom.fr
+ * My e-mail address is lassauge@users.sourceforge.net
*
* Eric Lassauge (May-13-1998)
*
* Add support for -/+ wireframe (t'was so easy to do!)
*
* TODO :
- * - add a sort of background image or random bg color
* - better handling of sizes and speeds
* - test standalone and module modes
* - purify it (!)
"*cycles: 100 \n" \
"*size: 6000 \n" \
"*wireframe: False \n" \
- "*texture: " DEF_TEXTURE " \n" \
- "*gradient: " DEF_GRADIENT " \n" \
- "*whalespeed: " DEF_WHALESPEED " \n"
+
# include "xlockmore.h" /* from the xscreensaver distribution */
#else /* !STANDALONE */
# include "xlock.h" /* from the xlockmore distribution */
static int do_gradient;
static XrmOptionDescRec opts[] =
{
- {"-whalespeed", ".atlantis.whalespeed", XrmoptionSepArg, (caddr_t) NULL},
- {"-texture", ".atlantis.texture", XrmoptionNoArg, (caddr_t)"true"},
- {"+texture", ".atlantis.texture", XrmoptionNoArg, (caddr_t)"false"},
- {"-gradient", ".atlantis.gradient", XrmoptionNoArg, (caddr_t)"true"},
- {"+gradient", ".atlantis.gradient", XrmoptionNoArg, (caddr_t)"false"},
+ {"-whalespeed", ".atlantis.whalespeed", XrmoptionSepArg, 0},
+ {"-texture", ".atlantis.texture", XrmoptionNoArg, "true"},
+ {"+texture", ".atlantis.texture", XrmoptionNoArg, "false"},
+ {"-gradient", ".atlantis.gradient", XrmoptionNoArg, "true"},
+ {"+gradient", ".atlantis.gradient", XrmoptionNoArg, "false"},
};
static argtype vars[] =
static OptionStruct desc[] =
{
{"-whalespeed num", "speed of whales and the dolphin"},
- {"-texture num", "whether to introduce water-like distortion"}
+ {"-texture", "whether to introduce water-like distortion"},
+ {"-gradient", "whether to introduce gradient-filled background"},
};
ModeSpecOpt atlantis_opts =