03-Feb-2012, 10:48 PM
I recently tried looking at Tile World 2, and noticed that its 64-bit build would not handle TWS files properly. I tried to port a Tile World patch to fix this, because this bug was present in the last upstream Tile World release as well. I had been using the patch on TW 1 for a while and helped it get into the Debian Linux package for TW. My patched TW2 seems to handle TWS files fine now but has a lot of other problems including interface lockups that I'm not entirely sure is not due to the patch. I would suspect that it isn't though.
Another issue I had was a build failure on my system in one of the C++ files regarding a const cast. It compiled cleanly when I added the -fpermissive flag to g++ and the patch includes a change to add that flag to the build commands. I'm not entirely sure that this flag will work if you build using a different compiler or an old version of g++ though since I do not have an alternative to test it on.
Overall though, I do like the interface changes to Tile World 2 and would use it if the aforementioned bugs did not bedevil me. I am sure that once it has been fixed that it will be superior. Kudos to Madhav!
I'd include the patch in here but I'm not sure how to add an attachment...
Another issue I had was a build failure on my system in one of the C++ files regarding a const cast. It compiled cleanly when I added the -fpermissive flag to g++ and the patch includes a change to add that flag to the build commands. I'm not entirely sure that this flag will work if you build using a different compiler or an old version of g++ though since I do not have an alternative to test it on.
Overall though, I do like the interface changes to Tile World 2 and would use it if the aforementioned bugs did not bedevil me. I am sure that once it has been fixed that it will be superior. Kudos to Madhav!
I'd include the patch in here but I'm not sure how to add an attachment...