1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00
Marc Zinnschlag 94ec05c2c6 Revert "simplifying CSMWorld::CellRef"
With the refactored collection class we can now handle the more complex load function

This reverts commit 97f421df8a5a3f6e4803001af8014355128d8523.
2013-06-18 11:27:05 +02:00

26 lines
435 B
C++

#ifndef CSM_WOLRD_REF_H
#define CSM_WOLRD_REF_H
#include <components/esm/cellref.hpp>
namespace ESM
{
class ESMReader;
}
namespace CSMWorld
{
class Cell;
/// \brief Wrapper for CellRef sub record
struct CellRef : public ESM::CellRef
{
std::string mId;
void load (ESM::ESMReader &esm, Cell& cell, const std::string& id);
///< Load cell ref and register it with \a cell.
};
}
#endif