From: <cn...@us...> - 2009-03-20 03:37:29
|
Revision: 186 http://hgengine.svn.sourceforge.net/hgengine/?rev=186&view=rev Author: cnlohr Date: 2009-03-20 03:37:22 +0000 (Fri, 20 Mar 2009) Log Message: ----------- prepare for shaders Modified Paths: -------------- Mercury2/adv_set.c Mercury2/src/MercuryFile.h Modified: Mercury2/adv_set.c =================================================================== --- Mercury2/adv_set.c 2009-03-20 01:55:12 UTC (rev 185) +++ Mercury2/adv_set.c 2009-03-20 03:37:22 UTC (rev 186) @@ -10,7 +10,7 @@ src/MercuryVBO.cpp src/MSemaphore.cpp src/UpdateThreader.cpp src/HGMDLMesh.cpp \ src/HGMDLModel.cpp src/MercuryString.cpp src/MercuryCrash.c src/MercuryBacktrace.c \ src/MercuryFile.cpp src/MercuryTimer.cpp src/MercuryMessageManager.cpp src/MercuryVertex.cpp \ - src/MercuryPlane.cpp src/BoundingBox.cpp" + src/MercuryPlane.cpp src/BoundingBox.cpp src/Shader.cpp" SOURCES="$SOURCES src/MercuryFileDriverDirect.cpp src/MercuryFileDriverMem.cpp \ src/MercuryFileDriverPacked.cpp src/MercuryFileDriverZipped.cpp" Modified: Mercury2/src/MercuryFile.h =================================================================== --- Mercury2/src/MercuryFile.h 2009-03-20 01:55:12 UTC (rev 185) +++ Mercury2/src/MercuryFile.h 2009-03-20 03:37:22 UTC (rev 186) @@ -44,7 +44,12 @@ virtual bool Check() = 0; ///Return true if end of file virtual bool Eof() = 0; - ///Return the last time the file was modified, if 0, this means unknown. + ///Return the last time the file was modified. + /** If the time is unknown, 0 is returned. This time has nothing to + do with actual changed time. It is system dependent and should + only be used to see if a file has been changed, unless the user + wishes to take advantage of something they know about the + underlying system. */ virtual unsigned long GetModTime() { return 0; } const MString& GetName() const { return m_sPath; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |