mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-10 03:39:55 +00:00
Some more forward-declaring for OpenMW-CS
This commit is contained in:
parent
f2c5060cc0
commit
cfcaf4528f
@ -1,4 +1,5 @@
|
||||
|
||||
#include "cell.hpp"
|
||||
#include "idcollection.hpp"
|
||||
#include "pathgrid.hpp"
|
||||
|
||||
#include <sstream>
|
||||
|
@ -6,11 +6,14 @@
|
||||
|
||||
#include <components/esm/loadpgrd.hpp>
|
||||
|
||||
#include "idcollection.hpp"
|
||||
#include "cell.hpp"
|
||||
|
||||
namespace CSMWorld
|
||||
{
|
||||
struct Cell;
|
||||
template<typename T>
|
||||
struct IdAccessor;
|
||||
template<typename T, typename AT = IdAccessor<T>>
|
||||
class IdCollection;
|
||||
|
||||
/// \brief Wrapper for Pathgrid record
|
||||
///
|
||||
/// \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
|
||||
#define CSM_WOLRD_SUBCOLLECTION_H
|
||||
|
||||
#include "idcollection.hpp"
|
||||
namespace ESM
|
||||
{
|
||||
class ESMReader;
|
||||
}
|
||||
|
||||
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
|
||||
template<typename ESXRecordT, typename IdAccessorT = IdAccessor<ESXRecordT> >
|
||||
class SubCellCollection : public IdCollection<ESXRecordT, IdAccessorT>
|
||||
|
Loading…
x
Reference in New Issue
Block a user