2010-02-19 08:12:49 +00:00
|
|
|
#ifndef _ESM_DOOR_H
|
|
|
|
#define _ESM_DOOR_H
|
|
|
|
|
|
|
|
#include "esm_reader.hpp"
|
2012-04-06 19:04:30 +00:00
|
|
|
#include "esm_writer.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
|
|
|
|
2010-02-19 08:12:49 +00:00
|
|
|
struct Door
|
|
|
|
{
|
2011-04-08 13:58:21 +00:00
|
|
|
std::string name, model, script, openSound, closeSound;
|
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
|