make it compile

This commit is contained in:
Sven Neumann 2002-11-20 10:45:29 +00:00
parent cd28dee822
commit 2394271e17
4 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2002-11-19 Sven Neumann <sven@gimp.org>
* plug-ins/maze/maze.[ch]
* plug-ins/algorithms.c: make it compile. I'm not sure if this is the
correct fix though...
2002-11-20 Dave Neary <bolsh@gimp.org> 2002-11-20 Dave Neary <bolsh@gimp.org>
* configure.in * configure.in
@ -35,14 +41,12 @@
* plug-ins/flame/flame.c * plug-ins/flame/flame.c
* plug-ins/flame/libifs.c * plug-ins/flame/libifs.c
* plug-ins/gflare/gflare.c * plug-ins/gflare/gflare.c
* plug-ins/gimpressionist/gimpressionist.c * plug-ins/gimpressionist/gimpressionist.[ch]
* plug-ins/gimpressionist/gimpressionist.h
* plug-ins/gimpressionist/plasma.c * plug-ins/gimpressionist/plasma.c
* plug-ins/gimpressionist/repaint.c * plug-ins/gimpressionist/repaint.c
* plug-ins/ifscompose/ifscompose_utils.c * plug-ins/ifscompose/ifscompose_utils.c
* plug-ins/maze/algorithms.c * plug-ins/maze/algorithms.c
* plug-ins/maze/maze.c * plug-ins/maze/maze.[ch]
* plug-ins/maze/maze.h
* plug-ins/mosaic/mosaic.c: Change all occurrences of RAND_MAX, * plug-ins/mosaic/mosaic.c: Change all occurrences of RAND_MAX,
G_MAXRAND, rand(), srand(), lrand48(), srand48(), random(), G_MAXRAND, rand(), srand(), lrand48(), srand48(), random(),
srandom(), RAND_FUNC and SRAND_FUNC to the appropriate g_rand* srandom(), RAND_FUNC and SRAND_FUNC to the appropriate g_rand*

View File

@ -463,7 +463,7 @@ prim_tileable(gchar *maz, guint x, guint y)
max_progress=x*y/4; max_progress=x*y/4;
/* Pick someplace to start. */ /* Pick someplace to start. */
if (!mvals.defaultseed) if (!mvals.timeseed)
g_rand_set_seed (gr, rnd); g_rand_set_seed (gr, rnd);
pos = x * 2 * g_rand_int_range (gr, 0, y/2) + 2 * g_rand_int_range(gr, 0, x/2); pos = x * 2 * g_rand_int_range (gr, 0, y/2) + 2 * g_rand_int_range(gr, 0, x/2);

View File

@ -246,7 +246,7 @@ run (gchar *name,
gimp_displays_flush (); gimp_displays_flush ();
if (run_mode == GIMP_RUN_INTERACTIVE || if (run_mode == GIMP_RUN_INTERACTIVE ||
(mvals.defaultseed && run_mode == GIMP_RUN_WITH_LAST_VALS)) (mvals.timeseed && run_mode == GIMP_RUN_WITH_LAST_VALS))
gimp_set_data ("plug_in_maze", &mvals, sizeof (MazeValues)); gimp_set_data ("plug_in_maze", &mvals, sizeof (MazeValues));
} }
else else

View File

@ -33,7 +33,7 @@ typedef struct {
gint offset; gint offset;
MazeAlgoType algorithm; MazeAlgoType algorithm;
/* Interface options. */ /* Interface options. */
gboolean defaultseed; gboolean timeseed;
} MazeValues; } MazeValues;
enum CellTypes { enum CellTypes {