/* thebox --- 3D bouncing balls that explode */
-#if !defined( lint ) && !defined( SABER )
+#if 0
static const char sccsid[] = "@(#)boxed.c 0.9 01/09/26 xlockmore";
-
#endif
/*-
#undef countof
#define countof(x) (int)(sizeof((x))/sizeof((*x)))
#undef rnd
-#define rnd() ( ((float)random()) / ((float)RAND_MAX * 2.0) )
+#define rnd() (frand(1.0))
/* #define DEF_PLANETARY "False"
GL_RGB, GL_UNSIGNED_BYTE, gp->tex1);
if (i)
{
- const char *s = gluErrorString (i);
+ const char *s = (char *) gluErrorString (i);
fprintf (stderr, "%s: error mipmapping texture: %s\n",
progname, (s ? s : "(unknown)"));
exit (1);