OpenMW
|
00001 #ifndef OPENMW_ESM_SOUN_H 00002 #define OPENMW_ESM_SOUN_H 00003 00004 #include <string> 00005 00006 namespace ESM 00007 { 00008 00009 class ESMReader; 00010 class ESMWriter; 00011 00012 struct SOUNstruct 00013 { 00014 unsigned char mVolume, mMinRange, mMaxRange; 00015 }; 00016 00017 struct Sound 00018 { 00019 static unsigned int sRecordId; 00020 00021 SOUNstruct mData; 00022 std::string mId, mSound; 00023 00024 void load(ESMReader &esm); 00025 void save(ESMWriter &esm) const; 00026 00027 void blank(); 00029 }; 00030 } 00031 #endif