X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fhypertorus.c;h=a41884d0aacf7e05160af5accdfd7505ae6f111d;hp=9449c3184212815d7e0b6050bacd3d747fe65890;hb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;hpb=96a411663168b0ba5432b407a83be55f3df0c802 diff --git a/hacks/glx/hypertorus.c b/hacks/glx/hypertorus.c index 9449c318..a41884d0 100644 --- a/hacks/glx/hypertorus.c +++ b/hacks/glx/hypertorus.c @@ -208,27 +208,27 @@ static XrmOptionDescRec opts[] = static argtype vars[] = { - { (caddr_t *) &display_mode, "displayMode", "DisplayMode", + { &display_mode, "displayMode", "DisplayMode", DEF_DISPLAY_MODE, t_Int }, - { (caddr_t *) &appearance, "appearance", "Appearance", + { &appearance, "appearance", "Appearance", DEF_APPEARANCE, t_Int }, - { (caddr_t *) &colors, "colors", "Colors", + { &colors, "colors", "Colors", DEF_COLORS, t_Int }, - { (caddr_t *) &projection_3d, "projection3d", "Projection3d", + { &projection_3d, "projection3d", "Projection3d", DEF_3D_PROJECTION, t_Int }, - { (caddr_t *) &projection_4d, "projection4d", "Projection4d", + { &projection_4d, "projection4d", "Projection4d", DEF_4D_PROJECTION, t_Int }, - { (caddr_t *) &speed_wx, "speedwx", "Speedwx", + { &speed_wx, "speedwx", "Speedwx", DEF_DALPHA, t_Float}, - { (caddr_t *) &speed_wy, "speedwy", "Speedwy", + { &speed_wy, "speedwy", "Speedwy", DEF_DBETA, t_Float}, - { (caddr_t *) &speed_wz, "speedwz", "Speedwz", + { &speed_wz, "speedwz", "Speedwz", DEF_DDELTA, t_Float}, - { (caddr_t *) &speed_xy, "speedxy", "Speedxy", + { &speed_xy, "speedxy", "Speedxy", DEF_DZETA, t_Float}, - { (caddr_t *) &speed_xz, "speedxz", "Speedxz", + { &speed_xz, "speedxz", "Speedxz", DEF_DETA, t_Float}, - { (caddr_t *) &speed_yz, "speedyz", "Speedyz", + { &speed_yz, "speedyz", "Speedyz", DEF_DTHETA, t_Float} };