//#define VCMI_DLL //#include "../stdafx.h" //#include "CAmbarCendamo.h" //#include "CObjectHandler.h" //#include "CDefObjInfoHandler.h" //#include //#include //#include //#include "../lib/VCMI_Lib.h" //std::string nameFromType (EterrainType typ); //int readInt(unsigned char * bufor, int bytCon) //{ // int ret=0; // int amp=1; // for (int i=0; i open(tie,std::ios::binary); //// is->seekg(0,std::ios::end); // na koniec //// int andame = is->tellg(); // read length //// is->seekg(0,std::ios::beg); // wracamy na poczatek //// bufor = new unsigned char[andame]; // allocate memory //// is->read((char*)bufor, andame); // read map file to buffer //// is->close(); //// delete is; ////} //CAmbarCendamo::~CAmbarCendamo () //{// free memory // for (int ii=0;ii