|
|
|
@ -272,39 +272,39 @@ namespace ESSImport
|
|
|
|
|
const unsigned int recJOUR = ESM::fourCC("JOUR");
|
|
|
|
|
const unsigned int recSPLM = ESM::fourCC("SPLM");
|
|
|
|
|
|
|
|
|
|
std::map<unsigned int, std::shared_ptr<Converter> > converters;
|
|
|
|
|
converters[ESM::REC_GLOB] = std::shared_ptr<Converter>(new ConvertGlobal());
|
|
|
|
|
converters[ESM::REC_BOOK] = std::shared_ptr<Converter>(new ConvertBook());
|
|
|
|
|
converters[ESM::REC_NPC_] = std::shared_ptr<Converter>(new ConvertNPC());
|
|
|
|
|
converters[ESM::REC_CREA] = std::shared_ptr<Converter>(new ConvertCREA());
|
|
|
|
|
converters[ESM::REC_NPCC] = std::shared_ptr<Converter>(new ConvertNPCC());
|
|
|
|
|
converters[ESM::REC_CREC] = std::shared_ptr<Converter>(new ConvertCREC());
|
|
|
|
|
converters[recREFR ] = std::shared_ptr<Converter>(new ConvertREFR());
|
|
|
|
|
converters[recPCDT ] = std::shared_ptr<Converter>(new ConvertPCDT());
|
|
|
|
|
converters[recFMAP ] = std::shared_ptr<Converter>(new ConvertFMAP());
|
|
|
|
|
converters[recKLST ] = std::shared_ptr<Converter>(new ConvertKLST());
|
|
|
|
|
converters[recSTLN ] = std::shared_ptr<Converter>(new ConvertSTLN());
|
|
|
|
|
converters[recGAME ] = std::shared_ptr<Converter>(new ConvertGAME());
|
|
|
|
|
converters[ESM::REC_CELL] = std::shared_ptr<Converter>(new ConvertCell());
|
|
|
|
|
converters[ESM::REC_ALCH] = std::shared_ptr<Converter>(new DefaultConverter<ESM::Potion>());
|
|
|
|
|
converters[ESM::REC_CLAS] = std::shared_ptr<Converter>(new ConvertClass());
|
|
|
|
|
converters[ESM::REC_SPEL] = std::shared_ptr<Converter>(new DefaultConverter<ESM::Spell>());
|
|
|
|
|
converters[ESM::REC_ARMO] = std::shared_ptr<Converter>(new DefaultConverter<ESM::Armor>());
|
|
|
|
|
converters[ESM::REC_WEAP] = std::shared_ptr<Converter>(new DefaultConverter<ESM::Weapon>());
|
|
|
|
|
converters[ESM::REC_CLOT] = std::shared_ptr<Converter>(new DefaultConverter<ESM::Clothing>());
|
|
|
|
|
converters[ESM::REC_ENCH] = std::shared_ptr<Converter>(new DefaultConverter<ESM::Enchantment>());
|
|
|
|
|
converters[ESM::REC_WEAP] = std::shared_ptr<Converter>(new DefaultConverter<ESM::Weapon>());
|
|
|
|
|
converters[ESM::REC_LEVC] = std::shared_ptr<Converter>(new DefaultConverter<ESM::CreatureLevList>());
|
|
|
|
|
converters[ESM::REC_LEVI] = std::shared_ptr<Converter>(new DefaultConverter<ESM::ItemLevList>());
|
|
|
|
|
converters[ESM::REC_CNTC] = std::shared_ptr<Converter>(new ConvertCNTC());
|
|
|
|
|
converters[ESM::REC_FACT] = std::shared_ptr<Converter>(new ConvertFACT());
|
|
|
|
|
converters[ESM::REC_INFO] = std::shared_ptr<Converter>(new ConvertINFO());
|
|
|
|
|
converters[ESM::REC_DIAL] = std::shared_ptr<Converter>(new ConvertDIAL());
|
|
|
|
|
converters[ESM::REC_QUES] = std::shared_ptr<Converter>(new ConvertQUES());
|
|
|
|
|
converters[recJOUR ] = std::shared_ptr<Converter>(new ConvertJOUR());
|
|
|
|
|
converters[ESM::REC_SCPT] = std::shared_ptr<Converter>(new ConvertSCPT());
|
|
|
|
|
converters[ESM::REC_PROJ] = std::shared_ptr<Converter>(new ConvertPROJ());
|
|
|
|
|
converters[recSPLM] = std::shared_ptr<Converter>(new ConvertSPLM());
|
|
|
|
|
std::map<unsigned int, std::unique_ptr<Converter>> converters;
|
|
|
|
|
converters[ESM::REC_GLOB] = std::unique_ptr<Converter>(new ConvertGlobal());
|
|
|
|
|
converters[ESM::REC_BOOK] = std::unique_ptr<Converter>(new ConvertBook());
|
|
|
|
|
converters[ESM::REC_NPC_] = std::unique_ptr<Converter>(new ConvertNPC());
|
|
|
|
|
converters[ESM::REC_CREA] = std::unique_ptr<Converter>(new ConvertCREA());
|
|
|
|
|
converters[ESM::REC_NPCC] = std::unique_ptr<Converter>(new ConvertNPCC());
|
|
|
|
|
converters[ESM::REC_CREC] = std::unique_ptr<Converter>(new ConvertCREC());
|
|
|
|
|
converters[recREFR ] = std::unique_ptr<Converter>(new ConvertREFR());
|
|
|
|
|
converters[recPCDT ] = std::unique_ptr<Converter>(new ConvertPCDT());
|
|
|
|
|
converters[recFMAP ] = std::unique_ptr<Converter>(new ConvertFMAP());
|
|
|
|
|
converters[recKLST ] = std::unique_ptr<Converter>(new ConvertKLST());
|
|
|
|
|
converters[recSTLN ] = std::unique_ptr<Converter>(new ConvertSTLN());
|
|
|
|
|
converters[recGAME ] = std::unique_ptr<Converter>(new ConvertGAME());
|
|
|
|
|
converters[ESM::REC_CELL] = std::unique_ptr<Converter>(new ConvertCell());
|
|
|
|
|
converters[ESM::REC_ALCH] = std::unique_ptr<Converter>(new DefaultConverter<ESM::Potion>());
|
|
|
|
|
converters[ESM::REC_CLAS] = std::unique_ptr<Converter>(new ConvertClass());
|
|
|
|
|
converters[ESM::REC_SPEL] = std::unique_ptr<Converter>(new DefaultConverter<ESM::Spell>());
|
|
|
|
|
converters[ESM::REC_ARMO] = std::unique_ptr<Converter>(new DefaultConverter<ESM::Armor>());
|
|
|
|
|
converters[ESM::REC_WEAP] = std::unique_ptr<Converter>(new DefaultConverter<ESM::Weapon>());
|
|
|
|
|
converters[ESM::REC_CLOT] = std::unique_ptr<Converter>(new DefaultConverter<ESM::Clothing>());
|
|
|
|
|
converters[ESM::REC_ENCH] = std::unique_ptr<Converter>(new DefaultConverter<ESM::Enchantment>());
|
|
|
|
|
converters[ESM::REC_WEAP] = std::unique_ptr<Converter>(new DefaultConverter<ESM::Weapon>());
|
|
|
|
|
converters[ESM::REC_LEVC] = std::unique_ptr<Converter>(new DefaultConverter<ESM::CreatureLevList>());
|
|
|
|
|
converters[ESM::REC_LEVI] = std::unique_ptr<Converter>(new DefaultConverter<ESM::ItemLevList>());
|
|
|
|
|
converters[ESM::REC_CNTC] = std::unique_ptr<Converter>(new ConvertCNTC());
|
|
|
|
|
converters[ESM::REC_FACT] = std::unique_ptr<Converter>(new ConvertFACT());
|
|
|
|
|
converters[ESM::REC_INFO] = std::unique_ptr<Converter>(new ConvertINFO());
|
|
|
|
|
converters[ESM::REC_DIAL] = std::unique_ptr<Converter>(new ConvertDIAL());
|
|
|
|
|
converters[ESM::REC_QUES] = std::unique_ptr<Converter>(new ConvertQUES());
|
|
|
|
|
converters[recJOUR ] = std::unique_ptr<Converter>(new ConvertJOUR());
|
|
|
|
|
converters[ESM::REC_SCPT] = std::unique_ptr<Converter>(new ConvertSCPT());
|
|
|
|
|
converters[ESM::REC_PROJ] = std::unique_ptr<Converter>(new ConvertPROJ());
|
|
|
|
|
converters[recSPLM] = std::unique_ptr<Converter>(new ConvertSPLM());
|
|
|
|
|
|
|
|
|
|
// TODO:
|
|
|
|
|
// - REGN (weather in certain regions?)
|
|
|
|
|