X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fpong.c;h=aa7c6049eb1e6e9569ce5762b1293c9d9aa8641d;hb=9c9d475ff889ed8be02e8ce8c17da28b93278fca;hp=bcfc3fc734d657d5624ce1fa347901f034e65980;hpb=96a411663168b0ba5432b407a83be55f3df0c802;p=xscreensaver diff --git a/hacks/pong.c b/hacks/pong.c index bcfc3fc7..aa7c6049 100644 --- a/hacks/pong.c +++ b/hacks/pong.c @@ -54,7 +54,6 @@ typedef struct _ball { int h; } Ball; -static int delay; Paddle l_paddle; Paddle r_paddle; Ball ball; @@ -255,9 +254,6 @@ init_pong (Display *dpy, Window window) } #endif - delay = get_integer_resource ("delay", "Integer"); - if (delay < 0) delay = 0; - /*Init the paddles*/ l_paddle.x = 8; l_paddle.y = 100; @@ -478,7 +474,8 @@ play_pong (void) char *progclass = "pong"; char *defaults [] = { - "*delay: 10000", + ".background: black", + ".foreground: white", "*speed: 6", ANALOGTV_DEFAULTS "*TVContrast: 150", @@ -486,7 +483,6 @@ char *defaults [] = { }; XrmOptionDescRec options [] = { - { "-delay", ".delay", XrmoptionSepArg, 0 }, { "-percent", ".percent", XrmoptionSepArg, 0 }, { "-speed", ".speed", XrmoptionSepArg, 0 }, ANALOGTV_OPTIONS