You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/apps/opencs/model/world/cell.hpp

28 lines
511 B
C++

#ifndef CSM_WOLRD_CELL_H
#define CSM_WOLRD_CELL_H
#include <string>
#include <components/esm3/loadcell.hpp>
namespace ESM
{
class ESMReader;
}
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.
struct Cell : public ESM::Cell
{
ESM::RefId mId;
void load(ESM::ESMReader& esm, bool& isDeleted);
};
}
#endif