This commit is contained in:
Alex 2013-08-07 15:40:57 -04:00
parent a0931b01fe
commit b9579e085f
5 changed files with 128 additions and 129 deletions

View file

@ -397,8 +397,7 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings)
mTranslationDataStorage.loadTranslationData(mFileCollections, mMaster[i]); mTranslationDataStorage.loadTranslationData(mFileCollections, mMaster[i]);
// Create window manager - this manages all the MW-specific GUI windows // Create window manager - this manages all the MW-specific GUI windows
// before compiler reorganization the following line was "MWScript::registerExtensions (mExtensions);" Compiler::registerExtensions (mExtensions);
Compiler::registerExtensions (mExtensions, false);
mEnvironment.setWindowManager (new MWGui::WindowManager( mEnvironment.setWindowManager (new MWGui::WindowManager(
mExtensions, mFpsLevel, mOgre, mCfgMgr.getLogPath().string() + std::string("/"), mExtensions, mFpsLevel, mOgre, mCfgMgr.getLogPath().string() + std::string("/"),

View file

@ -5,7 +5,7 @@ namespace Compiler
{ {
class Extensions; class Extensions;
void registerExtensions (Extensions& extensions, bool consoleOnly); void registerExtensions (Extensions& extensions, bool consoleOnly = false);
namespace Ai namespace Ai
{ {