OpenMW
|
#include <loadcell.hpp>
Classes | |
struct | AMBIstruct |
struct | DATAstruct |
Public Types | |
enum | Flags { Interior = 0x01, HasWater = 0x02, NoSleep = 0x04, QuasiEx = 0x80 } |
Public Member Functions | |
void | preLoad (ESMReader &esm) |
void | postLoad (ESMReader &esm) |
void | load (ESMReader &esm, bool saveContext=true) |
void | save (ESMWriter &esm) 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) | |
void | blank () |
Set record to default state (does not touch the ID/index). | |
Static Public Member Functions | |
static bool | getNextRef (ESMReader &esm, CellRef &ref) |
static bool | getNextMVRF (ESMReader &esm, MovedCellRef &mref) |
Public Attributes | |
std::string | mName |
std::string | mRegion |
std::vector< ESM_Context > | mContextList |
DATAstruct | mData |
AMBIstruct | mAmbi |
float | mWater |
bool | mWaterInt |
int | mMapColor |
int | mNAM0 |
CellRefTracker | mLeasedRefs |
MovedCellRefTracker | mMovedRefs |
Static Public Attributes | |
static unsigned int | sRecordId = REC_CELL |
enum ESM::Cell::Flags |
void ESM::Cell::blank | ( | ) |
Set record to default state (does not touch the ID/index).
std::string ESM::Cell::getDescription | ( | ) | const |
Return a short string describing the cell (mostly used for debugging/logging purpose)
int ESM::Cell::getGridX | ( | ) | const [inline] |
int ESM::Cell::getGridY | ( | ) | const [inline] |
bool ESM::Cell::getNextMVRF | ( | ESMReader & | esm, |
MovedCellRef & | mref | ||
) | [static] |
bool ESM::Cell::getNextRef | ( | ESMReader & | esm, |
CellRef & | ref | ||
) | [static] |
bool ESM::Cell::hasWater | ( | ) | const [inline] |
bool ESM::Cell::isExterior | ( | ) | const [inline] |
void ESM::Cell::load | ( | ESMReader & | esm, |
bool | saveContext = true |
||
) |
void ESM::Cell::postLoad | ( | ESMReader & | esm | ) |
void ESM::Cell::preLoad | ( | ESMReader & | esm | ) |
void ESM::Cell::restore | ( | ESMReader & | esm, |
int | iCtx | ||
) | const |
void ESM::Cell::save | ( | ESMWriter & | esm | ) | const |
std::vector<ESM_Context> ESM::Cell::mContextList |
int ESM::Cell::mNAM0 |
std::string ESM::Cell::mName |
std::string ESM::Cell::mRegion |
float ESM::Cell::mWater |
bool ESM::Cell::mWaterInt |
unsigned int ESM::Cell::sRecordId = REC_CELL [static] |