OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
apps
opencs
model
world
ref.hpp
Go to the documentation of this file.
1
#ifndef CSM_WOLRD_REF_H
2
#define CSM_WOLRD_REF_H
3
4
#include <utility>
5
6
#include <
components/esm/cellref.hpp
>
7
8
namespace
CSMWorld
9
{
11
struct
CellRef
:
public
ESM::CellRef
12
{
13
std::string
mId
;
14
std::string
mCell
;
15
std::string
mOriginalCell
;
16
bool
mNew
;
// new reference, not counted yet, ref num not assigned yet
17
18
CellRef
();
19
21
std::pair<int, int>
getCellIndex
()
const
;
22
};
23
}
24
25
#endif
CSMWorld::CellRef::mNew
bool mNew
Definition:
ref.hpp:16
CSMWorld::CellRef::mOriginalCell
std::string mOriginalCell
Definition:
ref.hpp:15
CSMWorld::CellRef::CellRef
CellRef()
Definition:
ref.cpp:9
CSMWorld::CellRef::getCellIndex
std::pair< int, int > getCellIndex() const
Calculate cell index based on coordinates (x and y)
Definition:
ref.cpp:15
CSMWorld::CellRef::mId
std::string mId
Definition:
ref.hpp:13
CSMWorld::CellRef::mCell
std::string mCell
Definition:
ref.hpp:14
CSMWorld::CellRef
Wrapper for CellRef sub record.
Definition:
ref.hpp:11
ESM::CellRef
Definition:
cellref.hpp:34
cellref.hpp
Generated on Tue Jan 24 2017 02:05:48 for OpenMW by
1.8.6