OpenMW
|
00001 #ifndef OPENMW_ESM_CREC_H 00002 #define OPENMW_ESM_CREC_H 00003 00004 #include <string> 00005 00006 // TODO create implementation files and remove this one 00007 #include "esmreader.hpp" 00008 00009 namespace ESM { 00010 00011 class ESMReader; 00012 class ESMWriter; 00013 00014 /* These two are only used in save games. They are not decoded yet. 00015 */ 00016 00018 struct LoadCREC 00019 { 00020 static unsigned int sRecordId; 00021 00022 std::string mId; 00023 00024 void load(ESMReader &esm) 00025 { 00026 esm.skipRecord(); 00027 } 00028 00029 void save(ESMWriter &esm) const 00030 { 00031 } 00032 }; 00033 00035 struct LoadCNTC 00036 { 00037 std::string mId; 00038 00039 void load(ESMReader &esm) 00040 { 00041 esm.skipRecord(); 00042 } 00043 00044 void save(ESMWriter &esm) const 00045 { 00046 } 00047 }; 00048 } 00049 #endif