mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 05:47:57 +03:00
32 lines
607 B
C++
32 lines
607 B
C++
![]() |
#ifndef OPENMW_ESM_SSCR_H
|
||
|
#define OPENMW_ESM_SSCR_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
|
||
|
class ESMReader;
|
||
|
class ESMWriter;
|
||
|
|
||
|
/*
|
||
|
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;
|
||
|
std::string mId, mScript;
|
||
|
|
||
|
// Load a record and add it to the list
|
||
|
void load(ESMReader &esm);
|
||
|
void save(ESMWriter &esm);
|
||
|
};
|
||
|
|
||
|
}
|
||
|
#endif
|