mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
a2c42ab5a2
esm_reader.hpp loadacti.hpp loadalch.hpp loadappa.hpp loadarmo.hpp loadbody.hpp loadbook.hpp loadbsgn.hpp loadcell.hpp loadclas.hpp loadclot.hpp loadland.hpp Updated code style in defs.hpp
28 lines
475 B
C++
28 lines
475 B
C++
#ifndef _ESM_LAND_H
|
|
#define _ESM_LAND_H
|
|
|
|
#include "esm_reader.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
/*
|
|
* Landscape data.
|
|
*/
|
|
|
|
struct Land
|
|
{
|
|
int flags; // Only first four bits seem to be used, don't know what
|
|
// they mean.
|
|
int X, Y; // Map coordinates.
|
|
|
|
// File context. This allows the ESM reader to be 'reset' to this
|
|
// location later when we are ready to load the full data set.
|
|
ESM_Context context;
|
|
|
|
bool hasData;
|
|
|
|
void load(ESMReader &esm);
|
|
};
|
|
}
|
|
#endif
|