aboutsummaryrefslogtreecommitdiff
path: root/contrib/vmap_assembler/vmap_assembler.cpp
diff options
context:
space:
mode:
authorclick <none@none>2010-06-05 00:59:25 +0200
committerclick <none@none>2010-06-05 00:59:25 +0200
commite77716188861d4aa83b227a90e04a66b63baeb1f (patch)
treece72764181a760314ec851f7535052dcf75649db /contrib/vmap_assembler/vmap_assembler.cpp
parent1426c2970f42a2d065198806f750bf5dd28d580b (diff)
HIGHLY EXPERIMENTAL - USE AT YOUR OWN RISK
Implement the use of the new vmap3-format by Lynx3d (mad props to you for this, and thanks for the talks earlier) + reduced Vmap size to less than one third, and improve precision + indoor/outdoor check which allows automatic unmounting of players + additional area information from WMOAreaTable.dbc, removed existing "hacks" + WMO liquid information for swimming and fishing correctly in buildings/cities/caves/instances (lava and slime WILL hurt from now on!) - buildfiles for windows are not properly done, and will need to be sorted out NOTE: Do NOT annoy Lynx3d about this, any issues with this "port" is entirely our fault ! THIS REVISION IS CONSIDERED UNSTABLE AND CONTAINS WORK IN PROGRESS - USE AT YOUR OWN RISK! --HG-- branch : trunk
Diffstat (limited to 'contrib/vmap_assembler/vmap_assembler.cpp')
-rw-r--r--contrib/vmap_assembler/vmap_assembler.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/vmap_assembler/vmap_assembler.cpp b/contrib/vmap_assembler/vmap_assembler.cpp
index e6a3089f328..6666b54356c 100644
--- a/contrib/vmap_assembler/vmap_assembler.cpp
+++ b/contrib/vmap_assembler/vmap_assembler.cpp
@@ -54,7 +54,7 @@ File contains map names that should be split into tiles
A '#' at the beginning of a line defines a comment
*/
-bool readConfigFile(char *pConffile, VMAP::TileAssembler* pTa)
+/* bool readConfigFile(char *pConffile, VMAP::TileAssembler* pTa)
{
bool result = false;
char buffer[501];
@@ -74,7 +74,7 @@ bool readConfigFile(char *pConffile, VMAP::TileAssembler* pTa)
result = true;
}
return(result);
-}
+} */
//=======================================================
int main(int argc, char* argv[])
{
@@ -97,7 +97,7 @@ int main(int argc, char* argv[])
All the names in the list are considered to be world maps or huge instances.
These maps will be spilt into tiles in the vmap assemble process
*/
- if(conffile != NULL)
+ /* if(conffile != NULL)
{
if(!readConfigFile(conffile, ta))
{
@@ -105,9 +105,9 @@ int main(int argc, char* argv[])
delete ta;
return 1;
}
- }
+ } */
- if(!ta->convertWorld())
+ if(!ta->convertWorld2())
{
printf("exit with errors\n");
delete ta;
@@ -118,4 +118,3 @@ int main(int argc, char* argv[])
printf("Ok, all done\n");
return 0;
}
-