#include using namespace std; #include "../esm_reader.hpp" #include "../records.hpp" int main(int argc, char**argv) { if(argc != 2) { cout << "Specify an ES file\n"; return 1; } ESMReader esm; esm.open(argv[1]); cout << "\nFile: " << argv[1] << endl; cout << "Author: " << esm.getAuthor() << endl; cout << "Description: " << esm.getDesc() << endl; cout << "File format version: " << esm.getFVer() << endl; cout << "Special flag: " << esm.getSpecial() << endl; cout << "Masters:\n"; ESMReader::MasterList m = esm.getMasters(); for(int i=0;i