|
|
|
#ifndef OPENMW_ESM_CREC_H
|
|
|
|
#define OPENMW_ESM_CREC_H
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
|
|
|
|
#include "record.hpp"
|
|
|
|
|
|
|
|
// TODO create implementation files and remove this one
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
#include "esm_reader.hpp"
|
|
|
|
|
|
|
|
namespace ESM {
|
|
|
|
|
|
|
|
/* These two are only used in save games. They are not decoded yet.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/// Changes a creature
|
|
|
|
struct LoadCREC : public Record
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
{
|
|
|
|
void load(ESMReader &esm)
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
{
|
|
|
|
esm.skipRecord();
|
|
|
|
}
|
|
|
|
|
|
|
|
void save(ESMWriter &esm)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
int getName() { return REC_CREC; }
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
};
|
|
|
|
|
|
|
|
/// Changes an item list / container
|
|
|
|
struct LoadCNTC : public Record
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
{
|
|
|
|
void load(ESMReader &esm)
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
{
|
|
|
|
esm.skipRecord();
|
|
|
|
}
|
|
|
|
|
|
|
|
void save(ESMWriter &esm)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
int getName() { return REC_CNTC; }
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|