X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fcubenetic.c;h=84e2726490f1ccf03d3fe1cae51e87b085e61ef8;hp=a7399dd17a3bc26a658c77b6a24a8f3b3ec754db;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=6a1da724858673ac40aa13a9612340d8bed8c7b9 diff --git a/hacks/glx/cubenetic.c b/hacks/glx/cubenetic.c index a7399dd1..84e27264 100644 --- a/hacks/glx/cubenetic.c +++ b/hacks/glx/cubenetic.c @@ -1,4 +1,4 @@ -/* cubenetic, Copyright (c) 2002, 2003 Jamie Zawinski +/* cubenetic, Copyright (c) 2002-2004 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -29,7 +29,7 @@ extern XtAppContext app; #define DEF_WAVE_SPEED "80" #define DEF_WAVE_RADIUS "512" -#define DEFAULTS "*delay: 30000 \n" \ +#define DEFAULTS "*delay: 20000 \n" \ "*count: 5 \n" \ "*showFPS: False \n" \ "*wireframe: False \n" \ @@ -113,20 +113,20 @@ static XrmOptionDescRec opts[] = { { "+spin", ".spin", XrmoptionNoArg, "" }, { "-wander", ".wander", XrmoptionNoArg, "True" }, { "+wander", ".wander", XrmoptionNoArg, "False" }, - {"-texture", ".texture", XrmoptionNoArg, (caddr_t) "true" }, - {"+texture", ".texture", XrmoptionNoArg, (caddr_t) "false" }, + {"-texture", ".texture", XrmoptionNoArg, "true" }, + {"+texture", ".texture", XrmoptionNoArg, "false" }, {"-waves", ".waves", XrmoptionSepArg, 0 }, {"-wave-speed", ".waveSpeed", XrmoptionSepArg, 0 }, {"-wave-radius", ".waveRadius", XrmoptionSepArg, 0 }, }; static argtype vars[] = { - {(caddr_t *) &do_spin, "spin", "Spin", DEF_SPIN, t_String}, - {(caddr_t *) &do_wander, "wander", "Wander", DEF_WANDER, t_Bool}, - {(caddr_t *) &do_texture, "texture", "Texture", DEF_TEXTURE, t_Bool}, - {(caddr_t *) &wave_count, "waves", "Waves", DEF_WAVE_COUNT, t_Int}, - {(caddr_t *) &wave_speed, "waveSpeed", "WaveSpeed", DEF_WAVE_SPEED, t_Int}, - {(caddr_t *) &wave_radius,"waveRadius","WaveRadius", DEF_WAVE_RADIUS,t_Int}, + {&do_spin, "spin", "Spin", DEF_SPIN, t_String}, + {&do_wander, "wander", "Wander", DEF_WANDER, t_Bool}, + {&do_texture, "texture", "Texture", DEF_TEXTURE, t_Bool}, + {&wave_count, "waves", "Waves", DEF_WAVE_COUNT, t_Int}, + {&wave_speed, "waveSpeed", "WaveSpeed", DEF_WAVE_SPEED, t_Int}, + {&wave_radius,"waveRadius","WaveRadius", DEF_WAVE_RADIUS,t_Int}, }; ModeSpecOpt ccs_opts = {countof(opts), opts, countof(vars), vars, NULL};