mirror of https://github.com/GNOME/gimp.git
plug-ins/maze/maze.[ch] plug-ins/maze/algorithms.c Changed occurreces of
2002-11-20 Dave Neary <bolsh@gimp.org> * plug-ins/maze/maze.[ch] * plug-ins/maze/algorithms.c * plug-ins/maze/maze_face.c: Changed occurreces of timeseed to defaultseed to more accurately reflect what happens with the g_rand* functions. Sorry for missing one earlier & temporarily breaking the build :~}
This commit is contained in:
parent
7bdf56a60e
commit
0a4c338ee8
|
@ -1,3 +1,12 @@
|
|||
2002-11-20 Dave Neary <bolsh@gimp.org>
|
||||
|
||||
* plug-ins/maze/maze.[ch]
|
||||
* plug-ins/maze/algorithms.c
|
||||
* plug-ins/maze/maze_face.c: Changed occurreces of
|
||||
timeseed to defaultseed to more accurately reflect what
|
||||
happens with the g_rand* functions. Sorry for missing one
|
||||
earlier & temporarily breaking the build :~}
|
||||
|
||||
2002-11-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/maze/maze.[ch]
|
||||
|
|
|
@ -463,7 +463,7 @@ prim_tileable(gchar *maz, guint x, guint y)
|
|||
max_progress=x*y/4;
|
||||
|
||||
/* Pick someplace to start. */
|
||||
if (!mvals.timeseed)
|
||||
if (!mvals.defaultseed)
|
||||
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);
|
||||
|
|
|
@ -246,7 +246,7 @@ run (gchar *name,
|
|||
gimp_displays_flush ();
|
||||
|
||||
if (run_mode == GIMP_RUN_INTERACTIVE ||
|
||||
(mvals.timeseed && run_mode == GIMP_RUN_WITH_LAST_VALS))
|
||||
(mvals.defaultseed && run_mode == GIMP_RUN_WITH_LAST_VALS))
|
||||
gimp_set_data ("plug_in_maze", &mvals, sizeof (MazeValues));
|
||||
}
|
||||
else
|
||||
|
|
|
@ -33,7 +33,7 @@ typedef struct {
|
|||
gint offset;
|
||||
MazeAlgoType algorithm;
|
||||
/* Interface options. */
|
||||
gboolean timeseed;
|
||||
gboolean defaultseed;
|
||||
} MazeValues;
|
||||
|
||||
enum CellTypes {
|
||||
|
|
|
@ -293,7 +293,7 @@ maze_dialog (void)
|
|||
|
||||
/* Seed input box */
|
||||
seed_hbox = gimp_random_seed_new (&mvals.seed,
|
||||
&mvals.timeseed,
|
||||
&mvals.defaultseed,
|
||||
TRUE, FALSE);
|
||||
gimp_table_attach_aligned (GTK_TABLE (table), 0, trow,
|
||||
_("Seed:"), 1.0, 0.5,
|
||||
|
|
Loading…
Reference in New Issue