X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fdangerball.c;h=fae186b79fefac78cbeba9ff06d0394a4b56a25d;hb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;hp=6f3f9d46808a2a88098414c50363ded4e86b8ff8;hpb=13dbc569cdc6e29019722c0ef9b932a925efbcad;p=xscreensaver diff --git a/hacks/glx/dangerball.c b/hacks/glx/dangerball.c index 6f3f9d46..fae186b7 100644 --- a/hacks/glx/dangerball.c +++ b/hacks/glx/dangerball.c @@ -1,4 +1,4 @@ -/* dangerball, Copyright (c) 2001, 2002 Jamie Zawinski +/* dangerball, Copyright (c) 2001, 2002, 2003 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 @@ -89,9 +89,9 @@ static XrmOptionDescRec opts[] = { }; static argtype vars[] = { - {(caddr_t *) &do_spin, "spin", "Spin", DEF_SPIN, t_Bool}, - {(caddr_t *) &do_wander, "wander", "Wander", DEF_WANDER, t_Bool}, - {(caddr_t *) &speed, "speed", "Speed", DEF_SPEED, t_Float}, + {&do_spin, "spin", "Spin", DEF_SPIN, t_Bool}, + {&do_wander, "wander", "Wander", DEF_WANDER, t_Bool}, + {&speed, "speed", "Speed", DEF_SPEED, t_Float}, }; ModeSpecOpt sws_opts = {countof(opts), opts, countof(vars), vars, NULL}; @@ -296,7 +296,7 @@ init_ball (ModeInfo *mi) glNewList (bp->spike_list, GL_COMPILE); cone (0, 0, 0, 0, 1, 0, - 1, 0, SPIKE_FACES, SMOOTH_SPIKES, wire); + 1, 0, SPIKE_FACES, SMOOTH_SPIKES, False, wire); glEndList (); randomize_spikes (mi);