1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 17:49:55 +00:00
openmw-tes3mp/components/esm/loadsscr.hpp

31 lines
590 B
C++
Raw Normal View History

2012-09-23 18:11:08 +00:00
#ifndef OPENMW_ESM_SSCR_H
#define OPENMW_ESM_SSCR_H
2012-09-17 07:37:50 +00:00
#include <string>
#include "record.hpp"
namespace ESM
{
/*
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.
*/
struct StartScript
{
std::string mData;
2012-09-17 07:37:50 +00:00
std::string mScript;
// Load a record and add it to the list
void load(ESMReader &esm);
void save(ESMWriter &esm);
};
}
#endif