From: <rob...@us...> - 2009-02-13 13:39:25
|
Revision: 359 http://colladamaya.svn.sourceforge.net/colladamaya/?rev=359&view=rev Author: robertwuerfel Date: 2009-02-13 13:39:16 +0000 (Fri, 13 Feb 2009) Log Message: ----------- add light to framework, loader and max plugin Modified Paths: -------------- branches/nextgen/COLLADAFramework/include/COLLADAFWCamera.h branches/nextgen/COLLADAFramework/include/COLLADAFWIWriter.h branches/nextgen/COLLADAFramework/include/COLLADAFWNode.h branches/nextgen/COLLADAFramework/scripts/COLLADAFramework.vcproj branches/nextgen/COLLADAMax/include/COLLADAMaxDocumentImporter.h branches/nextgen/COLLADAMax/include/COLLADAMaxImporterBase.h branches/nextgen/COLLADAMax/include/COLLADAMaxNodeImporter.h branches/nextgen/COLLADAMax/scripts/COLLADAMax.vcproj branches/nextgen/COLLADAMax/src/COLLADAMaxDocumentImporter.cpp branches/nextgen/COLLADAMax/src/COLLADAMaxNodeImporter.cpp branches/nextgen/COLLADASaxFrameworkLoader/include/COLLADASaxFWLFileLoader.h branches/nextgen/COLLADASaxFrameworkLoader/include/COLLADASaxFWLNodeLoader.h branches/nextgen/COLLADASaxFrameworkLoader/scripts/COLLADASaxFrameworkLoader.vcproj branches/nextgen/COLLADASaxFrameworkLoader/src/COLLADASaxFWLFileLoader.cpp branches/nextgen/COLLADASaxFrameworkLoader/src/COLLADASaxFWLNodeLoader.cpp branches/nextgen/GeneratedSaxParser/src/GeneratedSaxParserLibxmlSaxParser.cpp Added Paths: ----------- branches/nextgen/COLLADAFramework/include/COLLADAFWInstanceLight.h branches/nextgen/COLLADAFramework/include/COLLADAFWLight.h branches/nextgen/COLLADAFramework/src/COLLADAFWLight.cpp branches/nextgen/COLLADAMax/include/COLLADAMaxLightImporter.h branches/nextgen/COLLADAMax/src/COLLADAMaxLightImporter.cpp branches/nextgen/COLLADASaxFrameworkLoader/include/COLLADASaxFWLLibraryLightsLoader.h branches/nextgen/COLLADASaxFrameworkLoader/src/COLLADASaxFWLLibraryLightsLoader.cpp Modified: branches/nextgen/COLLADAFramework/include/COLLADAFWCamera.h =================================================================== --- branches/nextgen/COLLADAFramework/include/COLLADAFWCamera.h 2009-02-12 16:03:53 UTC (rev 358) +++ branches/nextgen/COLLADAFramework/include/COLLADAFWCamera.h 2009-02-13 13:39:16 UTC (rev 359) @@ -72,8 +72,7 @@ /** The far clipping plane.*/ double mFarClippingPlane; public: - /** - @param objectId The object id of the camera.*/ + /** @param objectId The object id of the camera.*/ Camera( ObjectId objectId ); /** Destructor. */ Modified: branches/nextgen/COLLADAFramework/include/COLLADAFWIWriter.h =================================================================== --- branches/nextgen/COLLADAFramework/include/COLLADAFWIWriter.h 2009-02-12 16:03:53 UTC (rev 358) +++ branches/nextgen/COLLADAFramework/include/COLLADAFWIWriter.h 2009-02-13 13:39:16 UTC (rev 359) @@ -23,6 +23,7 @@ class Material; class Effect; class Camera; + class Light; /** Class that needs to be implemented by a writer. @@ -80,6 +81,10 @@ @return The writer should return true, if writing succeeded, false otherwise.*/ virtual bool writeCamera( const Camera* camera ) = 0; + /** When this method is called, the writer must write the light. + @return The writer should return true, if writing succeeded, false otherwise.*/ + virtual bool writeLight( const Light* camera ) = 0; + private: /** Disable default copy ctor. */ Added: branches/nextgen/COLLADAFramework/include/COLLADAFWInstanceLight.h =================================================================== --- branches/nextgen/COLLADAFramework/include/COLLADAFWInstanceLight.h (rev 0) +++ branches/nextgen/COLLADAFramework/include/COLLADAFWInstanceLight.h 2009-02-13 13:39:16 UTC (rev 359) @@ -0,0 +1,29 @@ +/* + Copyright (c) 2008 NetAllied Systems GmbH + + This file is part of COLLADAFramework. + + Licensed under the MIT Open Source License, + for details please see LICENSE file or the website + http://www.opensource.org/licenses/mit-license.php +*/ + +#ifndef __COLLADAFW_INSTANCELIGHT_H__ +#define __COLLADAFW_INSTANCELIGHT_H__ + +#include "COLLADAFWPrerequisites.h" +#include "COLLADAFWSceneGraphInstance.h" +#include "COLLADAFWPointerArray.h" + +namespace COLLADAFW +{ + + /** Instantiates a node within a scene graph.*/ + typedef SceneGraphInstance InstanceLight; + + typedef ArrayPrimitiveType<InstanceNode*> InstanceLightArray; + typedef PointerArray<InstanceNode> InstanceLightPointerArray; + +} // namespace COLLADAFW + +#endif // __COLLADAFW_INSTANCELIGHT_H__ Added: branches/nextgen/COLLADAFramework/include/COLLADAFWLight.h =================================================================== --- branches/nextgen/COLLADAFramework/include/COLLADAFWLight.h (rev 0) +++ branches/nextgen/COLLADAFramework/include/COLLADAFWLight.h 2009-02-13 13:39:16 UTC (rev 359) @@ -0,0 +1,144 @@ +/* + Copyright (c) 2008 NetAllied Systems GmbH + + This file is part of COLLADAFramework. + + Licensed under the MIT Open Source License, + for details please see LICENSE file or the website + http://www.opensource.org/licenses/mit-license.php +*/ + +#ifndef __COLLADAFW_LIGHT_H__ +#define __COLLADAFW_LIGHT_H__ + +#include "COLLADAFWPrerequisites.h" +#include "COLLADAFWObject.h" +#include "COLLADAFWColor.h" + + +namespace COLLADAFW +{ + + /** A light of one of the types: ambient, directional, point, spot. + Formula for attenuation: + A = constant_attenuation + ( D * linear_attenuation ) + ( D^2 * quadratic_attenuation )*/ + class Light : public ObjectTemplate < COLLADA_TYPE::LIGHT > + { + public: + /** All possible types of light*/ + enum LightType + { + UNDEFINED, + AMBIENT_LIGHT, + DIRECTIONAL_LIGHT, + POINT_LIGHT, + SPOT_LIGHT + }; + + private: + /** The name of the light.*/ + String mName; + + /** The type of the light.*/ + LightType mLightType; + + /** The color of the light. Has only rgb values, no alpha. + Used by all light types.*/ + Color mColor; + + /** The constant coefficient in the attenuation formula. + Used by point and spot lights.*/ + double mConstantAttenuation; + + /** The linear coefficient in the attenuation formula. + Used by point and spot lights.*/ + double mLinearAttenuation; + + /** The quadratic coefficient in the attenuation formula. + Used by point and spot lights.*/ + double mQuadraticAttenuation; + + /** The fall off angle. + Used by spot and lights.*/ + double mFallOffAngle; + + /** The fall off exponent. + Used by spot and lights.*/ + double mFallOffExponent; + + public: + /** @param objectId The object id of the camera.*/ + Light( ObjectId objectId ); + + /** Destructor. */ + virtual ~Light(); + + /** Returns name of the light.*/ + const COLLADAFW::String& getName() const { return mName; } + + /** Sets name of the light.*/ + void setName(const COLLADAFW::String& name) { mName = name; } + + /** Returns the type of the light.*/ + LightType getLightType() const { return mLightType; } + + /** Sets the type of the light.*/ + void setLightType(LightType lightType) { mLightType = lightType; } + + /** Returns the color of the light. Has only rgb values, no alpha. + Used by all light types.*/ + const Color& getColor() const { return mColor; } + + /** Returns the color of the light. Has only rgb values, no alpha. + Used by all light types.*/ + Color& getColor() { return mColor; } + + /** Sets the color of the light. Has only rgb values, no alpha. + Used by all light types.*/ + void setColor(const Color& color) { mColor = color; } + + /** Returns the constant coefficient in the attenuation formula. + Used by point and spot lights.*/ + double getConstantAttenuation() const { return mConstantAttenuation; } + + /** Sets the constant coefficient in the attenuation formula. + Used by point and spot lights.*/ + void setConstantAttenuation(double constantAttenuation) { mConstantAttenuation = constantAttenuation; } + + /** Returns the linear coefficient in the attenuation formula. + Used by point and spot lights.*/ + double getLinearAttenuation() const { return mLinearAttenuation; } + + /** Sets the linear coefficient in the attenuation formula. + Used by point and spot lights.*/ + void setLinearAttenuation(double linearAttenuation) { mLinearAttenuation = linearAttenuation; } + + /** Returns the quadratic coefficient in the attenuation formula. + Used by point and spot lights.*/ + double getQuadraticAttenuation() const { return mQuadraticAttenuation; } + + /** Sets the quadratic coefficient in the attenuation formula. + Used by point and spot lights.*/ + void setQuadraticAttenuation(double quadraticAttenuation) { mQuadraticAttenuation = quadraticAttenuation; } + + /** Returns fall off angle. + Used by spot and lights.*/ + double getFallOffAngle() const { return mFallOffAngle; } + + /** Sets fall off angle. + Used by spot and lights.*/ + void setFallOffAngle(double fallOffAngl) { mFallOffAngle = fallOffAngl; } + + /** Returns fall off exponent. + Used by spot and lights.*/ + double getFallOffExponent() const { return mFallOffExponent; } + + /** Sets fall off exponent. + Used by spot and lights.*/ + void setFallOffExponent(double fallOffAngl) { mFallOffExponent = fallOffAngl; } + + }; + +} // namespace COLLADAFW + +#endif // __COLLADAFW_LIGHT_H__ Modified: branches/nextgen/COLLADAFramework/include/COLLADAFWNode.h =================================================================== --- branches/nextgen/COLLADAFramework/include/COLLADAFWNode.h 2009-02-12 16:03:53 UTC (rev 358) +++ branches/nextgen/COLLADAFramework/include/COLLADAFWNode.h 2009-02-13 13:39:16 UTC (rev 359) @@ -17,6 +17,7 @@ #include "COLLADAFWInstanceGeometry.h" #include "COLLADAFWInstanceNode.h" #include "COLLADAFWInstanceCamera.h" +#include "COLLADAFWInstanceLight.h" #include "COLLADAFWArrayPrimitiveType.h" #include "COLLADAFWPointerArray.h" @@ -74,6 +75,9 @@ /** List of all instance cameras of this node. Array and contents will be delete in destructor.*/ InstanceCameraPointerArray mInstanceCameras; + /** List of all instance cameras of this node. Array and contents will be delete in destructor.*/ + InstanceLightPointerArray mInstanceLights; + /** List of all child nodes. Array and contents will be delete in destructor.*/ NodePointerArray mChildNodes; @@ -121,6 +125,12 @@ /** List of all instance cameras of this camera.*/ const InstanceCameraPointerArray& getInstanceCameras() const { return mInstanceCameras; } + /** List of all instance cameras of this camera.*/ + InstanceLightPointerArray& getInstanceLights() { return mInstanceLights; } + + /** List of all instance cameras of this camera.*/ + const InstanceLightPointerArray& getInstanceLights() const { return mInstanceLights; } + /** Get list of all child nodes.*/ NodePointerArray& getChildNodes() { return mChildNodes; } Modified: branches/nextgen/COLLADAFramework/scripts/COLLADAFramework.vcproj =================================================================== --- branches/nextgen/COLLADAFramework/scripts/COLLADAFramework.vcproj 2009-02-12 16:03:53 UTC (rev 358) +++ branches/nextgen/COLLADAFramework/scripts/COLLADAFramework.vcproj 2009-02-13 13:39:16 UTC (rev 359) @@ -336,6 +336,10 @@ > </File> <File + RelativePath="..\src\COLLADAFWLight.cpp" + > + </File> + <File RelativePath="..\src\COLLADAFWLoaderUtils.cpp" > </File> @@ -522,6 +526,10 @@ > </File> <File + RelativePath="..\include\COLLADAFWInstanceLight.h" + > + </File> + <File RelativePath="..\include\COLLADAFWInstanceMaterial.h" > </File> @@ -538,6 +546,10 @@ > </File> <File + RelativePath="..\include\COLLADAFWLight.h" + > + </File> + <File RelativePath="..\include\COLLADAFWLoaderUtils.h" > </File> Added: branches/nextgen/COLLADAFramework/src/COLLADAFWLight.cpp =================================================================== --- branches/nextgen/COLLADAFramework/src/COLLADAFWLight.cpp (rev 0) +++ branches/nextgen/COLLADAFramework/src/COLLADAFWLight.cpp 2009-02-13 13:39:16 UTC (rev 359) @@ -0,0 +1,36 @@ +/* + Copyright (c) 2008 NetAllied Systems GmbH + + This file is part of COLLADAFramework. + + Licensed under the MIT Open Source License, + for details please see LICENSE file or the website + http://www.opensource.org/licenses/mit-license.php +*/ + +#include "COLLADAFWStableHeaders.h" +#include "COLLADAFWLight.h" + + +namespace COLLADAFW +{ + + //------------------------------ + Light::Light( ObjectId objectId ) + : ObjectTemplate< COLLADA_TYPE::LIGHT >(objectId) + , mLightType(UNDEFINED) + , mColor() + , mConstantAttenuation(1) + , mLinearAttenuation(0) + , mQuadraticAttenuation(0) + , mFallOffAngle(180) + , mFallOffExponent(0) + { + } + + //------------------------------ + Light::~Light() + { + } + +} // namespace COLLADAFW Modified: branches/nextgen/COLLADAMax/include/COLLADAMaxDocumentImporter.h =================================================================== --- branches/nextgen/COLLADAMax/include/COLLADAMaxDocumentImporter.h 2009-02-12 16:03:53 UTC (rev 358) +++ branches/nextgen/COLLADAMax/include/COLLADAMaxDocumentImporter.h 2009-02-13 13:39:16 UTC (rev 359) @@ -23,7 +23,9 @@ #include "COLLADAFWIWriter.h" #include "COLLADAFWMaterial.h" #include "COLLADAFWEffect.h" +#include "COLLADAFWColor.h" #include "COLLADAFWInstanceGeometry.h" + #include <list> //#include "dummy.h" @@ -111,6 +113,12 @@ /** File path of the COLLADA document to import.*/ NativeString mImportFilePath; + /** The accumulated ambient color.*/ + COLLADAFW::Color mAmbientColor; + + /** The number of ambient colors already added.*/ + size_t mNumberOfAmbientColors; + /** A dummy helper, that is used for nodes that do not have an object assigned to.*/ DummyObject* mDummyObject; @@ -182,6 +190,15 @@ /** Returns the max interface.*/ ImpInterface* getMaxImportInterface() { return mMaxImportInterface; } + /** Returns the accumulated ambient color.*/ + const COLLADAFW::Color& getAmbientColor() const { return mAmbientColor; } + + /** Returns the number of accumulated ambient colors.*/ + size_t getNumberOfAmbientColors() const { return mNumberOfAmbientColors; } + + /** Adds @a ambientColor to the total ambient color.*/ + void addAmbientColor( const COLLADAFW::Color& ambientColor); + /** Deletes the entire scene. @param errorMessage A message containing informations about the error that occurred. */ @@ -221,8 +238,10 @@ @return True on succeeded, false otherwise.*/ virtual bool writeCamera( const COLLADAFW::Camera* camera ); + /** Writes the light. + @return True on succeeded, false otherwise.*/ + virtual bool writeLight( const COLLADAFW::Light* light ); - private: /** Disable default copy ctor. */ DocumentImporter( const DocumentImporter& pre ); Modified: branches/nextgen/COLLADAMax/include/COLLADAMaxImporterBase.h =================================================================== --- branches/nextgen/COLLADAMax/include/COLLADAMaxImporterBase.h 2009-02-12 16:03:53 UTC (rev 358) +++ branches/nextgen/COLLADAMax/include/COLLADAMaxImporterBase.h 2009-02-13 13:39:16 UTC (rev 359) @@ -62,6 +62,9 @@ /** Destructor. */ virtual ~ImporterBase(); + /** Returns the document importer.*/ + DocumentImporter* getDocumentImporter() { return mDocumentImporter; } + /** Returns the max interface.*/ Interface* getMaxInterface(); Added: branches/nextgen/COLLADAMax/include/COLLADAMaxLightImporter.h =================================================================== --- branches/nextgen/COLLADAMax/include/COLLADAMaxLightImporter.h (rev 0) +++ branches/nextgen/COLLADAMax/include/COLLADAMaxLightImporter.h 2009-02-13 13:39:16 UTC (rev 359) @@ -0,0 +1,73 @@ +/* +Copyright (c) 2008 NetAllied Systems GmbH + +This file is part of COLLADAMax. + +Portions of the code are: +Copyright (c) 2005-2007 Feeling Software Inc. +Copyright (c) 2005-2007 Sony Computer Entertainment America + +Based on the 3dsMax COLLADASW Tools: +Copyright (c) 2005-2006 Autodesk Media Entertainment + +Licensed under the MIT Open Source License, +for details please see LICENSE file or the website +http://www.opensource.org/licenses/mit-license.php +*/ + +#ifndef __COLLADAMAX_LIGHTIMPORTER_H__ +#define __COLLADAMAX_LIGHTIMPORTER_H__ + +#include "COLLADAMaxPrerequisites.h" +#include "COLLADAMaxImporterBase.h" + +class GenLight; + +namespace COLLADAFW +{ + class Light; +}; + + +namespace COLLADAMax +{ + + /** Imports a light into the max scene. */ + class LightImporter : public ImporterBase + { + private: + /** The light to import.*/ + const COLLADAFW::Light* mLight; + + public: + + /** Constructor. */ + LightImporter( DocumentImporter* documentImporter, const COLLADAFW::Light* light ); + + /** Destructor. */ + virtual ~LightImporter(); + + /** Performs the import of the light. + @return True on success, false otherwise.*/ + bool import(); + + /** Creates a new light from @a camera and returns a pointer to it. */ + GenLight* createLight( const COLLADAFW::Light* light ); + + /** creates and adds an ambient light to the document. Since such a light is global + i does not have to added to the scene.*/ + void createAndAddAmbientLight( const COLLADAFW::Light* light ); + + private: + + /** Disable default copy ctor. */ + LightImporter( const LightImporter& pre ); + + /** Disable default assignment operator. */ + const LightImporter& operator= ( const LightImporter& pre ); + + }; + +} // namespace COLLADAMAX + +#endif // __COLLADAMAX_LIGHTIMPORTER_H__ Modified: branches/nextgen/COLLADAMax/include/COLLADAMaxNodeImporter.h =================================================================== --- branches/nextgen/COLLADAMax/include/COLLADAMaxNodeImporter.h 2009-02-12 16:03:53 UTC (rev 358) +++ branches/nextgen/COLLADAMax/include/COLLADAMaxNodeImporter.h 2009-02-13 13:39:16 UTC (rev 359) @@ -69,6 +69,8 @@ /** Imports all the instance cameras in @a instanceGeometryArray and attaches them to @a parentImportNode.*/ bool importInstanceCameras( const COLLADAFW::InstanceCameraPointerArray& instanceCameraArray, ImpNode* parentImportNode ); + /** Imports all the instance lights in @a instanceGeometryArray and attaches them to @a parentImportNode.*/ + bool importInstanceLights( const COLLADAFW::InstanceLightPointerArray& instanceLightArray, ImpNode* parentImportNode ); /** Imports the first instance of type Instance in @a node. A new INode is created, that references the instantiated geometry and has the properties of @a node (name, transformation). The new INode @@ -84,13 +86,18 @@ Use this member, if a node has exactly one instance geometry.*/ ImpNode* importInstanceGeometry( const COLLADAFW::Node* node, ImpNode* parentImportNode ); - /** Imports the first instance camera in @a node. It is assumed that @a node has at least one instance camera. A new INode is created, that references the instantiated camera and has the properties of @a node (name, transformation). The new INode is attached to @a parentImportNode. Use this member, if a node has exactly one instance camera.*/ ImpNode* importInstanceCamera( const COLLADAFW::Node* node, ImpNode* parentImportNode ); + /** Imports the first instance light in @a node. It is assumed that @a node has at least one + instance light. A new INode is created, that references the instantiated light and has the + properties of @a node (name, transformation). The new INode is attached to @a parentImportNode. + Use this member, if a node has exactly one instance light.*/ + ImpNode* importInstanceLight( const COLLADAFW::Node* node, ImpNode* parentImportNode ); + /** Imports all the instance nodes in @a instanceNodeArray and attaches them to @a parentImportNode.*/ bool importInstanceNodes( const COLLADAFW::InstanceNodePointerArray& instanceNodeArray, ImpNode* parentImportNode ); Modified: branches/nextgen/COLLADAMax/scripts/COLLADAMax.vcproj =================================================================== --- branches/nextgen/COLLADAMax/scripts/COLLADAMax.vcproj 2009-02-12 16:03:53 UTC (rev 358) +++ branches/nextgen/COLLADAMax/scripts/COLLADAMax.vcproj 2009-02-13 13:39:16 UTC (rev 359) @@ -27,7 +27,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -113,7 +113,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -201,7 +201,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -290,7 +290,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -379,7 +379,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -465,7 +465,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -553,7 +553,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -642,7 +642,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -732,7 +732,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -821,7 +821,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -910,7 +910,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -996,7 +996,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -1083,7 +1083,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -1169,7 +1169,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -1257,7 +1257,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -1346,7 +1346,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F% 


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" + CommandLine="echo off

set F=..\include\COLLADAMaxVersionInfo.h


echo Generating %F%


echo #ifndef __COLLADAMAX_VERSIONINFO_H__ > %F%
echo #define __COLLADAMAX_VERSIONINFO_H__ >> %F%

echo. >> %F%

echo #include "COLLADAMaxPrerequisites.h" >> %F%

echo. >> %F%

echo namespace COLLADAMax >> %F%

echo { >> %F%


FOR /f %%A in ('svnversion ..\..\ ') do set REVISION=%%A


echo const String CURRENT_REVISION = "%REVISION%"; >> %F%
echo const String CURRENT_PLATFORM = "$(PlatformName)"; >> %F%
echo const String CURRENT_CONFIGURATION = "$(ConfigurationName)"; >> %F%

echo } >> %F%

echo. >> %F%

echo #endif // __COLLADAMAX_VERSIONINFO_H__ >> %F%

" /> <Tool Name="VCCustomBuildTool" @@ -2107,6 +2107,10 @@ > </File> <File + RelativePath="..\src\COLLADAMaxLightImporter.cpp" + > + </File> + <File RelativePath="..\src\COLLADAMaxMaterialCreator.cpp" > </File> @@ -2293,6 +2297,10 @@ > </File> <File + RelativePath="..\include\COLLADAMaxLightImporter.h" + > + </File> + <File RelativePath="..\include\COLLADAMaxMaterialCreator.h" > </File> Modified: branches/ne... [truncated message content] |