[Include] Maze Generator
#20

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
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.
Thanks a lot! The thing is once I update this include to work with TS it will make things a pain in the ass to update if you make any changes. Currently there isn't enough support for TS to use it out of the box so as I mentioned we need to break down the objectmetry modules player object stack system to handle the maze generator. Then the maze generator needs some updates to use the object stack system.
Reply


Messages In This Thread
Maze Generator - by ThePhenix - 24.11.2017, 16:51
Re: Maze Generator - by Gammix - 24.11.2017, 17:14
Re: Maze Generator - by Kaperstone - 24.11.2017, 17:15
Re: Maze Generator - by ThePhenix - 24.11.2017, 17:16
Re: Maze Generator - by ExTaZZ69 - 24.11.2017, 17:30
Re: Maze Generator - by Eoussama - 24.11.2017, 18:11
Re: Maze Generator - by ShapeGaz - 24.11.2017, 19:39
Re: Maze Generator - by Paulthaz - 25.11.2017, 10:47
Re: Maze Generator - by OneDay - 27.11.2017, 08:38
Re: Maze Generator - by ThePhenix - 27.11.2017, 13:34
Re: Maze Generator - by N0FeaR - 23.02.2018, 16:17
Re: Maze Generator - by RogueDrifter - 23.02.2018, 17:07
Re: Maze Generator - by Pottus - 23.02.2018, 20:22
Re: Maze Generator - by Crayder - 24.02.2018, 07:23
Re: Maze Generator - by Zeth - 24.02.2018, 07:56
Re: Maze Generator - by Pottus - 25.02.2018, 01:44
Re: Maze Generator - by Crayder - 25.02.2018, 05:20
Re: Maze Generator - by ThePhenix - 25.02.2018, 07:09
Re: Maze Generator - by Crayder - 25.02.2018, 14:09
Re: Maze Generator - by Pottus - 26.02.2018, 21:44

Forum Jump:


Users browsing this thread: 4 Guest(s)