#include "../stdafx.h" #include "CArtHandler.h" #include "../CGameInfo.h" #include "CGeneralTextHandler.h" #include "CLodHandler.h" void CArtHandler::loadArtifacts() { artDefs = CGI->spriteh->giveDef("ARTIFACT.DEF"); std::string buf = CGameInfo::mainObj->bitmaph->getTextFile("ARTRAITS.TXT"); int it=0; std::string dump; for(int i=0; i<2; ++i) { CGeneralTextHandler::loadToIt(dump,buf,it,3); } for (int i=0; i