
2008-03-31 Michael Natterer <mitch@gimp.org> * plug-ins/maze/*: renamed most files and added proper headers instead of duplicating the prototypes in each .c file that uses them. Indentation, spacing, formatting, some general cleanup. svn path=/trunk/; revision=25324
43 lines
1.5 KiB
C
43 lines
1.5 KiB
C
/*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef __MAZE_ALGORITHMS_H__
|
|
#define __MAZE_ALGORITHMS_H__
|
|
|
|
|
|
void mazegen (gint pos,
|
|
guchar *maz,
|
|
gint x,
|
|
gint y,
|
|
gint rnd);
|
|
void mazegen_tileable (gint pos,
|
|
guchar *maz,
|
|
gint x,
|
|
gint y,
|
|
gint rnd);
|
|
|
|
void prim (gint pos,
|
|
guchar *maz,
|
|
guint x,
|
|
guint y);
|
|
void prim_tileable (guchar *maz,
|
|
guint x,
|
|
guint y);
|
|
|
|
|
|
#endif /* __MAZE_ALGORITHMS_H__ */
|