1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/components/esm/loadsndg.hpp

40 lines
553 B
C++
Raw Normal View History

2012-09-23 22:11:08 +04:00
#ifndef OPENMW_ESM_SNDG_H
#define OPENMW_ESM_SNDG_H
2012-09-17 11:37:50 +04:00
#include <string>
namespace ESM
{
2012-10-01 00:51:54 +04:00
class ESMReader;
class ESMWriter;
/*
* Sound generator. This describes the sounds a creature make.
*/
struct SoundGenerator
{
enum Type
{
LeftFoot = 0,
RightFoot = 1,
SwimLeft = 2,
SwimRight = 3,
Moan = 4,
Roar = 5,
Scream = 6,
Land = 7
};
// Type
2012-09-17 11:37:50 +04:00
int mType;
std::string mId, mCreature, mSound;
void load(ESMReader &esm);
void save(ESMWriter &esm);
};
}
#endif