mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 21:35:24 +00:00
Merge branch 'rm_unused_world_startup_script' into 'master'
Remove unused startup script argument See merge request OpenMW/openmw!2842
This commit is contained in:
commit
559169123d
@ -770,7 +770,7 @@ void OMW::Engine::prepareEngine()
|
||||
// Create the world
|
||||
mWorld = std::make_unique<MWWorld::World>(mViewer, rootNode, mResourceSystem.get(), mWorkQueue.get(), *mUnrefQueue,
|
||||
mFileCollections, mContentFiles, mGroundcoverFiles, mEncoder.get(), mActivationDistanceOverride, mCellName,
|
||||
mStartupScript, mCfgMgr.getUserDataPath());
|
||||
mCfgMgr.getUserDataPath());
|
||||
mWorld->setupPlayer();
|
||||
mWorld->setRandomSeed(mRandomSeed);
|
||||
mEnvironment.setWorld(*mWorld);
|
||||
|
@ -246,7 +246,7 @@ namespace MWWorld
|
||||
SceneUtil::WorkQueue* workQueue, SceneUtil::UnrefQueue& unrefQueue, const Files::Collections& fileCollections,
|
||||
const std::vector<std::string>& contentFiles, const std::vector<std::string>& groundcoverFiles,
|
||||
ToUTF8::Utf8Encoder* encoder, int activationDistanceOverride, const std::string& startCell,
|
||||
const std::string& startupScript, const std::filesystem::path& userDataPath)
|
||||
const std::filesystem::path& userDataPath)
|
||||
: mResourceSystem(resourceSystem)
|
||||
, mLocalScripts(mStore)
|
||||
, mWorldModel(mStore, mReaders)
|
||||
|
@ -200,8 +200,7 @@ namespace MWWorld
|
||||
SceneUtil::WorkQueue* workQueue, SceneUtil::UnrefQueue& unrefQueue,
|
||||
const Files::Collections& fileCollections, const std::vector<std::string>& contentFiles,
|
||||
const std::vector<std::string>& groundcoverFiles, ToUTF8::Utf8Encoder* encoder,
|
||||
int activationDistanceOverride, const std::string& startCell, const std::string& startupScript,
|
||||
const std::filesystem::path& userDataPath);
|
||||
int activationDistanceOverride, const std::string& startCell, const std::filesystem::path& userDataPath);
|
||||
|
||||
virtual ~World();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user