2013-04-14 17:04:55 +02:00
|
|
|
#ifndef CSM_WOLRD_CELL_H
|
|
|
|
#define CSM_WOLRD_CELL_H
|
|
|
|
|
2013-06-08 12:45:13 +02:00
|
|
|
#include <string>
|
|
|
|
|
2022-01-22 15:58:41 +01:00
|
|
|
#include <components/esm3/loadcell.hpp>
|
2013-04-14 17:04:55 +02:00
|
|
|
|
|
|
|
namespace CSMWorld
|
|
|
|
{
|
|
|
|
/// \brief Wrapper for Cell record
|
2014-04-13 14:16:59 +02:00
|
|
|
///
|
|
|
|
/// \attention The mData.mX and mData.mY fields of the ESM::Cell struct are not used.
|
|
|
|
/// Exterior cell coordinates are encoded in the cell ID.
|
2013-04-14 17:04:55 +02:00
|
|
|
struct Cell : public ESM::Cell
|
|
|
|
{
|
|
|
|
std::string mId;
|
|
|
|
|
2015-07-21 20:25:43 +03:00
|
|
|
void load (ESM::ESMReader &esm, bool &isDeleted);
|
2014-06-04 21:12:23 +02:00
|
|
|
|
2013-04-14 17:04:55 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2015-03-11 10:54:45 -04:00
|
|
|
#endif
|