added logging facility and added a bunch of log messages.

This commit is contained in:
crs
2001-10-14 14:37:41 +00:00
parent 23f948d55a
commit 1ed2b43e13
8 changed files with 136 additions and 31 deletions

View File

@@ -87,3 +87,9 @@ CString CScreenMap::getNeighbor(const CString& srcName,
// return connection
return index->second.m_neighbor[srcSide - kFirstDirection];
}
const char* CScreenMap::dirName(EDirection dir)
{
static const char* s_name[] = { "left", "right", "top", "bottom" };
return s_name[dir - kFirstDirection];
}