 |
Crossfire Resources Editor
|
Go to the documentation of this file.
13 #ifndef REGION_WRAPPER_H
14 #define REGION_WRAPPER_H
47 QString
jailPath()
const {
auto reg =
myWrappedItem;
while (reg && !reg->jailmap) { reg = reg->parent; }
return reg ? reg->jailmap :
""; }
48 int jailX()
const {
auto reg =
myWrappedItem;
while (reg && !reg->jailmap) { reg = reg->parent; }
return reg ? reg->jailx : 0; }
49 int jailY()
const {
auto reg =
myWrappedItem;
while (reg && !reg->jailmap) { reg = reg->parent; }
return reg ? reg->jaily : 0; }
Class managing all assets, tracking in which file they are, which are modified, and such.
QString shortName() const
virtual AssetWrapper * child(int index) override
virtual int childIndex(AssetWrapper *child) override
Base class for all assets that can be displayed or edited by CRE.
QList< CREMapInformation * > myMaps
virtual QString displayName() const override
void mapBrowsingFinished()
virtual int childrenCount() const override
ResourcesManager * myResourcesManager
virtual PossibleUse uses(const AssetWrapper *asset, std::string &) const override
Base class for assets mapping to a native Crossfire structure.