forked from mirror/openmw-tes3mp
cleanup
This commit is contained in:
parent
a0931b01fe
commit
b9579e085f
5 changed files with 128 additions and 129 deletions
|
@ -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("/"),
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue