#include #include #include #include #include "WorldController.hpp" #include "Main.hpp" mwmp::WorldController::WorldController() { } mwmp::WorldController::~WorldController() { } MWWorld::CellStore *mwmp::WorldController::getCell(const ESM::Cell& cell) { MWWorld::CellStore *cellStore; if (cell.isExterior()) cellStore = MWBase::Environment::get().getWorld()->getExterior(cell.mData.mX, cell.mData.mY); else cellStore = MWBase::Environment::get().getWorld()->getInterior(cell.mName); return cellStore; }