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.
50 lines
701 B
C++
50 lines
701 B
C++
#ifndef OPENMW_ESM_CREC_H
|
|
#define OPENMW_ESM_CREC_H
|
|
|
|
#include <string>
|
|
|
|
// TODO create implementation files and remove this one
|
|
#include "esmreader.hpp"
|
|
|
|
namespace ESM {
|
|
|
|
class ESMReader;
|
|
class ESMWriter;
|
|
|
|
/* These two are only used in save games. They are not decoded yet.
|
|
*/
|
|
|
|
/// Changes a creature
|
|
struct LoadCREC
|
|
{
|
|
static unsigned int sRecordId;
|
|
|
|
std::string mId;
|
|
|
|
void load(ESMReader &esm)
|
|
{
|
|
esm.skipRecord();
|
|
}
|
|
|
|
void save(ESMWriter &esm) const
|
|
{
|
|
}
|
|
};
|
|
|
|
/// Changes an item list / container
|
|
struct LoadCNTC
|
|
{
|
|
std::string mId;
|
|
|
|
void load(ESMReader &esm)
|
|
{
|
|
esm.skipRecord();
|
|
}
|
|
|
|
void save(ESMWriter &esm) const
|
|
{
|
|
}
|
|
};
|
|
}
|
|
#endif
|