Core/Mmaps:

* Unload instanced mmaps before unloading the base map
* Load only mmaps for base map on map creation
* Extractor: Somewhat speed improvement
This commit is contained in:
Subv committed 2012-08-22 17:39:25 -05:00
1 parent dc95ce61b4
commit 5061fa626a
7 files changed
+105 -54

No files matched your search

@@ -202,7 +202,7 @@ namespace MMAP
void IntermediateValues::generateObjFile(uint32 mapID, uint32 tileX, uint32 tileY, MeshData &meshData)
{
char objFileName[255];
sprintf(objFileName, "meshes/map%03u.obj", mapID);
sprintf(objFileName, "meshes/map%03u%02u%02u.obj", mapID, tileY, tileX);
FILE* objFile = fopen(objFileName, "wb");
if (!objFile)