You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
404 B
C++
23 lines
404 B
C++
15 years ago
|
#ifndef _ESM_DOOR_H
|
||
|
#define _ESM_DOOR_H
|
||
|
|
||
|
#include "esm_reader.hpp"
|
||
|
|
||
15 years ago
|
namespace ESM {
|
||
|
|
||
15 years ago
|
struct Door
|
||
|
{
|
||
|
std::string name, model, script, openSound, closeSound;
|
||
|
|
||
|
void load(ESMReader &esm)
|
||
|
{
|
||
|
model = esm.getHNString("MODL");
|
||
|
name = esm.getHNOString("FNAM");
|
||
|
script = esm.getHNOString("SCRI");
|
||
|
openSound = esm.getHNOString("SNAM");
|
||
|
closeSound = esm.getHNOString("ANAM");
|
||
|
}
|
||
|
};
|
||
15 years ago
|
}
|
||
15 years ago
|
#endif
|