FreeBSD tweaks.
This commit is contained in:
parent
bbe2bd4128
commit
b67e68b684
3 changed files with 11 additions and 4 deletions
|
@ -141,6 +141,9 @@
|
||||||
/* Define if you have the strftime function. */
|
/* Define if you have the strftime function. */
|
||||||
#undef HAVE_STRFTIME
|
#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. */
|
/* Define if you have <sys/stat.h> that is POSIX.1 compatible. */
|
||||||
#undef HAVE_SYS_STAT_H
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
|
|
@ -1067,10 +1067,10 @@ int main( int argc, char **argv ) {
|
||||||
// distribution) specifically from the ssg tux example
|
// distribution) specifically from the ssg tux example
|
||||||
//
|
//
|
||||||
|
|
||||||
ssgModelPath( "/stage/pinky01/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/" );
|
// 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/" );
|
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/" );
|
ssgTexturePath( "/h/curt/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
|
||||||
|
|
||||||
scene = new ssgRoot;
|
scene = new ssgRoot;
|
||||||
terrain = new ssgBranch;
|
terrain = new ssgBranch;
|
||||||
|
|
|
@ -109,6 +109,10 @@ void fgSplashUpdate ( double progress ) {
|
||||||
int xsize = 480;
|
int xsize = 480;
|
||||||
int ysize = 380;
|
int ysize = 380;
|
||||||
|
|
||||||
|
if ( !current_view.get_winWidth() || !current_view.get_winHeight() ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
xmin = (current_view.get_winWidth() - xsize) / 2;
|
xmin = (current_view.get_winWidth() - xsize) / 2;
|
||||||
xmax = xmin + xsize;
|
xmax = xmin + xsize;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue