http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.01.tar.gz
[xscreensaver] / hacks / bumps.h
index 08d56a5ce5ccda4689c01f78ed820d92f940b223..f5e8c29213c6746cbb059a89a16ff46fdae7771f 100644 (file)
@@ -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
 };