Updated boost workaround. Added -noboost build config to VC8.

Added aiGetVersionMinor, aiGetVersionMajor, aiGetRevision and aiGetLegalInformation(). They allow to query the library version at runtime.
Added reference images for cylindric and spherical mapping.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@255 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2008-11-29 15:30:50 +00:00
parent be864ce4a0
commit 94d289d1a3
18 changed files with 1757 additions and 51 deletions
+37 -8
View File
@@ -1,18 +1,47 @@
// this is a dummy - it is used to generate the precompiled header file.
// This is a dummy unit - it is used to generate the precompiled header file.
// + it contains version management functions
#include "AssimpPCH.h"
// ################################################################################
// Legal information string
// Note that this string must be contained in the compiled image.
static const char* LEGAL_INFORMATION =
"Open Asset Import Library (ASSIMP).\n\n"
"Open Asset Import Library (ASSIMP).\n"
"A free C/C++ library to import various 3D file formats into applications\n\n"
"Licensed under a modified BSD license (http://assimp.sourceforge.net/main_license.html)\n"
"(c) ASSIMP Development Team, 2008\n"
"Hosted at SourceForge, http://assimp.sourceforge.net\n"
"(c) ASSIMP Development Team, 2008-2009\n"
"License: modified BSD license (http://assimp.sourceforge.net/main_license.html)\n"
"Website: http://assimp.sourceforge.net\n"
;
// ################################################################################
// ------------------------------------------------------------------------------------------------
ASSIMP_API const char* aiGetLegalString ()
{
return LEGAL_INFORMATION;
}
// ------------------------------------------------------------------------------------------------
ASSIMP_API unsigned int aiGetVersionMinor ()
{
return 5;
}
// ------------------------------------------------------------------------------------------------
ASSIMP_API unsigned int aiGetVersionMajor ()
{
return 0;
}
// ------------------------------------------------------------------------------------------------
ASSIMP_API unsigned int aiGetVersionRevision ()
{
// TODO: find a way to update the revision number automatically
return 254;
}