Update of /cvsroot/plib/plib/examples/src/ssg/dynamics
In directory usw-pr-cvs1:/tmp/cvs-serv6971/ssg/dynamics
Modified Files:
dynamics.cxx
Log Message:
Mac OS-X compatibility; Minor cleanups
Index: dynamics.cxx
===================================================================
RCS file: /cvsroot/plib/plib/examples/src/ssg/dynamics/dynamics.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- dynamics.cxx 30 Aug 2002 13:05:48 -0000 1.5
+++ dynamics.cxx 1 Sep 2002 06:57:58 -0000 1.6
@@ -3,14 +3,23 @@
#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>
[...102 lines suppressed...]
int fake_argc = 1 ;
char *fake_argv[3] ;
@@ -319,7 +328,7 @@
}
-void init_states ()
+static void init_states ()
{
cube_state = new ssgSimpleState () ;
cube_state -> setTexture ( "data/mg.rgb" ) ;
@@ -348,7 +357,7 @@
-void load_database ()
+static void load_database ()
{
/* Set up the path to the data files */
|