Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
#ifndef _ESM_CREC_H
|
|
|
|
#define _ESM_CREC_H
|
|
|
|
|
2012-04-08 11:51:52 +02:00
|
|
|
#include "record.hpp"
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
#include "esm_reader.hpp"
|
2012-04-06 21:04:30 +02:00
|
|
|
#include "esm_writer.hpp"
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
|
|
|
|
namespace ESM {
|
|
|
|
|
|
|
|
/* These two are only used in save games. They are not decoded yet.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/// Changes a creature
|
2012-04-08 11:51:52 +02:00
|
|
|
struct LoadCREC : public Record
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
{
|
2012-04-08 11:51:52 +02:00
|
|
|
void load(ESMReader &esm)
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
{
|
|
|
|
esm.skipRecord();
|
|
|
|
}
|
2012-04-06 21:04:30 +02:00
|
|
|
|
2012-04-08 11:51:52 +02:00
|
|
|
void save(ESMWriter &esm)
|
2012-04-06 21:04:30 +02:00
|
|
|
{
|
|
|
|
}
|
2012-04-08 11:51:52 +02:00
|
|
|
|
|
|
|
int getName() { return REC_CREC; }
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
/// Changes an item list / container
|
2012-04-08 11:51:52 +02:00
|
|
|
struct LoadCNTC : public Record
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
{
|
2012-04-08 11:51:52 +02:00
|
|
|
void load(ESMReader &esm)
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
{
|
|
|
|
esm.skipRecord();
|
|
|
|
}
|
2012-04-06 21:04:30 +02:00
|
|
|
|
2012-04-08 11:51:52 +02:00
|
|
|
void save(ESMWriter &esm)
|
2012-04-06 21:04:30 +02:00
|
|
|
{
|
|
|
|
}
|
2012-04-08 11:51:52 +02:00
|
|
|
|
|
|
|
int getName() { return REC_CNTC; }
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|