2012-09-23 18:11:08 +00:00
|
|
|
#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!
2010-02-21 12:20:17 +00:00
|
|
|
|
2012-09-17 07:37:50 +00:00
|
|
|
// TODO create implementation files and remove this one
|
2012-09-23 18:41:41 +00:00
|
|
|
#include "esmreader.hpp"
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
|
|
|
|
namespace ESM {
|
|
|
|
|
2012-09-30 20:51:54 +00:00
|
|
|
class ESMReader;
|
|
|
|
class ESMWriter;
|
|
|
|
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
/* These two are only used in save games. They are not decoded yet.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/// Changes a creature
|
2012-09-30 19:34:53 +00:00
|
|
|
struct LoadCREC
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
{
|
2012-04-08 09:51:52 +00: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 12:20:17 +00:00
|
|
|
{
|
|
|
|
esm.skipRecord();
|
|
|
|
}
|
2012-04-06 19:04:30 +00:00
|
|
|
|
2012-04-08 09:51:52 +00:00
|
|
|
void save(ESMWriter &esm)
|
2012-04-06 19:04:30 +00:00
|
|
|
{
|
|
|
|
}
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/// Changes an item list / container
|
2012-09-30 19:34:53 +00:00
|
|
|
struct LoadCNTC
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
{
|
2012-04-08 09:51:52 +00: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 12:20:17 +00:00
|
|
|
{
|
|
|
|
esm.skipRecord();
|
|
|
|
}
|
2012-04-06 19:04:30 +00:00
|
|
|
|
2012-04-08 09:51:52 +00:00
|
|
|
void save(ESMWriter &esm)
|
2012-04-06 19:04:30 +00:00
|
|
|
{
|
|
|
|
}
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|