mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
added magic effects table
This commit is contained in:
parent
c321f2c252
commit
23fd314294
3 changed files with 17 additions and 0 deletions
|
@ -160,6 +160,10 @@ void CSVDoc::View::setupMechanicsMenu()
|
||||||
QAction *enchantments = new QAction (tr ("Enchantments"), this);
|
QAction *enchantments = new QAction (tr ("Enchantments"), this);
|
||||||
connect (enchantments, SIGNAL (triggered()), this, SLOT (addEnchantmentsSubView()));
|
connect (enchantments, SIGNAL (triggered()), this, SLOT (addEnchantmentsSubView()));
|
||||||
mechanics->addAction (enchantments);
|
mechanics->addAction (enchantments);
|
||||||
|
|
||||||
|
QAction *effects = new QAction (tr ("Magic Effects"), this);
|
||||||
|
connect (effects, SIGNAL (triggered()), this, SLOT (addMagicEffectsSubView()));
|
||||||
|
mechanics->addAction (effects);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVDoc::View::setupCharacterMenu()
|
void CSVDoc::View::setupCharacterMenu()
|
||||||
|
@ -590,6 +594,11 @@ void CSVDoc::View::addSoundsResSubView()
|
||||||
addSubView (CSMWorld::UniversalId::Type_SoundsRes);
|
addSubView (CSMWorld::UniversalId::Type_SoundsRes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CSVDoc::View::addMagicEffectsSubView()
|
||||||
|
{
|
||||||
|
addSubView (CSMWorld::UniversalId::Type_MagicEffects);
|
||||||
|
}
|
||||||
|
|
||||||
void CSVDoc::View::addTexturesSubView()
|
void CSVDoc::View::addTexturesSubView()
|
||||||
{
|
{
|
||||||
addSubView (CSMWorld::UniversalId::Type_Textures);
|
addSubView (CSMWorld::UniversalId::Type_Textures);
|
||||||
|
|
|
@ -189,6 +189,8 @@ namespace CSVDoc
|
||||||
|
|
||||||
void addSoundGensSubView();
|
void addSoundGensSubView();
|
||||||
|
|
||||||
|
void addMagicEffectsSubView();
|
||||||
|
|
||||||
void addMeshesSubView();
|
void addMeshesSubView();
|
||||||
|
|
||||||
void addIconsSubView();
|
void addIconsSubView();
|
||||||
|
|
|
@ -26,6 +26,9 @@ void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
|
||||||
manager.add (CSMWorld::UniversalId::Type_Skills,
|
manager.add (CSMWorld::UniversalId::Type_Skills,
|
||||||
new CSVDoc::SubViewFactoryWithCreator<TableSubView, NullCreatorFactory>);
|
new CSVDoc::SubViewFactoryWithCreator<TableSubView, NullCreatorFactory>);
|
||||||
|
|
||||||
|
manager.add (CSMWorld::UniversalId::Type_MagicEffects,
|
||||||
|
new CSVDoc::SubViewFactoryWithCreator<TableSubView, NullCreatorFactory>);
|
||||||
|
|
||||||
static const CSMWorld::UniversalId::Type sTableTypes[] =
|
static const CSMWorld::UniversalId::Type sTableTypes[] =
|
||||||
{
|
{
|
||||||
CSMWorld::UniversalId::Type_Globals,
|
CSMWorld::UniversalId::Type_Globals,
|
||||||
|
@ -130,6 +133,9 @@ void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
|
||||||
manager.add (CSMWorld::UniversalId::Type_Skill,
|
manager.add (CSMWorld::UniversalId::Type_Skill,
|
||||||
new CSVDoc::SubViewFactoryWithCreator<DialogueSubView, NullCreatorFactory > (false));
|
new CSVDoc::SubViewFactoryWithCreator<DialogueSubView, NullCreatorFactory > (false));
|
||||||
|
|
||||||
|
manager.add (CSMWorld::UniversalId::Type_MagicEffect,
|
||||||
|
new CSVDoc::SubViewFactoryWithCreator<DialogueSubView, NullCreatorFactory > (false));
|
||||||
|
|
||||||
manager.add (CSMWorld::UniversalId::Type_Gmst,
|
manager.add (CSMWorld::UniversalId::Type_Gmst,
|
||||||
new CSVDoc::SubViewFactoryWithCreator<DialogueSubView, NullCreatorFactory > (false));
|
new CSVDoc::SubViewFactoryWithCreator<DialogueSubView, NullCreatorFactory > (false));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue