1 /* 2 FLAM3 - cosmic recursive fractal flames 3 Copyright (C) 1992-2009 Spotworks LLC 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 3 of the License, or 8 (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #ifndef parser_included 20 #define parser_included 21 22 #include "private.h" 23 24 int flam3_atoi(char *nstr); 25 double flam3_atof(char *nstr); 26 int var2n(const char *s); 27 int flam3_parse_hexformat_colors(char *colstr, flam3_genome *cp, int numcolors, int chan); 28 29 void scan_for_flame_nodes(xmlNode *cur_node, char *parent_file, int default_flag, flam3_genome **all_cp, int *all_ncps); 30 int parse_flame_element(xmlNode *flame_node, flam3_genome *loc_current_cp); 31 int parse_xform_xml(xmlNode *chld_node,flam3_xform *this_xform, int *num_xaos, 32 flam3_chaos_entry **xaos, int numstd, int motionxf); 33 void flam3_edit_print(FILE *f, xmlNodePtr editNode, int tabs, int formatting); 34 int flam3_interp_missing_colors(flam3_genome *cp); 35 #endif 36