![]() |
Crossfire Resources Editor
|
#include <CREMapInformation.h>
Inheritance diagram for CREMapInformation:
Collaboration diagram for CREMapInformation:Public Member Functions | |
| QStringList | accessedFrom () const |
| void | addAccessedFrom (const QString &path) |
| void | addAnimation (const QString &anim) |
| void | addArchetype (const QString &archetype) |
| void | addExitTo (const QString &path) |
| void | addFace (const QString &face) |
| void | addMessage (const QString &message) |
| void | addQuest (const QString &quest) |
| void | addRandomMap (RandomMap *map) |
| QStringList | animations () const |
| QStringList | archetypes () const |
| const QString & | backgroundMusic () |
| int | computedDifficulty () const |
| CREMapInformation () | |
| CREMapInformation (const QString &path) | |
| int | difficulty () const |
| virtual QString | displayName () const override |
| QStringList | exitsTo () const |
| qint64 | experience () const |
| QStringList | faces () const |
| const QDateTime & | mapTime () const |
| QStringList | messages () const |
| const QString & | name () const |
| const QString & | path () const |
| QStringList | quests () const |
| QList< RandomMap * > | randomMaps () const |
| const QString & | region () const |
| const QString & | resetGroup () const |
| void | setBackgroundMusic (const QString &music) |
| void | setComputedDifficulty (int computed) |
| void | setDifficulty (int difficulty) |
| void | setExperience (qint64 experience) |
| void | setMapTime (const QDateTime &date) |
| void | setName (const QString &name) |
| void | setPath (const QString &path) |
| void | setRegion (const QString ®ion) |
| void | setResetGroup (const QString &resetGroup) |
| void | setShopGreed (double greed) |
| void | setShopMax (quint64 max) |
| void | setShopMin (quint64 min) |
| void | setShopRace (const QString &race) |
| double | shopGreed () const |
| QHash< QString, int > & | shopItems () |
| const QHash< QString, int > & | shopItems () const |
| quint64 | shopMax () const |
| quint64 | shopMin () const |
| const QString & | shopRace () const |
| QString | tooltip () const |
| virtual PossibleUse | uses (const AssetWrapper *asset, std::string &) const override |
| virtual | ~CREMapInformation () |
Public Member Functions inherited from AssetWrapper | |
| AssetWrapper (AssetWrapper *parent, const QString &panelName="empty") | |
| virtual bool | canDrag () const |
| virtual bool | canDrop (const QMimeData *, int) const |
| virtual bool | canExportAsCsv () const |
| virtual AssetWrapper * | child (int) |
| virtual int | childIndex (AssetWrapper *) |
| virtual int | childrenCount () const |
| virtual QIcon | displayIcon () const |
| virtual QString | displayPanelName () const |
| AssetWrapper * | displayParent () const |
| virtual void | drag (QMimeData *) const |
| virtual void | drop (const QMimeData *, int) |
| virtual void | exportAsCSV (const AssetWrapper *, QString &) const |
| virtual void | fillCsvHeader (QString &) const |
| virtual void | fillMenu (QMenu *) |
| void | markModified (ChangeType change, int extra=0) |
| AssetWrapper * | self () |
| void | setDisplayParent (AssetWrapper *parent) |
| virtual | ~AssetWrapper () override |
Protected Attributes | |
| QStringList | myAccessedFrom |
| QSet< QString > | myAnimations |
| QStringList | myArchetypes |
| QString | myBackgroundMusic |
| int | myComputedDifficulty |
| int | myDifficulty |
| QStringList | myExitsTo |
| qint64 | myExperience |
| QSet< QString > | myFaces |
| QDateTime | myMapTime |
| QStringList | myMessages |
| QString | myName |
| QString | myPath |
| QStringList | myQuests |
| QList< RandomMap * > | myRandomMaps |
| QString | myRegion |
| QString | myResetGroup |
| double | myShopGreed |
| QHash< QString, int > | myShopItems |
| quint64 | myShopMax |
| quint64 | myShopMin |
| QString | myShopRace |
Protected Attributes inherited from AssetWrapper | |
| QString | myPanelName |
| AssetWrapper * | myParent |
Properties | |
| QString | backgroundMusic |
| int | computedDifficulty |
| int | difficulty |
| qint64 | experience |
| QString | name |
| QString | path |
| QString | resetGroup |
| double | shopGreed |
| quint64 | shopMax |
| quint64 | shopMin |
| QString | shopRace |
Properties inherited from AssetWrapper | |
| QString | displayName |
| AssetWrapper | self |
Additional Inherited Members | |
Public Types inherited from AssetWrapper | |
| enum | ChangeType { AssetUpdated, BeforeChildAdd, AfterChildAdd, BeforeChildRemove, AfterChildRemove, BeforeLayoutChange, AfterLayoutChange } |
| enum | PossibleUse { Uses, ChildrenMayUse, DoesntUse } |
Public Slots inherited from AssetWrapper | |
| virtual void | removeChild (AssetWrapper *) |
Signals inherited from AssetWrapper | |
| void | dataModified (AssetWrapper *asset, AssetWrapper::ChangeType type, int extra) |
| void | modified () |
Static Public Member Functions inherited from AssetWrapper | |
| static bool | compareByDisplayName (const AssetWrapper *left, const AssetWrapper *right) |
Static Public Attributes inherited from AssetWrapper | |
| static const char * | tipProperty = "_cre_internal" |
Protected Member Functions inherited from AssetWrapper | |
| virtual void | wasModified (AssetWrapper *asset, ChangeType type, int extra) |
Definition at line 27 of file CREMapInformation.h.
| CREMapInformation::CREMapInformation | ( | ) |
Definition at line 21 of file CREMapInformation.cpp.
References myComputedDifficulty, myDifficulty, myExperience, myShopGreed, myShopMax, and myShopMin.
| CREMapInformation::CREMapInformation | ( | const QString & | path | ) |
Definition at line 31 of file CREMapInformation.cpp.
References myComputedDifficulty, myDifficulty, myExperience, myPath, myShopGreed, myShopMax, myShopMin, and path.
|
virtual |
Definition at line 42 of file CREMapInformation.cpp.
References myRandomMaps.
| QStringList CREMapInformation::accessedFrom | ( | ) | const |
Definition at line 146 of file CREMapInformation.cpp.
References myAccessedFrom.
Referenced by CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().
Here is the caller graph for this function:| void CREMapInformation::addAccessedFrom | ( | const QString & | path | ) |
Definition at line 151 of file CREMapInformation.cpp.
References myAccessedFrom, and path.
Referenced by CREMapInformationManager::checkItem(), CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::addAnimation | ( | const QString & | anim | ) |
Definition at line 120 of file CREMapInformation.cpp.
References myAnimations.
Referenced by CREMapInformationManager::checkItem(), and CREMapInformationManager::loadCache().
Here is the caller graph for this function:| void CREMapInformation::addArchetype | ( | const QString & | archetype | ) |
Definition at line 99 of file CREMapInformation.cpp.
References myArchetypes.
Referenced by CREMapInformationManager::checkItem(), and CREMapInformationManager::loadCache().
Here is the caller graph for this function:| void CREMapInformation::addExitTo | ( | const QString & | path | ) |
Definition at line 140 of file CREMapInformation.cpp.
References myExitsTo, and path.
Referenced by CREMapInformationManager::checkItem(), CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::addFace | ( | const QString & | face | ) |
Definition at line 110 of file CREMapInformation.cpp.
References myFaces.
Referenced by CREMapInformationManager::checkItem(), and CREMapInformationManager::loadCache().
Here is the caller graph for this function:| void CREMapInformation::addMessage | ( | const QString & | message | ) |
Definition at line 201 of file CREMapInformation.cpp.
References myMessages.
Referenced by CREMapInformationManager::checkEvent(), and CREMapInformationManager::loadCache().
Here is the caller graph for this function:| void CREMapInformation::addQuest | ( | const QString & | quest | ) |
Definition at line 212 of file CREMapInformation.cpp.
References myQuests.
Referenced by CREMapInformationManager::checkEvent(), and CREMapInformationManager::loadCache().
Here is the caller graph for this function:| void CREMapInformation::addRandomMap | ( | RandomMap * | map | ) |
Definition at line 273 of file CREMapInformation.cpp.
References myRandomMaps.
Referenced by CREMapInformationManager::checkItem(), and CREMapInformationManager::loadCache().
Here is the caller graph for this function:| QStringList CREMapInformation::animations | ( | ) | const |
Definition at line 115 of file CREMapInformation.cpp.
References myAnimations.
Referenced by CREMapInformationManager::storeCache().
Here is the caller graph for this function:| QStringList CREMapInformation::archetypes | ( | ) | const |
Definition at line 94 of file CREMapInformation.cpp.
References myArchetypes.
Referenced by CREMapInformationManager::storeCache().
Here is the caller graph for this function:| const QString& CREMapInformation::backgroundMusic | ( | ) |
| int CREMapInformation::computedDifficulty | ( | ) | const |
| int CREMapInformation::difficulty | ( | ) | const |
|
overridevirtual |
Implements AssetWrapper.
Definition at line 47 of file CREMapInformation.cpp.
References myName, and myPath.
Referenced by CRERandomMapPanel::updateItem().
Here is the caller graph for this function:| QStringList CREMapInformation::exitsTo | ( | ) | const |
Definition at line 135 of file CREMapInformation.cpp.
References myExitsTo.
Referenced by CREMapInformationManager::process(), CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().
Here is the caller graph for this function:| qint64 CREMapInformation::experience | ( | ) | const |
| QStringList CREMapInformation::faces | ( | ) | const |
Definition at line 105 of file CREMapInformation.cpp.
References myFaces.
Referenced by CREMapInformationManager::storeCache().
Here is the caller graph for this function:| const QDateTime & CREMapInformation::mapTime | ( | ) | const |
Definition at line 125 of file CREMapInformation.cpp.
References myMapTime.
Referenced by CREMapInformationManager::process(), and CREMapInformationManager::storeCache().
Here is the caller graph for this function:| QStringList CREMapInformation::messages | ( | ) | const |
Definition at line 196 of file CREMapInformation.cpp.
References myMessages.
Referenced by CREMapInformationManager::storeCache().
Here is the caller graph for this function:| const QString& CREMapInformation::name | ( | ) | const |
| const QString& CREMapInformation::path | ( | ) | const |
| QStringList CREMapInformation::quests | ( | ) | const |
Definition at line 207 of file CREMapInformation.cpp.
References myQuests.
Referenced by CREMapInformationManager::storeCache().
Here is the caller graph for this function:| QList< RandomMap * > CREMapInformation::randomMaps | ( | ) | const |
Definition at line 268 of file CREMapInformation.cpp.
References myRandomMaps.
Referenced by RandomMaps::mapAdded(), CREMainWindow::mapAdded(), CREMapInformationManager::randomMaps(), and CREMapInformationManager::storeCache().
Here is the caller graph for this function:| const QString & CREMapInformation::region | ( | ) | const |
Definition at line 187 of file CREMapInformation.cpp.
References myRegion.
Referenced by CREMapInformationManager::getMapsForRegion(), CREMainWindow::mapAdded(), setRegion(), and CREMapInformationManager::storeCache().
Here is the caller graph for this function:| const QString& CREMapInformation::resetGroup | ( | ) | const |
| void CREMapInformation::setBackgroundMusic | ( | const QString & | music | ) |
Definition at line 79 of file CREMapInformation.cpp.
References myBackgroundMusic.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::setComputedDifficulty | ( | int | computed | ) |
Definition at line 172 of file CREMapInformation.cpp.
References computedDifficulty, and myComputedDifficulty.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::setDifficulty | ( | int | difficulty | ) |
Definition at line 162 of file CREMapInformation.cpp.
References difficulty, and myDifficulty.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::setExperience | ( | qint64 | experience | ) |
Definition at line 182 of file CREMapInformation.cpp.
References experience, and myExperience.
Referenced by CREMapInformationManager::checkItem(), and CREMapInformationManager::loadCache().
Here is the caller graph for this function:| void CREMapInformation::setMapTime | ( | const QDateTime & | date | ) |
Definition at line 130 of file CREMapInformation.cpp.
References myMapTime.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::setName | ( | const QString & | name | ) |
Definition at line 69 of file CREMapInformation.cpp.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::setPath | ( | const QString & | path | ) |
Definition at line 59 of file CREMapInformation.cpp.
Referenced by CREMapInformationManager::loadCache().
Here is the caller graph for this function:| void CREMapInformation::setRegion | ( | const QString & | region | ) |
Definition at line 191 of file CREMapInformation.cpp.
References myRegion, and region().
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the call graph for this function:
Here is the caller graph for this function:| void CREMapInformation::setResetGroup | ( | const QString & | resetGroup | ) |
Definition at line 89 of file CREMapInformation.cpp.
References myResetGroup, and resetGroup.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::setShopGreed | ( | double | greed | ) |
Definition at line 233 of file CREMapInformation.cpp.
References myShopGreed.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::setShopMax | ( | quint64 | max | ) |
Definition at line 263 of file CREMapInformation.cpp.
References myShopMax.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::setShopMin | ( | quint64 | min | ) |
Definition at line 253 of file CREMapInformation.cpp.
References myShopMin.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| void CREMapInformation::setShopRace | ( | const QString & | race | ) |
Definition at line 243 of file CREMapInformation.cpp.
References myShopRace.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
Here is the caller graph for this function:| double CREMapInformation::shopGreed | ( | ) | const |
| const QHash< QString, int > & CREMapInformation::shopItems | ( | ) |
Definition at line 218 of file CREMapInformation.cpp.
References myShopItems.
Referenced by buildShopReport(), CREMapInformationManager::loadCache(), CREMainWindow::onReportShops(), CREMapInformationManager::process(), and CREMapInformationManager::storeCache().
Here is the caller graph for this function:| const QHash<QString, int>& CREMapInformation::shopItems | ( | ) | const |
| quint64 CREMapInformation::shopMax | ( | ) | const |
| quint64 CREMapInformation::shopMin | ( | ) | const |
| const QString& CREMapInformation::shopRace | ( | ) | const |
|
inlinevirtual |
Reimplemented from AssetWrapper.
Definition at line 58 of file CREMapInformation.h.
References myPath.
|
overridevirtual |
Reimplemented from AssetWrapper.
Definition at line 278 of file CREMapInformation.cpp.
References AssetWrapper::DoesntUse, ScriptFile::forMap(), myAnimations, myArchetypes, myFaces, myQuests, myRandomMaps, and AssetWrapper::Uses.
Here is the call graph for this function:
|
protected |
Definition at line 125 of file CREMapInformation.h.
Referenced by accessedFrom(), and addAccessedFrom().
|
protected |
Definition at line 122 of file CREMapInformation.h.
Referenced by addAnimation(), animations(), and uses().
|
protected |
Definition at line 120 of file CREMapInformation.h.
Referenced by addArchetype(), archetypes(), and uses().
|
protected |
Definition at line 137 of file CREMapInformation.h.
Referenced by setBackgroundMusic().
|
protected |
Definition at line 127 of file CREMapInformation.h.
Referenced by CREMapInformation(), and setComputedDifficulty().
|
protected |
Definition at line 126 of file CREMapInformation.h.
Referenced by CREMapInformation(), and setDifficulty().
|
protected |
Definition at line 124 of file CREMapInformation.h.
Referenced by addExitTo(), and exitsTo().
|
protected |
Definition at line 128 of file CREMapInformation.h.
Referenced by CREMapInformation(), and setExperience().
|
protected |
Definition at line 121 of file CREMapInformation.h.
|
protected |
Definition at line 123 of file CREMapInformation.h.
Referenced by mapTime(), and setMapTime().
|
protected |
Definition at line 130 of file CREMapInformation.h.
Referenced by addMessage(), and messages().
|
protected |
Definition at line 119 of file CREMapInformation.h.
Referenced by displayName(), and setName().
|
protected |
Definition at line 118 of file CREMapInformation.h.
Referenced by CREMapInformation(), displayName(), setPath(), and tooltip().
|
protected |
Definition at line 131 of file CREMapInformation.h.
Referenced by addQuest(), quests(), and uses().
|
protected |
Definition at line 136 of file CREMapInformation.h.
Referenced by addRandomMap(), randomMaps(), uses(), and ~CREMapInformation().
|
protected |
Definition at line 129 of file CREMapInformation.h.
Referenced by region(), and setRegion().
|
protected |
Definition at line 138 of file CREMapInformation.h.
Referenced by setResetGroup().
|
protected |
Definition at line 133 of file CREMapInformation.h.
Referenced by CREMapInformation(), and setShopGreed().
|
protected |
Definition at line 132 of file CREMapInformation.h.
Referenced by shopItems().
|
protected |
Definition at line 135 of file CREMapInformation.h.
Referenced by CREMapInformation(), and setShopMax().
|
protected |
Definition at line 135 of file CREMapInformation.h.
Referenced by CREMapInformation(), and setShopMin().
|
protected |
Definition at line 134 of file CREMapInformation.h.
Referenced by setShopRace().
|
read |
Definition at line 37 of file CREMapInformation.h.
Referenced by CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().
|
read |
Definition at line 34 of file CREMapInformation.h.
Referenced by setComputedDifficulty(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 33 of file CREMapInformation.h.
Referenced by CREMapInformationManager::process(), setDifficulty(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 35 of file CREMapInformation.h.
Referenced by CREMapInformationManager::checkItem(), CREMapInformationManager::process(), setExperience(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 32 of file CREMapInformation.h.
Referenced by buildShopReport(), CREMapInformationManager::checkEvent(), CREMainWindow::onReportResetGroups(), setName(), CREMapInformationManager::storeCache(), and CREMapPanel::updateItem().
|
read |
Definition at line 31 of file CREMapInformation.h.
Referenced by addAccessedFrom(), addExitTo(), buildShopReport(), CREMapInformationManager::checkEvent(), CREMapInformation(), RandomMap::displayName(), CREMainWindow::onReportResetGroups(), setPath(), CREMapInformationManager::storeCache(), and CREMessagePanel::updateItem().
|
read |
Definition at line 36 of file CREMapInformation.h.
Referenced by setResetGroup(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 38 of file CREMapInformation.h.
Referenced by buildShopReport(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 41 of file CREMapInformation.h.
Referenced by buildShopReport(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 40 of file CREMapInformation.h.
Referenced by buildShopReport(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 39 of file CREMapInformation.h.
Referenced by buildShopReport(), and CREMapInformationManager::storeCache().