Update of /cvsroot/plib/plib/examples/src/ssg/water
In directory usw-pr-cvs1:/tmp/cvs-serv6971/ssg/water
Modified Files:
water.cxx
Log Message:
Mac OS-X compatibility; Minor cleanups
Index: water.cxx
===================================================================
RCS file: /cvsroot/plib/plib/examples/src/ssg/water/water.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- water.cxx 31 Aug 2002 16:44:12 -0000 1.22
+++ water.cxx 1 Sep 2002 06:57:59 -0000 1.23
@@ -3,64 +3,73 @@
#include <ctype.h>
#include <string.h>
#ifdef WIN32
-#include <windows.h>
+# include <windows.h>
#else
-#include <unistd.h>
+# include <unistd.h>
#endif
#include <math.h>
#include <plib/ssg.h>
[...399 lines suppressed...]
+static void load_database ()
{
/* Set up the path to the data files */
@@ -764,7 +773,7 @@
}
-void init_gui ()
+static void init_gui ()
{
static puFont *sorority ;
static fntTexFont *fnt ;
@@ -962,6 +971,4 @@
glutMainLoop () ;
return 0 ;
}
-
-
|