2013-04-14 15:04:55 +00:00
|
|
|
#ifndef CSM_WOLRD_CELL_H
|
|
|
|
#define CSM_WOLRD_CELL_H
|
|
|
|
|
2014-06-04 19:12:23 +00:00
|
|
|
#include <vector>
|
2013-06-08 10:45:13 +00:00
|
|
|
#include <string>
|
|
|
|
|
2013-04-14 15:04:55 +00:00
|
|
|
#include <components/esm/loadcell.hpp>
|
|
|
|
|
|
|
|
namespace CSMWorld
|
|
|
|
{
|
|
|
|
/// \brief Wrapper for Cell record
|
2014-04-13 12:16:59 +00: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 15:04:55 +00:00
|
|
|
struct Cell : public ESM::Cell
|
|
|
|
{
|
|
|
|
std::string mId;
|
|
|
|
|
2014-05-23 07:32:34 +00:00
|
|
|
void load (ESM::ESMReader &esm);
|
2014-06-04 19:12:23 +00:00
|
|
|
|
2013-04-14 15:04:55 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2015-03-11 14:54:45 +00:00
|
|
|
#endif
|