1
0
Fork 0

FreeBSD tweaks.

This commit is contained in:
curt 1999-06-28 18:19:26 +00:00
parent bbe2bd4128
commit b67e68b684
3 changed files with 11 additions and 4 deletions

View file

@ -141,6 +141,9 @@
/* Define if you have the strftime function. */
#undef HAVE_STRFTIME
/* Define if you have <sys/param.h> */
#undef HAVE_SYS_PARAM_H
/* Define if you have <sys/stat.h> that is POSIX.1 compatible. */
#undef HAVE_SYS_STAT_H

View file

@ -1067,10 +1067,10 @@ int main( int argc, char **argv ) {
// distribution) specifically from the ssg tux example
//
ssgModelPath( "/stage/pinky01/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
ssgTexturePath( "/stage/pinky01/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
// ssgModelPath( "/h/curt/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
// ssgTexturePath( "/h/curt/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
// ssgModelPath( "/stage/pinky01/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
// ssgTexturePath( "/stage/pinky01/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
ssgModelPath( "/h/curt/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
ssgTexturePath( "/h/curt/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
scene = new ssgRoot;
terrain = new ssgBranch;

View file

@ -109,6 +109,10 @@ void fgSplashUpdate ( double progress ) {
int xsize = 480;
int ysize = 380;
if ( !current_view.get_winWidth() || !current_view.get_winHeight() ) {
return;
}
xmin = (current_view.get_winWidth() - xsize) / 2;
xmax = xmin + xsize;