2017-04-05 09:00:21 +00:00
|
|
|
#ifndef OPENMW_CELLCONTROLLER_HPP
|
|
|
|
#define OPENMW_CELLCONTROLLER_HPP
|
2016-11-15 16:42:52 +00:00
|
|
|
|
2016-12-16 09:27:19 +00:00
|
|
|
#include "../mwworld/cellstore.hpp"
|
|
|
|
|
2016-11-15 16:42:52 +00:00
|
|
|
namespace mwmp
|
|
|
|
{
|
2017-04-05 09:00:21 +00:00
|
|
|
class CellController
|
2016-11-15 16:42:52 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2017-04-05 09:00:21 +00:00
|
|
|
CellController();
|
|
|
|
~CellController();
|
2016-11-15 17:13:36 +00:00
|
|
|
|
2017-02-26 23:02:59 +00:00
|
|
|
int getCellSize() const;
|
|
|
|
|
|
|
|
virtual MWWorld::CellStore *getCell(const ESM::Cell& cell);
|
|
|
|
|
2016-12-16 09:27:19 +00:00
|
|
|
void openContainer(const MWWorld::Ptr& container, bool loot);
|
|
|
|
void closeContainer(const MWWorld::Ptr& container);
|
2016-11-15 16:42:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2017-04-05 09:00:21 +00:00
|
|
|
#endif //OPENMW_CELLCONTROLLER_HPP
|