X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fbumps.h;h=f5e8c29213c6746cbb059a89a16ff46fdae7771f;hb=a94197e76a5dea5cb60542840809d6c20d0abbf3;hp=08d56a5ce5ccda4689c01f78ed820d92f940b223;hpb=5832fe184606766fef23369159306c0a5799aeb0;p=xscreensaver diff --git a/hacks/bumps.h b/hacks/bumps.h index 08d56a5c..f5e8c292 100644 --- a/hacks/bumps.h +++ b/hacks/bumps.h @@ -34,7 +34,7 @@ #define PI 3.141592654 #define RANDOM() ((int) (random() & 0X7FFFFFFFL)) -typedef char int8_; +typedef signed char int8_; typedef unsigned char uint8_; typedef short int16_; typedef unsigned short uint16_; @@ -43,16 +43,21 @@ typedef unsigned long uint32_; typedef unsigned char BOOL; -// Globals: +/* Globals: */ char *progclass = "Bumps"; char *defaults [] = { + ".background: black", + ".foreground: white", "*degrees: 360", "*color: random", "*colorcount: 64", "*delay: 50000", "*soften: 1", "*invert: FALSE", +#ifdef __sgi /* really, HAVE_READ_DISPLAY_EXTENSION */ + "*visualID: Best", +#endif 0 };