mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 09:45:38 +00:00
f4587e48f3
(cherry picked from commit 13bb6be238
)
Conflicts:
apps/opencs/model/doc/savingstages.cpp
apps/opencs/model/world/land.cpp
apps/opencs/model/world/land.hpp
apps/opencs/model/world/landtexture.cpp
23 lines
541 B
C++
23 lines
541 B
C++
#ifndef CSM_WORLD_LAND_H
|
|
#define CSM_WORLD_LAND_H
|
|
|
|
#include <string>
|
|
|
|
#include <components/esm/loadland.hpp>
|
|
|
|
namespace CSMWorld
|
|
{
|
|
/// \brief Wrapper for Land record. Encodes X and Y cell index in the ID.
|
|
///
|
|
/// \todo Add worldspace support to the Land record.
|
|
/// \todo Add a proper copy constructor (currently worked around using shared_ptr)
|
|
struct Land : public ESM::Land
|
|
{
|
|
std::string mId;
|
|
|
|
/// Loads the metadata and ID
|
|
void load (ESM::ESMReader &esm, bool &isDeleted);
|
|
};
|
|
}
|
|
|
|
#endif
|