#define VCMI_DLL #include "../stdafx.h" #include "CArtHandler.h" #include "CLodHandler.h" #include #include #include "../lib/VCMI_Lib.h" extern CLodHandler *bitmaph; using namespace boost::assign; CArtHandler::CArtHandler() { VLC->arth = this; } void CArtHandler::loadArtifacts() { std::vector slots; slots += 17, 16, 15,14,13, 18, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0; std::map classes = map_list_of('S',SartClass)('T',TartClass)('N',NartClass)('J',JartClass)('R',RartClass); std::string buf = bitmaph->getTextFile("ARTRAITS.TXT"), dump, pom; int it=0; for(int i=0; i<2; ++i) { loadToIt(dump,buf,it,3); } for (int i=0; i