Created by Scott Robert Ladd at Coyote Gulch Productions.
#include <maze.h>
|
|
|
|
|
Creates a new maze with a state matching an existing maze.
|
|
Destroys a maze objet and releases all of its resources. |
|
This constructor sets parameters, and then calls construct to allocate memory and assign default walls.
|
|
This constructor creates the raw maze, with all walls solid or closed. It is used by the named constructor generate |
|
Performs a deep copy of one maze to another.
|
|
Creates a new maze with the specified dimensions and a floor plan defined by the given architect.
|
|
Returns data for a specific cell in a maze.
|
|
Returns the position of the entrance cell for a maze.
|
|
Returns the position of the exit cell for a maze.
|
|
Returns the height of a maze.
|
|
Returns the width of a maze.
|
|
Loads a maze from a binary file created using maze::save.
|
|
Sets the state of a new maze to match the state of an existing maze.
|
|
Read a maze's data from a binary stream.
|
|
Releases resources allocated to a maze. |
|
Saves a maze to an output stream in binary format. This stream can later be used to reconstitute the maze via the load named constructor.
|
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.