Something went wrong. Try again.
OpenMW is an open implementation of the Morrowind engine
Something went wrong. Try again.
589 B · 28 lines
C++
1234567891011121314151617181920212223242526272829#ifndef OPENMW_ESM_GLOBALSCRIPT_H#define OPENMW_ESM_GLOBALSCRIPT_H
#include "cellref.hpp"#include "components/esm/refid.hpp"#include "locals.hpp"
namespace ESM{ class ESMReader; class ESMWriter;
/// \brief Storage structure for global script state (only used in saved games)
struct GlobalScript { RefId mId; /// \note must be lowercase Locals mLocals; bool mRunning; RefId mTargetId; // for targeted scripts RefNum mTargetRef;
void load(ESMReader& esm); void save(ESMWriter& esm) const; };}
#endif