1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-10 12:39:53 +00:00
OpenMW/components/esm/loaddoor.hpp

22 lines
338 B
C++
Raw Normal View History

2010-02-19 09:12:49 +01:00
#ifndef _ESM_DOOR_H
#define _ESM_DOOR_H
#include "record.hpp"
2010-02-19 09:12:49 +01:00
#include "esm_reader.hpp"
#include "esm_writer.hpp"
2010-02-19 09:12:49 +01:00
namespace ESM
{
2010-02-19 14:23:22 +01:00
struct Door : public Record
2010-02-19 09:12:49 +01:00
{
std::string name, model, script, openSound, closeSound;
2010-02-19 09:12:49 +01:00
void load(ESMReader &esm);
void save(ESMWriter &esm);
int getName() { return REC_DOOR; }
2010-02-19 09:12:49 +01:00
};
2010-02-19 14:23:22 +01:00
}
2010-02-19 09:12:49 +01:00
#endif