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:
1 parent
5725b068d2
commit
886f71df72
16 files changed
+214
-43
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user