1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00

added start script table

This commit is contained in:
Marc Zinnschlag 2015-03-03 14:32:12 +01:00
parent 4e1c086d6a
commit a148b851c0
3 changed files with 13 additions and 0 deletions

View File

@ -173,6 +173,10 @@ void CSVDoc::View::setupMechanicsMenu()
QAction *effects = new QAction (tr ("Magic Effects"), this);
connect (effects, SIGNAL (triggered()), this, SLOT (addMagicEffectsSubView()));
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()
@ -716,6 +720,11 @@ void CSVDoc::View::addPathgridSubView()
addSubView (CSMWorld::UniversalId::Type_Pathgrids);
}
void CSVDoc::View::addStartScriptsSubView()
{
addSubView (CSMWorld::UniversalId::Type_StartScripts);
}
void CSVDoc::View::abortOperation (int type)
{
mDocument->abortOperation (type);

View File

@ -215,6 +215,8 @@ namespace CSVDoc
void addPathgridSubView();
void addStartScriptsSubView();
void toggleShowStatusBar (bool show);
void loadErrorLog();

View File

@ -43,6 +43,7 @@ void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
CSMWorld::UniversalId::Type_BodyParts,
CSMWorld::UniversalId::Type_SoundGens,
CSMWorld::UniversalId::Type_Pathgrids,
CSMWorld::UniversalId::Type_StartScripts,
CSMWorld::UniversalId::Type_None // end marker
};
@ -123,6 +124,7 @@ void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
CSMWorld::UniversalId::Type_BodyPart,
CSMWorld::UniversalId::Type_SoundGen,
CSMWorld::UniversalId::Type_Pathgrid,
CSMWorld::UniversalId::Type_StartScript,
CSMWorld::UniversalId::Type_None // end marker
};