X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fbubbles.h;h=6bca1c67543aba8c6a3a7cc4488251a3808232fb;hb=8eb2873d7054e705c4e83f22d18c40946a9e2529;hp=89935f4552ba0bde58458cc109cd2e37b978bef0;hpb=f3e0240915ed9f9b3a61781f5c7002d587563fe0;p=xscreensaver diff --git a/hacks/bubbles.h b/hacks/bubbles.h index 89935f45..6bca1c67 100644 --- a/hacks/bubbles.h +++ b/hacks/bubbles.h @@ -1,6 +1,6 @@ /* bubbles.h - definitions for bubbles screensaver */ -/* $Id: bubbles.h,v 1.2 1997/05/19 03:26:05 jwz Exp $ */ +/* $Id: bubbles.h,v 1.3 2000/07/19 06:38:42 jwz Exp $ */ #ifndef _BUBBLES_H_ #define _BUBBLES_H_ @@ -129,6 +129,9 @@ /* Size increments for read_line() buffers */ #define READ_LINE_BUF_SIZE 24 +/* Maximum amount to drop a bubble */ +#define MAX_DROPPAGE 20 + /**************************************************************************** * End of options * ****************************************************************************/ @@ -188,6 +191,7 @@ typedef struct bub Bubble; struct bub_step { int radius; long area; + int droppage; Pixmap ball, shape_mask; GC draw_gc, erase_gc; XpmAttributes xpmattrs;