/dports/games/openmw/openmw-openmw-0.47.0/apps/opencs/model/world/ |
H A D | universalid.cpp | 20 { CSMWorld::UniversalId::Class_None, CSMWorld::UniversalId::Type_None, "-", 0 }, 137 CSMWorld::UniversalId::UniversalId (const std::string& universalId) in UniversalId() function in CSMWorld::UniversalId 214 CSMWorld::UniversalId::UniversalId (Type type, const std::string& id) in UniversalId() function in CSMWorld::UniversalId 226 CSMWorld::UniversalId::UniversalId (Type type, int index) in UniversalId() function in CSMWorld::UniversalId 239 CSMWorld::UniversalId::Class CSMWorld::UniversalId::getClass() const in getClass() 244 CSMWorld::UniversalId::ArgumentType CSMWorld::UniversalId::getArgumentType() const in getArgumentType() 249 CSMWorld::UniversalId::Type CSMWorld::UniversalId::getType() const in getType() 270 bool CSMWorld::UniversalId::isEqual (const UniversalId& universalId) const in isEqual() 284 bool CSMWorld::UniversalId::isLess (const UniversalId& universalId) const in isLess() 371 CSMWorld::UniversalId::Type CSMWorld::UniversalId::getParentType (Type type) in getParentType() [all …]
|
H A D | tablemimedata.cpp | 97 || type == CSMWorld::UniversalId::Type_Potion in isReferencable() 99 || type == CSMWorld::UniversalId::Type_Armor in isReferencable() 100 || type == CSMWorld::UniversalId::Type_Book in isReferencable() 104 || type == CSMWorld::UniversalId::Type_Door in isReferencable() 108 || type == CSMWorld::UniversalId::Type_Light in isReferencable() 111 || type == CSMWorld::UniversalId::Type_Npc in isReferencable() 112 || type == CSMWorld::UniversalId::Type_Probe in isReferencable() 113 || type == CSMWorld::UniversalId::Type_Repair in isReferencable() 162 CSMWorld::UniversalId CSMWorld::TableMimeData::returnMatching (CSMWorld::UniversalId::Type type) co… in returnMatching() 216 CSMWorld::UniversalId::Type mUniversalIdType; [all …]
|
H A D | idcompletionmanager.cpp | 12 std::map<CSMWorld::ColumnBase::Display, CSMWorld::UniversalId::Type> generateModelTypes() in generateModelTypes() 14 std::map<CSMWorld::ColumnBase::Display, CSMWorld::UniversalId::Type> types; in generateModelTypes() 16 … types[CSMWorld::ColumnBase::Display_BodyPart ] = CSMWorld::UniversalId::Type_BodyPart; in generateModelTypes() 17 … types[CSMWorld::ColumnBase::Display_Cell ] = CSMWorld::UniversalId::Type_Cell; in generateModelTypes() 18 … types[CSMWorld::ColumnBase::Display_Class ] = CSMWorld::UniversalId::Type_Class; in generateModelTypes() 23 … types[CSMWorld::ColumnBase::Display_GlobalVariable ] = CSMWorld::UniversalId::Type_Global; in generateModelTypes() 24 … types[CSMWorld::ColumnBase::Display_Icon ] = CSMWorld::UniversalId::Type_Icon; in generateModelTypes() 26 … types[CSMWorld::ColumnBase::Display_Mesh ] = CSMWorld::UniversalId::Type_Mesh; in generateModelTypes() 29 … types[CSMWorld::ColumnBase::Display_Race ] = CSMWorld::UniversalId::Type_Race; in generateModelTypes() 46 CSMWorld::UniversalId::Type>::const_iterator ModelTypeConstIterator; [all …]
|
H A D | refiddata.cpp | 11 std::map<UniversalId::Type, RefIdDataContainerBase *>::const_iterator found = in getRecordId() 26 mRecordContainers.insert (std::make_pair (UniversalId::Type_Book, &mBooks)); in RefIdData() 30 mRecordContainers.insert (std::make_pair (UniversalId::Type_Door, &mDoors)); in RefIdData() 38 mRecordContainers.insert (std::make_pair (UniversalId::Type_Npc, &mNpcs)); in RefIdData() 85 return std::make_pair (-1, CSMWorld::UniversalId::Type_None); in searchId() 135 std::map<UniversalId::Type, RefIdDataContainerBase *>::iterator iter = in getRecord() 146 std::map<UniversalId::Type, RefIdDataContainerBase *>::iterator iter = in appendRecord() 158 int CSMWorld::RefIdData::getAppendIndex (UniversalId::Type type) const in getAppendIndex() 176 std::map<UniversalId::Type, RefIdDataContainerBase *>::iterator found = in load() 199 std::map<UniversalId::Type, RefIdDataContainerBase *>::iterator iter = in erase() [all …]
|
H A D | universalid.hpp | 12 class UniversalId class 155 UniversalId (const std::string& universalId); 157 UniversalId (Type type = Type_None); 159 UniversalId (Type type, const std::string& id); 162 UniversalId (Type type, int index); 177 bool isEqual (const UniversalId& universalId) const; 179 bool isLess (const UniversalId& universalId) const; 198 bool operator== (const UniversalId& left, const UniversalId& right); 199 bool operator!= (const UniversalId& left, const UniversalId& right); 201 bool operator< (const UniversalId& left, const UniversalId& right); [all …]
|
H A D | tablemimedata.hpp | 29 std::vector<UniversalId> mUniversalId; 33 TableMimeData(UniversalId id, const CSMDoc::Document& document); 35 TableMimeData(const std::vector<UniversalId>& id, const CSMDoc::Document& document); 43 std::vector<UniversalId> getData() const; 45 bool holdsType(UniversalId::Type type) const; 51 UniversalId returnMatching(UniversalId::Type type) const; 55 UniversalId returnMatching(CSMWorld::ColumnBase::Display type) const; 57 static CSMWorld::UniversalId::Type convertEnums(CSMWorld::ColumnBase::Display type); 59 static CSMWorld::ColumnBase::Display convertEnums(CSMWorld::UniversalId::Type type); 61 static bool isReferencable(CSMWorld::UniversalId::Type type);
|
H A D | resourcesmanager.cpp | 13 mResources.insert (std::make_pair (UniversalId::getParentType (resources.getType()), in addResources() 29 addResources (Resources (vfs, "meshes", UniversalId::Type_Mesh, getMeshExtensions())); in setVFS() 30 addResources (Resources (vfs, "icons", UniversalId::Type_Icon)); in setVFS() 31 addResources (Resources (vfs, "music", UniversalId::Type_Music)); in setVFS() 32 addResources (Resources (vfs, "sound", UniversalId::Type_SoundRes)); in setVFS() 33 addResources (Resources (vfs, "textures", UniversalId::Type_Texture)); in setVFS() 34 addResources (Resources (vfs, "video", UniversalId::Type_Video)); in setVFS() 44 std::map<UniversalId::Type, Resources>::iterator it = mResources.begin(); in recreateResources() 47 if (it->first == UniversalId::Type_Mesh) in recreateResources() 54 const CSMWorld::Resources& CSMWorld::ResourcesManager::get (UniversalId::Type type) const in get() [all …]
|
H A D | refidcollection.cpp | 95 effectsMap.insert(std::make_pair(UniversalId::Type_Potion, in RefIdCollection() 145 inventoryMap.insert(std::make_pair(UniversalId::Type_Npc, in RefIdCollection() 160 spellsMap.insert(std::make_pair(UniversalId::Type_Npc, in RefIdCollection() 162 spellsMap.insert(std::make_pair(UniversalId::Type_Creature, in RefIdCollection() 173 destMap.insert(std::make_pair(UniversalId::Type_Npc, in RefIdCollection() 175 destMap.insert(std::make_pair(UniversalId::Type_Creature, in RefIdCollection() 198 aiMap.insert(std::make_pair(UniversalId::Type_Npc, in RefIdCollection() 200 aiMap.insert(std::make_pair(UniversalId::Type_Creature, in RefIdCollection() 601 partMap.insert(std::make_pair(UniversalId::Type_Armor, in RefIdCollection() 678 mAdapters.insert (std::make_pair (UniversalId::Type_Npc, in RefIdCollection() [all …]
|
H A D | data.cpp | 33 UniversalId::Type type2 = UniversalId::getParentType (type); in addModel() 35 if (type2!=UniversalId::Type_None) in addModel() 591 UniversalId::Type_Mesh); in Data() 593 UniversalId::Type_Icon); in Data() 595 UniversalId::Type_Music); in Data() 601 UniversalId::Type_Video); in Data() 1098 CSMWorld::UniversalId id (CSMWorld::UniversalId::Type_None); in continueLoading() 1315 UniversalId::Type_Meshes, in assetsChanged() 1316 UniversalId::Type_Icons, in assetsChanged() 1317 UniversalId::Type_Musics, in assetsChanged() [all …]
|
H A D | idtable.hpp | 52 void addRecord (const std::string& id, UniversalId::Type type = UniversalId::Type_None); 56 UniversalId::Type type = UniversalId::Type_None); 61 UniversalId::Type type = UniversalId::Type_None); 71 UniversalId::Type type = UniversalId::Type_None); 87 std::pair<UniversalId, std::string> view (int row) const override;
|
H A D | collectionbase.hpp | 60 UniversalId::Type type = UniversalId::Type_None) = 0; 74 UniversalId::Type type = UniversalId::Type_None) = 0; 79 const UniversalId::Type type) = 0; 88 UniversalId::Type type = UniversalId::Type_None) const = 0;
|
H A D | refidcollection.hpp | 46 std::map<UniversalId::Type, RefIdAdapter *> mAdapters; 48 …std::vector<std::pair<const ColumnBase*, std::map<UniversalId::Type, NestedRefIdAdapterBase*> > > … 52 const RefIdAdapter& findAdapter (UniversalId::Type) const; 55 …const NestedRefIdAdapterBase& getNestedAdapter(const ColumnBase &column, UniversalId::Type type) c… 81 const UniversalId::Type type) override; 85 void appendBlankRecord (const std::string& id, UniversalId::Type type) override; 97 void appendRecord (const RecordBase& record, UniversalId::Type type) override; 106 void load (ESM::ESMReader& reader, bool base, UniversalId::Type type); 108 int getAppendIndex (const std::string& id, UniversalId::Type type) const override;
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/opencs/view/world/ |
H A D | subviews.cpp | 39 CSMWorld::UniversalId::Type_Classes, in addSubViewFactories() 40 CSMWorld::UniversalId::Type_Factions, in addSubViewFactories() 41 CSMWorld::UniversalId::Type_Races, in addSubViewFactories() 42 CSMWorld::UniversalId::Type_Sounds, in addSubViewFactories() 43 CSMWorld::UniversalId::Type_Regions, in addSubViewFactories() 45 CSMWorld::UniversalId::Type_Spells, in addSubViewFactories() 134 CSMWorld::UniversalId::Type_Region, in addSubViewFactories() 135 CSMWorld::UniversalId::Type_Spell, in addSubViewFactories() 138 CSMWorld::UniversalId::Type_Race, in addSubViewFactories() 139 CSMWorld::UniversalId::Type_Class, in addSubViewFactories() [all …]
|
H A D | tablesubview.cpp | 19 CSVWorld::TableSubView::TableSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document, in TableSubView() 48 connect (mTable, SIGNAL (editRequest (const CSMWorld::UniversalId&, const std::string&)), in TableSubView() 49 this, SLOT (editRequest (const CSMWorld::UniversalId&, const std::string&))); in TableSubView() 66 connect (mTable, SIGNAL (cloneRequest(const CSMWorld::UniversalId&)), this, in TableSubView() 67 SLOT(cloneRequest(const CSMWorld::UniversalId&))); in TableSubView() 72 connect (mTable, SIGNAL(touchRequest(const std::vector<CSMWorld::UniversalId>&)), in TableSubView() 73 mBottom, SLOT(touchRequest(const std::vector<CSMWorld::UniversalId>&))); in TableSubView() 88 this, SLOT(createFilterRequest(std::vector<CSMWorld::UniversalId>&, Qt::DropAction))); in TableSubView() 118 void CSVWorld::TableSubView::cloneRequest(const CSMWorld::UniversalId& toClone) in cloneRequest() 132 CSMWorld::UniversalId::Type type = it->getType(); in createFilterRequest() [all …]
|
H A D | scriptedit.cpp | 63 <<CSMWorld::UniversalId::Type_Global in ScriptEdit() 64 <<CSMWorld::UniversalId::Type_Topic in ScriptEdit() 65 <<CSMWorld::UniversalId::Type_Sound in ScriptEdit() 66 <<CSMWorld::UniversalId::Type_Spell in ScriptEdit() 67 <<CSMWorld::UniversalId::Type_Cell in ScriptEdit() 72 <<CSMWorld::UniversalId::Type_Armor in ScriptEdit() 73 <<CSMWorld::UniversalId::Type_Book in ScriptEdit() 77 <<CSMWorld::UniversalId::Type_Door in ScriptEdit() 81 <<CSMWorld::UniversalId::Type_Light in ScriptEdit() 84 <<CSMWorld::UniversalId::Type_Npc in ScriptEdit() [all …]
|
H A D | referenceablecreator.cpp | 12 static_cast<CSMWorld::UniversalId::Type> (mType->itemData (mType->currentIndex()).toInt())); in configureCreateCommand() 16 const CSMWorld::UniversalId& id) in ReferenceableCreator() 22 … std::vector<CSMWorld::UniversalId::Type> types = CSMWorld::UniversalId::listReferenceableTypes(); in ReferenceableCreator() 26 for (std::vector<CSMWorld::UniversalId::Type>::const_iterator iter (types.begin()); in ReferenceableCreator() 29 CSMWorld::UniversalId id2 (*iter, ""); in ReferenceableCreator() 45 const CSMWorld::UniversalId::Type type) in cloneMode()
|
H A D | tableeditidaction.cpp | 22 mCurrentId(CSMWorld::UniversalId::Type_None) in TableEditIdAction() 28 CSMWorld::UniversalId::Type idType = CSMWorld::TableMimeData::convertEnums(data.first); in setCell() 30 if (idType != CSMWorld::UniversalId::Type_None) in setCell() 32 mCurrentId = CSMWorld::UniversalId(idType, data.second.toUtf8().constData()); in setCell() 37 CSMWorld::UniversalId CSVWorld::TableEditIdAction::getCurrentId() const in getCurrentId() 45 CSMWorld::UniversalId::Type idType = CSMWorld::TableMimeData::convertEnums(data.first); in isValidIdCell() 47 idType != CSMWorld::UniversalId::Type_None && in isValidIdCell()
|
H A D | creator.hpp | 34 const CSMWorld::UniversalId::Type type) = 0; 37 virtual void touch(const std::vector<CSMWorld::UniversalId>& ids) = 0; 65 …virtual Creator *makeCreator (CSMDoc::Document& document, const CSMWorld::UniversalId& id) const =… 77 … Creator *makeCreator (CSMDoc::Document& document, const CSMWorld::UniversalId& id) const override; 88 … Creator *makeCreator (CSMDoc::Document& document, const CSMWorld::UniversalId& id) const override; 97 const CSMWorld::UniversalId& id) const in makeCreator()
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/opencs/view/doc/ |
H A D | view.cpp | 593 …view = mSubViewFactory.makeSubView (CSMWorld::UniversalId(CSMWorld::UniversalId::Type_Referenceabl… in addSubView() 783 addSubView (CSMWorld::UniversalId::Type_Gmsts); in addGmstsSubView() 788 addSubView (CSMWorld::UniversalId::Type_Skills); in addSkillsSubView() 803 addSubView (CSMWorld::UniversalId::Type_Races); in addRacesSubView() 808 addSubView (CSMWorld::UniversalId::Type_Sounds); in addSoundsSubView() 833 addSubView (CSMWorld::UniversalId::Type_Cells); in addCellsSubView() 898 addSubView (CSMWorld::UniversalId::Type_Icons); in addIconsSubView() 938 addSubView (CSMWorld::UniversalId::Type_Lands); in addLandsSubView() 963 addSubView (CSMWorld::UniversalId (CSMWorld::UniversalId::Type_MetaData, "sys::meta")); in addMetaDataSubView() 1010 addSubView (CSMWorld::UniversalId (CSMWorld::UniversalId::Type_LoadErrorLog, 0)); in loadErrorLog() [all …]
|
H A D | subview.hpp | 27 CSMWorld::UniversalId mUniversalId; 35 void setUniversalId(const CSMWorld::UniversalId& id); 41 SubView (const CSMWorld::UniversalId& id); 43 CSMWorld::UniversalId getUniversalId() const; 61 void focusId (const CSMWorld::UniversalId& universalId, const std::string& hint); 69 void universalIdChanged (const CSMWorld::UniversalId& universalId);
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/opencs/model/tools/ |
H A D | tools.cpp | 68 CSMWorld::UniversalId (CSMWorld::UniversalId::Type_Globals), mandatoryIds)); in getVerifier() 87 …mData.getResources (CSMWorld::UniversalId::Type_Meshes), mData.getResources (CSMWorld::UniversalId… in getVerifier() 100 CSMWorld::UniversalId( CSMWorld::UniversalId::Type_Meshes )), in getVerifier() 182 CSMWorld::UniversalId CSMTools::Tools::runVerifier (const CSMWorld::UniversalId& reportId) in runVerifier() 194 return CSMWorld::UniversalId (CSMWorld::UniversalId::Type_VerificationResults, reportNumber); in runVerifier() 197 CSMWorld::UniversalId CSMTools::Tools::newSearch() in newSearch() 201 return CSMWorld::UniversalId (CSMWorld::UniversalId::Type_Search, mNextReportNumber-1); in newSearch() 264 CSMTools::ReportModel *CSMTools::Tools::getReport (const CSMWorld::UniversalId& id) in getReport() 266 if (id.getType()!=CSMWorld::UniversalId::Type_VerificationResults && in getReport() 267 id.getType()!=CSMWorld::UniversalId::Type_LoadErrorLog && in getReport() [all …]
|
H A D | topicinfocheck.cpp | 99 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_TopicInfo, topicInfo.mId); in perform() 180 …else if (index.second != CSMWorld::UniversalId::Type_Npc && index.second != CSMWorld::UniversalId:… in verifyActor() 258 case CSMWorld::UniversalId::Type_Potion: in verifyItem() 260 case CSMWorld::UniversalId::Type_Armor: in verifyItem() 261 case CSMWorld::UniversalId::Type_Book: in verifyItem() 262 case CSMWorld::UniversalId::Type_Clothing: in verifyItem() 264 case CSMWorld::UniversalId::Type_Light: in verifyItem() 265 case CSMWorld::UniversalId::Type_Lockpick: in verifyItem() 267 case CSMWorld::UniversalId::Type_Probe: in verifyItem() 268 case CSMWorld::UniversalId::Type_Repair: in verifyItem() [all …]
|
H A D | referenceablecheck.cpp | 257 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Book, book.mId); in bookCheck() 277 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Activator, activator.mId); in activatorCheck() 300 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Potion, potion.mId); in potionCheck() 344 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Armor, armor.mId); in armorCheck() 372 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Clothing, clothing.mId); in clothingCheck() 522 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Door, door.mId); in doorCheck() 602 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Light, light.mId); in lightCheck() 666 CSMWorld::UniversalId id (CSMWorld::UniversalId::Type_Npc, npc.mId); in npcCheck() 772 CSMWorld::UniversalId id (CSMWorld::UniversalId::Type_Weapon, weapon.mId); in weaponCheck() 850 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Probe, probe.mId); in probeCheck() [all …]
|
H A D | journalcheck.cpp | 58 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_JournalInfo, journalInfo.mId); in perform() 67 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_JournalInfo, journalInfo.mId); in perform() 74 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Journal, journal.mId); in perform() 79 CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Journal, journal.mId); in perform()
|
H A D | tools.hpp | 18 class UniversalId; 73 …CSMWorld::UniversalId runVerifier (const CSMWorld::UniversalId& reportId = CSMWorld::UniversalId()… 76 CSMWorld::UniversalId newSearch(); 78 void runSearch (const CSMWorld::UniversalId& searchId, const Search& search); 87 ReportModel *getReport (const CSMWorld::UniversalId& id);
|