|
|
@ -6,11 +6,7 @@
|
|
|
|
namespace Files {
|
|
|
|
namespace Files {
|
|
|
|
|
|
|
|
|
|
|
|
bool loadOgrePlugin(const std::string &pluginDir, std::string pluginName, Ogre::Root &ogreRoot) {
|
|
|
|
bool loadOgrePlugin(const std::string &pluginDir, std::string pluginName, Ogre::Root &ogreRoot) {
|
|
|
|
// Append plugin suffix if debugging.
|
|
|
|
|
|
|
|
#if defined(DEBUG) || defined(_DEBUG)
|
|
|
|
|
|
|
|
pluginName = pluginName + OGRE_PLUGIN_DEBUG_SUFFIX;
|
|
|
|
pluginName = pluginName + OGRE_PLUGIN_DEBUG_SUFFIX;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
|
|
|
|
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
|
|
|
|
std::ostringstream verStream;
|
|
|
|
std::ostringstream verStream;
|
|
|
|
verStream << "." << OGRE_VERSION_MAJOR << "." << OGRE_VERSION_MINOR << "." << OGRE_VERSION_PATCH;
|
|
|
|
verStream << "." << OGRE_VERSION_MAJOR << "." << OGRE_VERSION_MINOR << "." << OGRE_VERSION_PATCH;
|
|
|
|