1 #ifndef OPENMW_ESM_CELL_H
2 #define OPENMW_ESM_CELL_H
53 bool operator() (
const std::pair<CellRef, bool>& refdelPair) {
return refdelPair.first ==
mRefNum; }
129 void load(
ESMReader &esm,
bool &isDeleted,
bool saveContext =
true);
175 bool ignoreMoves =
false,
Color mAmbient
Definition: loadcell.hpp:87
void postLoad(ESMReader &esm)
Definition: loadcell.cpp:155
Definition: loadcell.hpp:28
float mFogDensity
Definition: loadcell.hpp:88
AMBIstruct mAmbi
Definition: loadcell.hpp:110
int mY
Definition: loadcell.hpp:82
Definition: loadcell.hpp:72
bool operator==(const CellId &left, const CellId &right)
Definition: cellid.cpp:29
int mFlags
Definition: loadcell.hpp:81
Definition: esmreader.hpp:21
static bool getNextRef(ESMReader &esm, CellRef &ref, bool &isDeleted, bool ignoreMoves=false, MovedCellRef *mref=0)
Definition: loadcell.cpp:218
Flags
Definition: loadcell.hpp:70
Color mSunlight
Definition: loadcell.hpp:87
Definition: loadcell.hpp:74
Color mFog
Definition: loadcell.hpp:87
CellId mCellId
Definition: loadcell.hpp:108
std::string mName
Definition: loadcell.hpp:101
Definition: loadcell.hpp:75
void save(ESMWriter &esm, bool isDeleted=false) const
Definition: loadcell.cpp:162
static bool getNextMVRF(ESMReader &esm, MovedCellRef &mref)
Definition: loadcell.cpp:255
int getGridX() const
Definition: loadcell.hpp:140
Definition: esmwriter.hpp:17
CellRefTracker mLeasedRefs
Definition: loadcell.hpp:122
std::string getDescription() const
Return a short string describing the cell (mostly used for debugging/logging purpose) ...
Definition: loadcell.cpp:204
Definition: cellref.hpp:14
DATAstruct mData
Definition: loadcell.hpp:107
std::list< std::pair< CellRef, bool > > CellRefTracker
Definition: loadcell.hpp:46
RefNum mRefNum
Definition: loadcell.hpp:50
void load(ESMReader &esm, bool &isDeleted, bool saveContext=true)
Definition: loadcell.cpp:55
bool mWaterInt
Definition: loadcell.hpp:113
Definition: loadcell.hpp:48
RefNum mRefNum
Definition: loadcell.hpp:31
bool hasWater() const
Definition: loadcell.hpp:150
void loadCell(ESMReader &esm, bool saveContext=true)
Definition: loadcell.cpp:111
float mWater
Definition: loadcell.hpp:112
Definition: cellref.hpp:34
Definition: loadcell.hpp:64
Definition: loadcell.hpp:79
void blank()
Set record to default state (does not touch the ID/index).
Definition: loadcell.cpp:265
const CellId & getCellId() const
Definition: loadcell.cpp:284
int mMapColor
Definition: loadcell.hpp:114
int mRefNumCounter
Definition: loadcell.hpp:118
uint32_t Color
Definition: defs.hpp:18
int mTarget[2]
Definition: loadcell.hpp:34
bool isExterior() const
Definition: loadcell.hpp:135
bool operator()(const std::pair< CellRef, bool > &refdelPair)
Definition: loadcell.hpp:53
int getGridY() const
Definition: loadcell.hpp:145
static unsigned int sRecordId
Definition: loadcell.hpp:66
Cell()
Definition: loadcell.hpp:91
Definition: loadcell.hpp:73
CellRefTrackerPredicate(const RefNum &refNum)
Definition: loadcell.hpp:52
std::list< MovedCellRef > MovedCellRefTracker
Definition: loadcell.hpp:45
static std::string getRecordType()
Return a string descriptor for this record type. Currently used for debugging / error logs only...
Definition: loadcell.hpp:68
std::string mRegion
Definition: loadcell.hpp:104
MovedCellRefTracker mMovedRefs
Definition: loadcell.hpp:123
Definition: loadcell.hpp:85
int mX
Definition: loadcell.hpp:82
Definition: cellid.hpp:11
void loadNameAndData(ESMReader &esm, bool &isDeleted)
Definition: loadcell.cpp:61
std::vector< ESM_Context > mContextList
Definition: loadcell.hpp:106
void restore(ESMReader &esm, int iCtx) const
Definition: loadcell.cpp:199