Added loading of v2 regular maps, also #bestz will report water info even if a reg map failed to load.

This commit is contained in:
KimLS
2014-05-21 17:30:54 -07:00
parent 8c92271804
commit 3a2ccd7521
3 changed files with 653 additions and 29 deletions
+3
View File
@@ -57,6 +57,9 @@ public:
bool Load(std::string filename);
static Map *LoadMapFile(std::string file);
private:
void RotateVertex(Vertex &v, float rx, float ry, float rz);
void ScaleVertex(Vertex &v, float sx, float sy, float sz);
void TranslateVertex(Vertex &v, float tx, float ty, float tz);
bool LoadV1(FILE *f);
bool LoadV2(FILE *f);