-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge master with latest code #158
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ | |
|
||
// routines in this module | ||
static void perform_worklist(); | ||
static int potential(double, long); | ||
int potential(double, long); // no longer static as it is called by perturbation | ||
static void decomposition(); | ||
static void setsymmetry(symmetry_type sym, bool uselist); | ||
static bool xsym_split(int xaxis_row, bool xaxis_between); | ||
|
@@ -1194,14 +1194,20 @@ static void perform_worklist() | |
boundary_trace(); | ||
break; | ||
case 'g': | ||
solid_guess(); | ||
if (g_calc_status != calc_status_value::COMPLETED) // horrible cludge preventing crash when | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mark the comment with TODO so we can find it as a cleanup item later. Always use
|
||
// coming back from perturbation and math = bignum/bigflt in fractalb.cpp | ||
solid_guess(); | ||
break; | ||
case 'd': | ||
diffusion_scan(); | ||
break; | ||
case 'o': | ||
sticky_orbits(); | ||
break; | ||
case 'p': | ||
if (bit_set (g_cur_fractal_specific->flags, fractal_flags::PERTURB)) // we already finished perturbation, so let's get outa here | ||
return; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
break; | ||
default: | ||
one_or_two_pass(); | ||
} | ||
|
@@ -2518,7 +2524,7 @@ static void decomposition() | |
// controlling the level and slope of the continuous potential | ||
// surface. Returns color. | ||
// | ||
static int potential(double mag, long iterations) | ||
int potential(double mag, long iterations) // no longer static as it is called by perturbation | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. delete the comment |
||
{ | ||
float f_mag; | ||
float f_tmp; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this declaration from calcfrac.cpp to calcfrac.h and delete the comment