mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
f1a58994c6
Conflicts: apps/opencs/model/world/columns.hpp apps/opencs/model/world/commands.cpp apps/opencs/model/world/commands.hpp apps/opencs/model/world/ref.cpp apps/opencs/view/world/dialoguesubview.cpp apps/opencs/view/world/dialoguesubview.hpp apps/opencs/view/world/util.cpp components/esm/cellref.hpp
25 lines
461 B
C++
25 lines
461 B
C++
#ifndef CSM_WOLRD_REF_H
|
|
#define CSM_WOLRD_REF_H
|
|
|
|
#include <utility>
|
|
|
|
#include <components/esm/cellref.hpp>
|
|
|
|
namespace CSMWorld
|
|
{
|
|
/// \brief Wrapper for CellRef sub record
|
|
struct CellRef : public ESM::CellRef
|
|
{
|
|
std::string mId;
|
|
std::string mCell;
|
|
std::string mOriginalCell;
|
|
|
|
CellRef();
|
|
|
|
/// Calculate cell index based on coordinates (x and y)
|
|
std::pair<int, int> getCellIndex() const;
|
|
};
|
|
}
|
|
|
|
#endif
|