diff options
author | Erik Reckase <e.reckase@gmail.com> | 2011-01-02 23:38:13 +0000 |
---|---|---|
committer | Scott Draves <spot@draves.org> | 2015-02-15 12:20:14 -0500 |
commit | 0053026871a3def94980593ca56364ee6a7c0f71 (patch) | |
tree | ab08c6afda2d6a0825097c765dc0fc6eae850c5d /src/parser.c | |
parent | 4565e804f1667d4be0cccb77e0d32f2c351bd996 (diff) | |
download | pucket-0053026871a3def94980593ca56364ee6a7c0f71.tar.gz pucket-0053026871a3def94980593ca56364ee6a7c0f71.tar.bz2 pucket-0053026871a3def94980593ca56364ee6a7c0f71.zip |
added mobius variation (the one with 8 params, eralex's).
git-svn-id: https://flam3.googlecode.com/svn/trunk@151 77852712-ef1d-11de-8684-7d64432d61a3
Diffstat (limited to 'src/parser.c')
-rw-r--r-- | src/parser.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c index a36b6cb..03f9bd0 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1215,6 +1215,22 @@ int parse_xform_xml(xmlNode *chld_node,flam3_xform *this_xform, int *num_xaos, this_xform->auger_scale = flam3_atof(att_str); } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"flux_spread")) { this_xform->flux_spread = flam3_atof(att_str); + } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"Re_A") || !xmlStrcmp(cur_att->name, (const xmlChar *)"mobius_re_a")) { + this_xform->mobius_re_a = flam3_atof(att_str); + } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"Re_B") || !xmlStrcmp(cur_att->name, (const xmlChar *)"mobius_re_b")) { + this_xform->mobius_re_b = flam3_atof(att_str); + } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"Re_C") || !xmlStrcmp(cur_att->name, (const xmlChar *)"mobius_re_c")) { + this_xform->mobius_re_c = flam3_atof(att_str); + } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"Re_D") || !xmlStrcmp(cur_att->name, (const xmlChar *)"mobius_re_d")) { + this_xform->mobius_re_d = flam3_atof(att_str); + } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"Im_A") || !xmlStrcmp(cur_att->name, (const xmlChar *)"mobius_im_a")) { + this_xform->mobius_im_a = flam3_atof(att_str); + } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"Im_B") || !xmlStrcmp(cur_att->name, (const xmlChar *)"mobius_im_b")) { + this_xform->mobius_im_b = flam3_atof(att_str); + } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"Im_C") || !xmlStrcmp(cur_att->name, (const xmlChar *)"mobius_im_c")) { + this_xform->mobius_im_c = flam3_atof(att_str); + } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"Im_D") || !xmlStrcmp(cur_att->name, (const xmlChar *)"mobius_im_d")) { + this_xform->mobius_im_d = flam3_atof(att_str); } else { int v = var2n((char *) cur_att->name); if (v != flam3_variation_none) |