mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
added start script table
This commit is contained in:
parent
4e1c086d6a
commit
a148b851c0
3 changed files with 13 additions and 0 deletions
|
@ -173,6 +173,10 @@ void CSVDoc::View::setupMechanicsMenu()
|
||||||
QAction *effects = new QAction (tr ("Magic Effects"), this);
|
QAction *effects = new QAction (tr ("Magic Effects"), this);
|
||||||
connect (effects, SIGNAL (triggered()), this, SLOT (addMagicEffectsSubView()));
|
connect (effects, SIGNAL (triggered()), this, SLOT (addMagicEffectsSubView()));
|
||||||
mechanics->addAction (effects);
|
mechanics->addAction (effects);
|
||||||
|
|
||||||
|
QAction *startScripts = new QAction (tr ("Start Scripts"), this);
|
||||||
|
connect (startScripts, SIGNAL (triggered()), this, SLOT (addStartScriptsSubView()));
|
||||||
|
mechanics->addAction (startScripts);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVDoc::View::setupCharacterMenu()
|
void CSVDoc::View::setupCharacterMenu()
|
||||||
|
@ -716,6 +720,11 @@ void CSVDoc::View::addPathgridSubView()
|
||||||
addSubView (CSMWorld::UniversalId::Type_Pathgrids);
|
addSubView (CSMWorld::UniversalId::Type_Pathgrids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CSVDoc::View::addStartScriptsSubView()
|
||||||
|
{
|
||||||
|
addSubView (CSMWorld::UniversalId::Type_StartScripts);
|
||||||
|
}
|
||||||
|
|
||||||
void CSVDoc::View::abortOperation (int type)
|
void CSVDoc::View::abortOperation (int type)
|
||||||
{
|
{
|
||||||
mDocument->abortOperation (type);
|
mDocument->abortOperation (type);
|
||||||
|
|
|
@ -215,6 +215,8 @@ namespace CSVDoc
|
||||||
|
|
||||||
void addPathgridSubView();
|
void addPathgridSubView();
|
||||||
|
|
||||||
|
void addStartScriptsSubView();
|
||||||
|
|
||||||
void toggleShowStatusBar (bool show);
|
void toggleShowStatusBar (bool show);
|
||||||
|
|
||||||
void loadErrorLog();
|
void loadErrorLog();
|
||||||
|
|
|
@ -43,6 +43,7 @@ void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
|
||||||
CSMWorld::UniversalId::Type_BodyParts,
|
CSMWorld::UniversalId::Type_BodyParts,
|
||||||
CSMWorld::UniversalId::Type_SoundGens,
|
CSMWorld::UniversalId::Type_SoundGens,
|
||||||
CSMWorld::UniversalId::Type_Pathgrids,
|
CSMWorld::UniversalId::Type_Pathgrids,
|
||||||
|
CSMWorld::UniversalId::Type_StartScripts,
|
||||||
|
|
||||||
CSMWorld::UniversalId::Type_None // end marker
|
CSMWorld::UniversalId::Type_None // end marker
|
||||||
};
|
};
|
||||||
|
@ -123,6 +124,7 @@ void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
|
||||||
CSMWorld::UniversalId::Type_BodyPart,
|
CSMWorld::UniversalId::Type_BodyPart,
|
||||||
CSMWorld::UniversalId::Type_SoundGen,
|
CSMWorld::UniversalId::Type_SoundGen,
|
||||||
CSMWorld::UniversalId::Type_Pathgrid,
|
CSMWorld::UniversalId::Type_Pathgrid,
|
||||||
|
CSMWorld::UniversalId::Type_StartScript,
|
||||||
|
|
||||||
CSMWorld::UniversalId::Type_None // end marker
|
CSMWorld::UniversalId::Type_None // end marker
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue