[Plib-cvs] plib/demos/exposer/src load_save.cxx,1.11,1.12
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2004-12-29 07:20:20
|
Update of /cvsroot/plib/plib/demos/exposer/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10737/plib/demos/exposer/src Modified Files: load_save.cxx Log Message: Fixed some bugs in tweening. Added functions to dump Z buffer into ssgaScreenDump. Index: load_save.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/load_save.cxx,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- load_save.cxx 17 Aug 2002 23:58:38 -0000 1.11 +++ load_save.cxx 29 Dec 2004 07:19:38 -0000 1.12 @@ -113,13 +113,19 @@ if ( p == NULL ) { ssgModelPath ( "." ) ; - ssgTexturePath ( "." ) ; + if ( getenv ( "EXPOSER_TEXTURE_PATH" ) != NULL ) + ssgTexturePath ( getenv ( "EXPOSER_TEXTURE_PATH" ) ) ; + else + ssgTexturePath ( "." ) ; strcpy ( fname, path ) ; } else [...81 lines suppressed...] { ssgModelPath ( "." ) ; - ssgTexturePath ( "." ) ; + if ( getenv ( "EXPOSER_TEXTURE_PATH" ) != NULL ) + ssgTexturePath ( getenv ( "EXPOSER_TEXTURE_PATH" ) ) ; + else + ssgTexturePath ( "." ) ; strcpy ( fname, path ) ; } else { ssgModelPath ( path ) ; - ssgTexturePath ( path ) ; + if ( getenv ( "EXPOSER_TEXTURE_PATH" ) != NULL ) + ssgTexturePath ( getenv ( "EXPOSER_TEXTURE_PATH" ) ) ; + else + ssgTexturePath ( path ) ; strcpy ( fname, p ) ; } |