Fix vmap extractor for 15595. Now uses StormLib. Haven't checked if it works on nix though, will do later.
This commit is contained in:
1 parent
c26b5a8c1f
commit
568fba707c
18 files changed
+437
-335
No files matched your search
@@ -19,18 +19,20 @@
|
||||
#include "vmapexport.h"
|
||||
#include "model.h"
|
||||
#include "wmo.h"
|
||||
#include "mpq_libmpq04.h"
|
||||
#include "mpqfile.h"
|
||||
#include <cassert>
|
||||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
|
||||
extern HANDLE WorldMpq;
|
||||
|
||||
Model::Model(std::string &filename) : filename(filename), vertices(0), indices(0)
|
||||
{
|
||||
}
|
||||
|
||||
bool Model::open()
|
||||
{
|
||||
MPQFile f(filename.c_str());
|
||||
MPQFile f(WorldMpq, filename.c_str());
|
||||
|
||||
ok = !f.isEof();
|
||||
|
||||
|
||||
Reference in new issue
Block a user