Something went wrong. Try again.
OpenMW is an open implementation of the Morrowind engine
Something went wrong. Try again.
1234567891011121314151617#include "ref.hpp"
#include <components/esm/defs.hpp>
#include "cellcoordinates.hpp"
CSMWorld::CellRef::CellRef() : mNew(true) , mIdNum(0){}
std::pair<int, int> CSMWorld::CellRef::getCellIndex() const{ return CellCoordinates::coordinatesToCellIndex(mPos.pos[0], mPos.pos[1]);}