1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 21:42:13 +00:00
OpenMW/components/esm/loaddoor.hpp

22 lines
322 B
C++
Raw Normal View History

2012-09-23 18:11:08 +00:00
#ifndef OPENMW_ESM_DOOR_H
#define OPENMW_ESM_DOOR_H
2010-02-19 08:12:49 +00:00
2012-09-17 07:37:50 +00:00
#include <string>
#include "record.hpp"
2010-02-19 08:12:49 +00:00
namespace ESM
{
2010-02-19 13:23:22 +00:00
struct Door : public Record
2010-02-19 08:12:49 +00:00
{
2012-09-17 07:37:50 +00:00
std::string mName, mModel, mScript, mOpenSound, mCloseSound;
2010-02-19 08:12:49 +00:00
void load(ESMReader &esm);
void save(ESMWriter &esm);
int getName() { return REC_DOOR; }
2010-02-19 08:12:49 +00:00
};
2010-02-19 13:23:22 +00:00
}
2010-02-19 08:12:49 +00:00
#endif