Tools/MeshExtract:

Fixed linux build, thanks Dev[Acho].
Added a DBC class
It will now autodetect your locale and start extracting mmaps as soon as started.
This commit is contained in:
Subv committed 2012-09-28 16:21:35 -05:00
1 parent 5725b068d2
commit 886f71df72
16 files changed
+214 -43

No files matched your search

+8 -1
View File
@@ -29,7 +29,14 @@ ADT::~ADT()
void ADT::Read()
{
Header.Read(Data->GetChunkByName("MHDR")->GetStream());
Chunk* mhdr = Data->GetChunkByName("MHDR");
if (!mhdr)
{
delete Data;
Data = NULL;
return;
}
Header.Read(mhdr->GetStream());
MapChunks.reserve(16 * 16);
int mapChunkIndex = 0;