1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

Code cleaning/refactoring

This commit is contained in:
Michał W. Urbańczyk
2008-06-07 17:16:52 +00:00
parent 608dc62ee8
commit feaa2396a6
24 changed files with 579 additions and 967 deletions

View File

@ -12,15 +12,6 @@ int readNormalNr (unsigned char * bufor, int pos, int bytCon = 4)
}
return ret;
}
bool DefInfo::isVisitable()
{
for (int i=6; i<12; i++)
{
if (bytes[i])
return true;
}
return false;
}
CMapHeader::CMapHeader(unsigned char *map)
{
this->version = (Eformat)map[0]; //wersja mapy