OpenMW
|
00001 #ifndef OPENMW_ESM_SNDG_H 00002 #define OPENMW_ESM_SNDG_H 00003 00004 #include <string> 00005 00006 namespace ESM 00007 { 00008 00009 class ESMReader; 00010 class ESMWriter; 00011 00012 /* 00013 * Sound generator. This describes the sounds a creature make. 00014 */ 00015 00016 struct SoundGenerator 00017 { 00018 static unsigned int sRecordId; 00019 00020 enum Type 00021 { 00022 LeftFoot = 0, 00023 RightFoot = 1, 00024 SwimLeft = 2, 00025 SwimRight = 3, 00026 Moan = 4, 00027 Roar = 5, 00028 Scream = 6, 00029 Land = 7 00030 }; 00031 00032 // Type 00033 int mType; 00034 00035 std::string mId, mCreature, mSound; 00036 00037 void load(ESMReader &esm); 00038 void save(ESMWriter &esm) const; 00039 }; 00040 } 00041 #endif