Tools/MeshExtractor:

* Added the capability of extracting DBCs.
* Fixed most compile warnings
* Some work on the navigation mesh generation process (still not ready)
This commit is contained in:
Subv committed 2012-10-03 18:02:18 -05:00
1 parent fa57ecddac
commit e32ddea96a
17 files changed
+264 -75

No files matched your search

+2 -2
View File
@@ -48,7 +48,7 @@ void ChunkedData::Load( uint32 maxLength, uint32 chunksHint )
int ChunkedData::GetFirstIndex( std::string name )
{
for (int i = 0; i < Chunks.size(); ++i)
for (uint32 i = 0; i < Chunks.size(); ++i)
if (Chunks[i]->Name == name)
return i;
return -1;
@@ -56,7 +56,7 @@ int ChunkedData::GetFirstIndex( std::string name )
Chunk* ChunkedData::GetChunkByName( std::string name )
{
for (int i = 0; i < Chunks.size(); ++i)
for (uint32 i = 0; i < Chunks.size(); ++i)
if (Chunks[i]->Name == name)
return Chunks[i];
return NULL;