You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
392 B
C++
25 lines
392 B
C++
11 years ago
|
#ifndef OPENMW_ESM_CELLSTATE_H
|
||
|
#define OPENMW_ESM_CELLSTATE_H
|
||
|
|
||
|
#include "cellid.hpp"
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
class ESMReader;
|
||
|
class ESMWriter;
|
||
|
|
||
|
// format 0, saved games only
|
||
|
|
||
|
/// \note Does not include references
|
||
|
struct CellState
|
||
|
{
|
||
|
CellId mId;
|
||
|
|
||
|
float mWaterLevel;
|
||
|
|
||
|
void load (ESMReader &esm);
|
||
|
void save (ESMWriter &esm) const;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|