-/* xscreensaver, Copyright (c) 1993 Jamie Zawinski <jwz@lucid.com>
+/* xscreensaver, Copyright (c) 1993, 1995 Jamie Zawinski <jwz@netscape.com>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
#include "screenhack.h"
-/*#include <math.h>*/
-
#define POINT_BUFFER_SIZE 10
#define MAXLEV 4
Display *dpy;
Window window;
{
- int i;
XGCValues gcv;
XWindowAttributes xgwa;
Colormap cmap;
if (delay) usleep (delay);
}
+
+#ifdef __hpux
+/* I don't understand why this is necessary, but I'm told that this program
+ does nothing at all on HP-sUX without it.
+ */
+#undef random
+#undef srandom
+#include <math.h>
+int matherr(x)
+ register struct exception *x;
+{
+ if (x->type == PLOSS) return 1;
+ else return 0;
+}
+#endif /* __hpux */
+
+
\f
char *progclass = "Flame";
char *defaults [] = {
- "*background: black",
- "*foreground: white",
+ "Flame.background: black", /* to placate SGI */
+ "Flame.foreground: white",
"*colors: 128",
"*iterations: 25",
"*delay: 50000",