huge cleanup and conversion of most string handling (especially paths) to unicode

please note: format strings must be %hs for char* arguments and %ls for
wchar_t*

This was SVN commit r7161.
This commit is contained in:
janwas
2009-11-03 21:46:35 +00:00
parent a46f3432f3
commit 8a52113e60
317 changed files with 2517 additions and 2588 deletions
+3 -3
View File
@@ -145,7 +145,7 @@ void CAStarEngine::TAStarTest()
debug_printf("Entity position: %f %f %f\n", tempHandle->m_position.X,tempHandle->m_position.Y,tempHandle->m_position.Z);
debug_printf(L"Entity position: %f %f %f\n", tempHandle->m_position.X,tempHandle->m_position.Y,tempHandle->m_position.Z);
CBoundingObject* m_bounds = tempHandle->m_bounds;
@@ -178,7 +178,7 @@ void CAStarEngine::TAStarTest()
if(tempHandler->m_bound_type == CBoundingOjbect::BOUND_OABB)
{
debug_printf("Entity bound box: %f\n", tempHandler->m_bound_box.m_v);
debug_printf(L"Entity bound box: %f\n", tempHandler->m_bound_box.m_v);
}
@@ -275,7 +275,7 @@ bool CAStarEngine::FindPath(
if (mSolved && best!=NULL)
{
//debug_printf("Number of nodes searched: %d\n", iterations);
//debug_printf(L"Number of nodes searched: %d\n", iterations);
ConstructPath(best);
}