#include "stdafx.h" #include "CGameInfo.h" #include "CCreatureHandler.h" void CCreatureHandler::loadCreatures() { std::string buf = CGameInfo::mainObj->bitmaph->getTextFile("ZCRTRAIT.TXT"); int andame = buf.size(); int i=0; //buf iterator int hmcr=0; for(i; i190 && buf.substr(i, buf.size()-i).find('\r')==std::string::npos) { loadAnimationInfo(); //loadUnitAnimations(); break; } CCreature ncre; int befi=i; for(i; ibitmaph->getTextFile("CRANIM.TXT"); int andame = buf.size(); int i=0; //buf iterator int hmcr=0; for(i; ispriteh->giveDef(defName); else creatures[s].battleAnimation = NULL; i+=2; } }