forked from mirror/openmw-tes3mp
Some more forward-declaring for OpenMW-CS
This commit is contained in:
parent
f2c5060cc0
commit
cfcaf4528f
3 changed files with 18 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
||||||
|
#include "cell.hpp"
|
||||||
|
#include "idcollection.hpp"
|
||||||
#include "pathgrid.hpp"
|
#include "pathgrid.hpp"
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
|
@ -6,11 +6,14 @@
|
||||||
|
|
||||||
#include <components/esm/loadpgrd.hpp>
|
#include <components/esm/loadpgrd.hpp>
|
||||||
|
|
||||||
#include "idcollection.hpp"
|
|
||||||
#include "cell.hpp"
|
|
||||||
|
|
||||||
namespace CSMWorld
|
namespace CSMWorld
|
||||||
{
|
{
|
||||||
|
struct Cell;
|
||||||
|
template<typename T>
|
||||||
|
struct IdAccessor;
|
||||||
|
template<typename T, typename AT = IdAccessor<T>>
|
||||||
|
class IdCollection;
|
||||||
|
|
||||||
/// \brief Wrapper for Pathgrid record
|
/// \brief Wrapper for Pathgrid record
|
||||||
///
|
///
|
||||||
/// \attention The mData.mX and mData.mY fields of the ESM::Pathgrid struct are not used.
|
/// \attention The mData.mX and mData.mY fields of the ESM::Pathgrid struct are not used.
|
||||||
|
|
|
@ -1,10 +1,19 @@
|
||||||
#ifndef CSM_WOLRD_SUBCOLLECTION_H
|
#ifndef CSM_WOLRD_SUBCOLLECTION_H
|
||||||
#define CSM_WOLRD_SUBCOLLECTION_H
|
#define CSM_WOLRD_SUBCOLLECTION_H
|
||||||
|
|
||||||
#include "idcollection.hpp"
|
namespace ESM
|
||||||
|
{
|
||||||
|
class ESMReader;
|
||||||
|
}
|
||||||
|
|
||||||
namespace CSMWorld
|
namespace CSMWorld
|
||||||
{
|
{
|
||||||
|
struct Cell;
|
||||||
|
template<typename T>
|
||||||
|
struct IdAccessor;
|
||||||
|
template<typename T, typename AT = IdAccessor<T>>
|
||||||
|
class IdCollection;
|
||||||
|
|
||||||
/// \brief Single type collection of top level records that are associated with cells
|
/// \brief Single type collection of top level records that are associated with cells
|
||||||
template<typename ESXRecordT, typename IdAccessorT = IdAccessor<ESXRecordT> >
|
template<typename ESXRecordT, typename IdAccessorT = IdAccessor<ESXRecordT> >
|
||||||
class SubCellCollection : public IdCollection<ESXRecordT, IdAccessorT>
|
class SubCellCollection : public IdCollection<ESXRecordT, IdAccessorT>
|
||||||
|
|
Loading…
Reference in a new issue