OpenMW
|
#include <loadcell.hpp>
Classes | |
struct | AMBIstruct |
struct | DATAstruct |
Public Types | |
enum | Flags { Interior = 0x01, HasWater = 0x02, NoSleep = 0x04, QuasiEx = 0x80 } |
Public Member Functions | |
Cell () | |
void | postLoad (ESMReader &esm) |
void | load (ESMReader &esm, bool &isDeleted, bool saveContext=true) |
void | loadNameAndData (ESMReader &esm, bool &isDeleted) |
void | loadCell (ESMReader &esm, bool saveContext=true) |
void | save (ESMWriter &esm, bool isDeleted=false) const |
bool | isExterior () const |
int | getGridX () const |
int | getGridY () const |
bool | hasWater () const |
void | restore (ESMReader &esm, int iCtx) const |
std::string | getDescription () const |
Return a short string describing the cell (mostly used for debugging/logging purpose) More... | |
void | blank () |
Set record to default state (does not touch the ID/index). More... | |
const CellId & | getCellId () const |
Static Public Member Functions | |
static std::string | getRecordType () |
Return a string descriptor for this record type. Currently used for debugging / error logs only. More... | |
static bool | getNextRef (ESMReader &esm, CellRef &ref, bool &isDeleted, bool ignoreMoves=false, MovedCellRef *mref=0) |
static bool | getNextMVRF (ESMReader &esm, MovedCellRef &mref) |
Public Attributes | |
std::string | mName |
std::string | mRegion |
std::vector< ESM_Context > | mContextList |
DATAstruct | mData |
CellId | mCellId |
AMBIstruct | mAmbi |
float | mWater |
bool | mWaterInt |
int | mMapColor |
int | mRefNumCounter |
CellRefTracker | mLeasedRefs |
MovedCellRefTracker | mMovedRefs |
Static Public Attributes | |
static unsigned int | sRecordId = REC_CELL |
enum ESM::Cell::Flags |
|
inline |
void ESM::Cell::blank | ( | ) |
Set record to default state (does not touch the ID/index).
const CellId & ESM::Cell::getCellId | ( | ) | const |
std::string ESM::Cell::getDescription | ( | ) | const |
Return a short string describing the cell (mostly used for debugging/logging purpose)
|
inline |
|
inline |
|
static |
|
static |
ignoreMoves | ignore MVRF record and read reference like a regular CellRef. |
|
inlinestatic |
Return a string descriptor for this record type. Currently used for debugging / error logs only.
|
inline |
|
inline |
void ESM::Cell::postLoad | ( | ESMReader & | esm | ) |
AMBIstruct ESM::Cell::mAmbi |
CellId ESM::Cell::mCellId |
std::vector<ESM_Context> ESM::Cell::mContextList |
DATAstruct ESM::Cell::mData |
CellRefTracker ESM::Cell::mLeasedRefs |
int ESM::Cell::mMapColor |
MovedCellRefTracker ESM::Cell::mMovedRefs |
std::string ESM::Cell::mName |
int ESM::Cell::mRefNumCounter |
std::string ESM::Cell::mRegion |
float ESM::Cell::mWater |
bool ESM::Cell::mWaterInt |