mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 10:53:54 +00:00
20da0892ef
Slowly moving through the open-cs errors Good progress in openCS Very good progress on openCS Getting closer with openCS OpenCS compiles and runs! Didn't have time to test it all though ix openMW everything compiles on windows?? Fix gcc Fix Clang
36 lines
823 B
C++
36 lines
823 B
C++
#ifndef CSM_WOLRD_PATHGRID_H
|
|
#define CSM_WOLRD_PATHGRID_H
|
|
|
|
#include <string>
|
|
|
|
#include <components/esm3/loadpgrd.hpp>
|
|
#include <components/esm/refid.hpp>
|
|
|
|
namespace ESM
|
|
{
|
|
class ESMReader;
|
|
}
|
|
|
|
namespace CSMWorld
|
|
{
|
|
struct Cell;
|
|
template <typename T, typename AT>
|
|
class IdCollection;
|
|
|
|
template <typename ESXRecordT>
|
|
struct IdAccessor;
|
|
|
|
/// \brief Wrapper for Pathgrid record
|
|
///
|
|
/// \attention The mData.mX and mData.mY fields of the ESM::Pathgrid struct are not used.
|
|
/// Exterior cell coordinates are encoded in the pathgrid ID.
|
|
struct Pathgrid : public ESM::Pathgrid
|
|
{
|
|
ESM::RefId mId;
|
|
|
|
void load(ESM::ESMReader& esm, bool& isDeleted, const IdCollection<Cell, IdAccessor<Cell>>& cells);
|
|
void load(ESM::ESMReader& esm, bool& isDeleted);
|
|
};
|
|
}
|
|
|
|
#endif
|