1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

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

28 lines
511 B
C++
Raw Normal View History

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