OpenMW
apps/opencs/model/world/cell.hpp
Go to the documentation of this file.
00001 #ifndef CSM_WOLRD_CELL_H
00002 #define CSM_WOLRD_CELL_H
00003 
00004 #include <vector>
00005 #include <string>
00006 
00007 #include <components/esm/loadcell.hpp>
00008 
00009 namespace CSMWorld
00010 {
00012     struct Cell : public ESM::Cell
00013     {
00014         std::string mId;
00015         std::vector<std::pair<std::string, bool> > mRefs; // ID, modified
00016         std::vector<std::string> mDeletedRefs;
00017 
00018         void load (ESM::ESMReader &esm);
00019 
00020         void addRef (const std::string& id);
00021     };
00022 }
00023 
00024 #endif