OpenMW
|
Wrapper for Land record. Encodes X and Y cell index in the ID. More...
#include <land.hpp>
Public Member Functions | |
void | load (ESM::ESMReader &esm, bool &isDeleted) |
Loads the metadata and ID. More... | |
Public Member Functions inherited from ESM::Land | |
Land () | |
~Land () | |
void | load (ESMReader &esm, bool &isDeleted) |
void | save (ESMWriter &esm, bool isDeleted=false) const |
void | blank () |
void | loadData (int flags) const |
void | unloadData () |
bool | isDataLoaded (int flags) const |
Land (const Land &land) | |
Land & | operator= (Land land) |
void | swap (Land &land) |
const LandData * | getLandData (int flags) const |
const LandData * | getLandData () const |
Return land data without loading first anything. Can return a 0-pointer. More... | |
LandData * | getLandData () |
Return land data without loading first anything. Can return a 0-pointer. More... | |
void | add (int flags) |
void | remove (int flags) |
Public Attributes | |
std::string | mId |
Public Attributes inherited from ESM::Land | |
int | mFlags |
int | mX |
int | mY |
int | mPlugin |
ESM_Context | mContext |
int | mDataTypes |
Additional Inherited Members | |
Public Types inherited from ESM::Land | |
enum | { DATA_VNML = 1, DATA_VHGT = 2, DATA_WNAM = 4, DATA_VCLR = 8, DATA_VTEX = 16 } |
typedef signed char | VNML |
Static Public Member Functions inherited from ESM::Land | |
static std::string | getRecordType () |
Return a string descriptor for this record type. Currently used for debugging / error logs only. More... | |
Static Public Attributes inherited from ESM::Land | |
static unsigned int | sRecordId = REC_LAND |
static const int | DEFAULT_HEIGHT = -2048 |
static const int | LAND_SIZE = 65 |
static const int | REAL_SIZE = 8192 |
static const int | LAND_NUM_VERTS = LAND_SIZE * LAND_SIZE |
static const int | HEIGHT_SCALE = 8 |
static const int | LAND_TEXTURE_SIZE = 16 |
static const int | LAND_NUM_TEXTURES = LAND_TEXTURE_SIZE * LAND_TEXTURE_SIZE |
Wrapper for Land record. Encodes X and Y cell index in the ID.
void CSMWorld::Land::load | ( | ESM::ESMReader & | esm, |
bool & | isDeleted | ||
) |
Loads the metadata and ID.
std::string CSMWorld::Land::mId |