1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 09:53:52 +00:00
openmw/apps/opencs/model/world/cell.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
512 B
C++
Raw Normal View History

2013-04-14 15:04:55 +00:00
#ifndef CSM_WOLRD_CELL_H
#define CSM_WOLRD_CELL_H
#include <string>
#include <components/esm3/loadcell.hpp>
2013-04-14 15:04:55 +00:00
2022-10-19 17:02:00 +00:00
namespace ESM
{
class ESMReader;
}
2013-04-14 15:04:55 +00:00
namespace CSMWorld
{
/// \brief Wrapper for Cell record
///
/// \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;
void load(ESM::ESMReader& esm, bool& isDeleted);
2013-04-14 15:04:55 +00:00
};
}
2015-03-11 14:54:45 +00:00
#endif