#include <loadland.hpp>
|
static std::string | getRecordType () |
| Return a string descriptor for this record type. Currently used for debugging / error logs only. More...
|
|
Enumerator |
---|
DATA_VNML |
|
DATA_VHGT |
|
DATA_WNAM |
|
DATA_VCLR |
|
DATA_VTEX |
|
ESM::Land::Land |
( |
const Land & |
land | ) |
|
void ESM::Land::add |
( |
int |
flags | ) |
|
- Attention
- Must not be called on objects that aren't fully loaded.
- Note
- Added data fields will be uninitialised
void ESM::Land::blank |
( |
| ) |
|
Loads data and marks it as loaded
- Returns
- true if data is actually loaded from file, false otherwise including the case when data is already loaded
Return land data with at least the data types specified in flags loaded (if they are available). Will return a 0-pointer if there is no data for any of the specified types.
Return land data without loading first anything. Can return a 0-pointer.
Return land data without loading first anything. Can return a 0-pointer.
static std::string ESM::Land::getRecordType |
( |
| ) |
|
|
inlinestatic |
Return a string descriptor for this record type. Currently used for debugging / error logs only.
bool ESM::Land::isDataLoaded |
( |
int |
flags | ) |
const |
Check if given data type is loaded.
void ESM::Land::loadData |
( |
int |
flags, |
|
|
LandData * |
target = NULL |
|
) |
| const |
Actually loads data into target If target is NULL, assumed target is mLandData
Land & ESM::Land::operator= |
( |
Land |
land | ) |
|
void ESM::Land::remove |
( |
int |
flags | ) |
|
- Attention
- Must not be called on objects that aren't fully loaded.
void ESM::Land::save |
( |
ESMWriter & |
esm, |
|
|
bool |
isDeleted = false |
|
) |
| const |
void ESM::Land::setDataLoaded |
( |
int |
flags | ) |
|
Sets the flags and creates a LandData if needed.
void ESM::Land::swap |
( |
Land & |
land | ) |
|
void ESM::Land::unloadData |
( |
| ) |
const |
Frees memory allocated for mLandData
const int ESM::Land::DEFAULT_HEIGHT = -2048 |
|
static |
const int ESM::Land::HEIGHT_SCALE = 8 |
|
static |
const int ESM::Land::LAND_GLOBAL_MAP_LOD_SIZE = 81 |
|
static |
const int ESM::Land::LAND_SIZE = 65 |
|
static |
const int ESM::Land::LAND_TEXTURE_SIZE = 16 |
|
static |
int ESM::Land::mDataTypes |
The documentation for this struct was generated from the following files: