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>
|
|
|
|
|
2012-04-08 09:51:52 +00:00
|
|
|
#include "record.hpp"
|
2010-02-19 08:12:49 +00:00
|
|
|
|
2011-04-08 13:58:21 +00:00
|
|
|
namespace ESM
|
|
|
|
{
|
2010-02-19 13:23:22 +00:00
|
|
|
|
2012-09-30 19:34:53 +00:00
|
|
|
struct Door
|
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
|
|
|
|
2011-04-08 13:58:21 +00:00
|
|
|
void load(ESMReader &esm);
|
2012-04-06 19:04:30 +00:00
|
|
|
void save(ESMWriter &esm);
|
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
|