From: <de...@us...> - 2004-01-01 23:25:32
|
Update of /cvsroot/csp/APPLICATIONS/CSPSim/Source In directory sc8-pr-cvs1:/tmp/cvs-serv3110 Modified Files: LogoScreen.cpp Log Message: see CHANGES.current Index: LogoScreen.cpp =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Source/LogoScreen.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** LogoScreen.cpp 1 Jan 2004 19:42:53 -0000 1.15 --- LogoScreen.cpp 1 Jan 2004 23:25:29 -0000 1.16 *************** *** 30,33 **** --- 30,35 ---- #include "LogoScreen.h" + #include <ctime> + #include <osg/Geode> #include <osg/Geometry> *************** *** 91,98 **** } if (!file_name.empty()) { ! __time64_t ltime; ! _time64( <ime ); ! unsigned int seed = static_cast<unsigned int>(ltime); ! srand(seed); m_CurrPos = rand() % file_name.size(); setValue(); --- 93,97 ---- } if (!file_name.empty()) { ! srand(static_cast<unsigned int>(time(0))); m_CurrPos = rand() % file_name.size(); setValue(); |