#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 |
( |
| ) |
|
|
inline |
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
- Note
- We only check data types that can be loaded (present in mDataTypes)
void ESM::Land::loadData |
( |
int |
flags | ) |
const |
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::swap |
( |
Land & |
land | ) |
|
void ESM::Land::unloadData |
( |
| ) |
|
Frees memory allocated for land data
const int ESM::Land::DEFAULT_HEIGHT = -2048 |
|
static |
const int ESM::Land::HEIGHT_SCALE = 8 |
|
static |
const int ESM::Land::LAND_SIZE = 65 |
|
static |
const int ESM::Land::LAND_TEXTURE_SIZE = 16 |
|
static |
int ESM::Land::mDataLoaded |
|
mutableprivate |
int ESM::Land::mDataTypes |
OpenThreads::Mutex ESM::Land::mMutex |
|
mutableprivate |
const int ESM::Land::REAL_SIZE = 8192 |
|
static |
The documentation for this struct was generated from the following files:
- /home/travis/build/OpenMW/openmw/components/esm/loadland.hpp
- /home/travis/build/OpenMW/openmw/components/esm/loadland.cpp