Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
#ifndef _ESM_SSCR_H
|
|
|
|
#define _ESM_SSCR_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "record.hpp"
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
|
|
|
|
/*
|
|
|
|
Startup script. I think this is simply a 'main' script that is run
|
|
|
|
from the begining. The SSCR records contain a DATA identifier which
|
|
|
|
is totally useless (TODO: don't remember what it contains exactly,
|
|
|
|
document it below later.), and a NAME which is simply a script
|
|
|
|
reference.
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
*/
|
|
|
|
|
|
|
|
struct StartScript : public Record
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
{
|
|
|
|
std::string mScript;
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
|
|
|
|
// Load a record and add it to the list
|
|
|
|
void load(ESMReader &esm);
|
|
|
|
void save(ESMWriter &esm);
|
|
|
|
|
|
|
|
int getName() { return REC_SSCR; }
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
15 years ago
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif
|