mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
41 lines
580 B
C++
41 lines
580 B
C++
#ifndef _ESM_SNDG_H
|
|
#define _ESM_SNDG_H
|
|
|
|
#include <string>
|
|
|
|
#include "record.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
/*
|
|
* Sound generator. This describes the sounds a creature make.
|
|
*/
|
|
|
|
struct SoundGenerator : public Record
|
|
{
|
|
enum Type
|
|
{
|
|
LeftFoot = 0,
|
|
RightFoot = 1,
|
|
SwimLeft = 2,
|
|
SwimRight = 3,
|
|
Moan = 4,
|
|
Roar = 5,
|
|
Scream = 6,
|
|
Land = 7
|
|
};
|
|
|
|
// Type
|
|
int mType;
|
|
|
|
std::string mCreature, mSound;
|
|
|
|
void load(ESMReader &esm);
|
|
void save(ESMWriter &esm);
|
|
|
|
int getName() { return REC_SNDG; }
|
|
};
|
|
}
|
|
#endif
|