27.11.2017, 08:38
Where is start and end?
Better:
Can add more and just only use one.
Quote:
If you enable them, you'll be using those algorithms to generate the mazes. You can't enable backtrack and prim at the same time though.
|
PHP код:
enum e_maze_algorithm {
maze_algorithm_prim,
maze_algorithm_backtrack
}
CreateInGameMaze(Float:origin_x, Float:origin_y, Float:origin_z, m_height, m_width, walls_color = 0x000000FF, spaces_color = 0xFFFFFFFF, start_color = 0xFF0000FF, e_maze_algorithm:algorithm = maze_algorithm_backtrack, bool: no_dead_end = false);