Quote:
Originally Posted by Pottus
We really need to implement this into Texture Studio. I have looked at the code and yeah we would need to do some customizing. I am thinking the best way to do it would be like how the objectmetry system works by keeping a stack of objects then just applying them to Texture Studio when the results are desired.
|
I updated the code with an improved version. The code I originally published wasted a lot of memory and took a long time to compile. I optimized the code by storing all the required information into a single PAWN cell (4 bytes) including boolean information like up, in, left through bitwise operations. If you're going to use this include for Texture Studio, you should definitely check out the new code as it will drastically reduce compiling time and amx file size.
For example, for a 2000x2000 maze it originally used 94MB of amx file size, it uses 4MB now.