1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-29 09:45:34 +00:00

Implements some cell params + linux compile fix

This commit is contained in:
florent.teppe 2023-01-23 13:50:41 +01:00
parent 562e129bd0
commit e81e278363

View file

@ -107,13 +107,13 @@ namespace ESM4
int getGridX() const override { return mX; } int getGridX() const override { return mX; }
int getGridY() const override { return mY; } int getGridY() const override { return mY; }
bool isExterior() const override { return false; /*unimplemented for now*/ } bool isExterior() const override { return !(mFlags & CELL_Interior); }
virtual bool isQuasiExterior() const override { return false; /*unimplemented for now*/ } virtual bool isQuasiExterior() const override { return mFlags & CELL_QuasiExt; }
virtual bool hasWater() const override { return false; /*unimplemented for now*/ } virtual bool hasWater() const override { return false; /*unimplemented for now*/ }
const ESM::CellId& getCellId() const override { return mCellId; } const ESM::CellId& getCellId() const override { return mCellId; }
const ESM::RefId& getRegion() const override { return ESM::RefId::sEmpty; } const ESM::RefId& getRegion() const override { return ESM::RefId::sEmpty; }
std::string_view getEditorName() const override { return mEditorId; } std::string_view getEditorName() const override { return mEditorId; }
std::string getDescription() const override { return mEditorId; }; std::string getDescription() const override { return mEditorId; }
}; };
} }