1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

* part of that code was used

* version changedto 0.51

I chyba będę już to releasował.
This commit is contained in:
Michał W. Urbańczyk 2008-02-03 05:50:39 +00:00
parent bd7d5d2687
commit 10c67209fb
2 changed files with 12 additions and 12 deletions

View File

@ -57,7 +57,7 @@
#endif
#define CHUNK 16384
const char * NAME = "VCMI 0.5 \"Tirion\" Techdemo";
const char * NAME = "VCMI 0.51 \"Tirion\" Techdemo";
SDL_Surface * ekran, * screen, * screen2;
TTF_Font * TNRB16, *TNR, *GEOR13, *GEORXX, *GEORM, *GEOR16;

View File

@ -2363,17 +2363,17 @@ borderguardend:
//assigning defobjinfos
//for(int ww=0; ww<CGI->objh->objInstances.size(); ++ww)
//{
// for(int h=0; h<CGI->dobjinfo->objs.size(); ++h)
// {
// if(CGI->dobjinfo->objs[h].defName==CGI->objh->objInstances[ww]->defInfo->name)
// {
// CGI->objh->objInstances[ww]->defObjInfoNumber = h;
// break;
// }
// }
//}
for(int ww=0; ww<CGI->objh->objInstances.size(); ++ww)
{
for(int h=0; h<CGI->dobjinfo->objs.size(); ++h)
{
if(CGI->dobjinfo->objs[h].defName==CGI->objh->objInstances[ww]->defInfo->name)
{
CGI->objh->objInstances[ww]->defObjInfoNumber = h;
break;
}
}
}
THC std::cout<<"\tHandling defs: "<<th.getDif()<<std::endl;
//for(int ww=0; ww<CGI->objh->objInstances.size(); ++ww)