Index: trunk/src_plugins/export_bom/bom.c =================================================================== --- trunk/src_plugins/export_bom/bom.c (revision 34309) +++ trunk/src_plugins/export_bom/bom.c (revision 34310) @@ -38,11 +38,11 @@ %end-doc */ {"bomfile", "Name of the BOM output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_bomfile 0 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 1 }; Index: trunk/src_plugins/export_c_draw/export_c_draw.c =================================================================== --- trunk/src_plugins/export_c_draw/export_c_draw.c (revision 34309) +++ trunk/src_plugins/export_c_draw/export_c_draw.c (revision 34310) @@ -74,11 +74,11 @@ /* other HIDs expect this to be first. */ {"outfile", "Graphics output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_c_drawfile 0 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0} + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0} #define HA_cam 1 }; Index: trunk/src_plugins/export_dsn/dsn.c =================================================================== --- trunk/src_plugins/export_dsn/dsn.c (revision 34309) +++ trunk/src_plugins/export_dsn/dsn.c (revision 34310) @@ -80,24 +80,22 @@ static const rnd_export_opt_t dsn_options[] = { {"dsnfile", "SPECCTRA output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_dsnfile 0 {"trackwidth", "track width in mils", - RND_HATT_COORD, RND_MIL_TO_COORD(0), RND_MIL_TO_COORD(100), {0, 0, 0, RND_MIL_TO_COORD(8)}, 0, 0}, + RND_HATT_COORD, RND_MIL_TO_COORD(0), RND_MIL_TO_COORD(100), {0, 0, 0, RND_MIL_TO_COORD(8)}, 0}, #define HA_trackwidth 1 {"clearance", "clearance in mils", - RND_HATT_COORD, RND_MIL_TO_COORD(0), RND_MIL_TO_COORD(100), {0, 0, 0, RND_MIL_TO_COORD(8)}, 0, 0}, + RND_HATT_COORD, RND_MIL_TO_COORD(0), RND_MIL_TO_COORD(100), {0, 0, 0, RND_MIL_TO_COORD(8)}, 0}, #define HA_clearance 2 {"viawidth", "via width in mils", - RND_HATT_COORD, RND_MIL_TO_COORD(0), RND_MIL_TO_COORD(100), {0, 0, 0, RND_MIL_TO_COORD(27)}, 0, - 0}, + RND_HATT_COORD, RND_MIL_TO_COORD(0), RND_MIL_TO_COORD(100), {0, 0, 0, RND_MIL_TO_COORD(27)}, 0}, #define HA_viawidth 3 {"viadrill", "via drill diameter in mils", - RND_HATT_COORD, RND_MIL_TO_COORD(0), RND_MIL_TO_COORD(100), {0, 0, 0, RND_MIL_TO_COORD(15)}, 0, - 0}, + RND_HATT_COORD, RND_MIL_TO_COORD(0), RND_MIL_TO_COORD(100), {0, 0, 0, RND_MIL_TO_COORD(15)}, 0}, #define HA_viadrill 4 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 5 }; Index: trunk/src_plugins/export_dxf/dxf.c =================================================================== --- trunk/src_plugins/export_dxf/dxf.c (revision 34309) +++ trunk/src_plugins/export_dxf/dxf.c (revision 34310) @@ -119,7 +119,7 @@ %end-doc */ {"outfile", "Graphics output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_dxffile 0 /* %start-doc options "93 DXF Options" @@ -130,7 +130,7 @@ %end-doc */ {"template", "DXF template (lihata file)", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_template 1 /* %start-doc options "93 DXF Options" @@ -141,7 +141,7 @@ %end-doc */ {"thin", "Draw outline and drill with thin lines", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_thin 2 /* %start-doc options "93 DXF Options" @@ -152,7 +152,7 @@ %end-doc */ {"poly-fill", "Fill polygons using hatch", - RND_HATT_BOOL, 0, 0, {1, (void *)1, 1}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, (void *)1, 1}, 0}, #define HA_poly_fill 3 /* %start-doc options "93 DXF Options" @@ -163,7 +163,7 @@ %end-doc */ {"poly-contour", "Draw polygons contour with thin line", - RND_HATT_BOOL, 0, 0, {1, (void *)1, 1}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, (void *)1, 1}, 0}, #define HA_poly_contour 4 /* %start-doc options "93 DXF Options" @@ -174,7 +174,7 @@ %end-doc */ {"drill-fill", "Fill drill (hole) circles using hatch", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_drill_fill 5 /* %start-doc options "93 DXF Options" @@ -185,11 +185,11 @@ %end-doc */ {"drill-contour", "Draw drill contour with thin line", - RND_HATT_BOOL, 0, 0, {1, (void *)1, 1}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, (void *)1, 1}, 0}, #define HA_drill_contour 6 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 7 }; Index: trunk/src_plugins/export_excellon/excellon.c =================================================================== --- trunk/src_plugins/export_excellon/excellon.c (revision 34309) +++ trunk/src_plugins/export_excellon/excellon.c (revision 34310) @@ -174,27 +174,27 @@ %end-doc */ {"filename", "excellon output file base - used to generate default plated and/or unplated file name in case they are not specified", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_excellonfile 0 {"filename-plated", "excellon output file name for plated features", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_excellonfile_plated 1 {"filename-unplated", "excellon output file name for unplated features", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_excellonfile_unplated 2 {"coord-format", "Coordinate format (resolution)", - RND_HATT_ENUM, 0, 0, {0, 0, 0}, coord_format_names, 0}, + RND_HATT_ENUM, 0, 0, {0, 0, 0}, coord_format_names}, #define HA_excellonfile_coordfmt 3 {"aperture-per-file", "Restart aperture numbering in each new file", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_apeture_per_file 4 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 5 }; Index: trunk/src_plugins/export_fidocadj/fidocadj.c =================================================================== --- trunk/src_plugins/export_fidocadj/fidocadj.c (revision 34309) +++ trunk/src_plugins/export_fidocadj/fidocadj.c (revision 34310) @@ -69,11 +69,11 @@ /* other HIDs expect this to be first. */ {"outfile", "Output file name", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_fidocadjfile 0 {"libfile", "path to PCB.fcl", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_libfile 1 }; Index: trunk/src_plugins/export_gcode/gcode.c =================================================================== --- trunk/src_plugins/export_gcode/gcode.c (revision 34309) +++ trunk/src_plugins/export_gcode/gcode.c (revision 34310) @@ -61,19 +61,19 @@ static const rnd_export_opt_t gcode_attribute_list[] = { {"outfile", "file name prefix for non-cam", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_outfile 0 {"dias", "tool diameters", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_template 1 {"layer-script", "rendering script for layer graphics", - RND_HATT_STRING, 0, 0, {0, def_layer_script, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, def_layer_script, 0}, 0}, #define HA_layer_script 2 {"mech-script", "rendering script for boundary/mech/drill", - RND_HATT_STRING, 0, 0, {0, def_mech_script, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, def_mech_script, 0}, 0}, #define HA_mech_script 3 {"mill-depth", "Milling depth on layers", @@ -93,7 +93,7 @@ #define HA_safeZ 7 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 8 }; Index: trunk/src_plugins/export_gerber/gerber.c =================================================================== --- trunk/src_plugins/export_gerber/gerber.c (revision 34309) +++ trunk/src_plugins/export_gerber/gerber.c (revision 34310) @@ -199,7 +199,7 @@ static const rnd_export_opt_t gerber_options[] = { {"", "WARNING", - RND_HATT_BEGIN_VBOX, 0, 0, {0, 0, 0, 0, {0}, gerber_warning}, 0, 0}, + RND_HATT_BEGIN_VBOX, 0, 0, {0, 0, 0, 0, {0}, gerber_warning}, 0}, #define HA_warning 0 /* %start-doc options "90 Gerber Export" @@ -210,7 +210,7 @@ %end-doc */ {"gerberfile", "Gerber output file base", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_gerberfile 1 /* %start-doc options "90 Gerber Export" @@ -221,7 +221,7 @@ %end-doc */ {"all-layers", "Output all layers, even empty ones", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_all_layers 2 /* %start-doc options "90 Gerber Export" @@ -232,25 +232,25 @@ %end-doc */ {"verbose", "Print file names and aperture counts on stdout", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_verbose 3 {"copy-outline", "Copy outline onto other layers", - RND_HATT_ENUM, 0, 0, {0, 0, 0}, copy_outline_names, 0}, + RND_HATT_ENUM, 0, 0, {0, 0, 0}, copy_outline_names}, #define HA_copy_outline 4 {"cross-sect", "Export the cross section layer", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_cross_sect 5 {"coord-format", "Coordinate format (resolution)", - RND_HATT_ENUM, 0, 0, {0, 0, 0}, coord_format_names, 0}, + RND_HATT_ENUM, 0, 0, {0, 0, 0}, coord_format_names}, #define HA_coord_format 6 {"aperture-per-file", "Restart aperture numbering in each new file", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_apeture_per_file 7 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 8 }; Index: trunk/src_plugins/export_ipcd356/ipcd356.c =================================================================== --- trunk/src_plugins/export_ipcd356/ipcd356.c (revision 34309) +++ trunk/src_plugins/export_ipcd356/ipcd356.c (revision 34310) @@ -410,11 +410,11 @@ "netlistfile", "Name of the IPC-D-356 Netlist output file", RND_HATT_STRING, - 0, 0, {0, 0, 0}, 0, 0}, + 0, 0, {0, 0, 0}, 0}, #define HA_ipcd356_filename 0 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 1 }; Index: trunk/src_plugins/export_lpr/lpr.c =================================================================== --- trunk/src_plugins/export_lpr/lpr.c (revision 34309) +++ trunk/src_plugins/export_lpr/lpr.c (revision 34310) @@ -33,7 +33,7 @@ %end-doc */ {"lprcommand", "Command to use for printing", - RND_HATT_STRING, 0, 0, {0, "lpr", 0}, 0, 0} + RND_HATT_STRING, 0, 0, {0, "lpr", 0}, 0} #define HA_lprcommand 0 }; Index: trunk/src_plugins/export_openems/export_openems.c =================================================================== --- trunk/src_plugins/export_openems/export_openems.c (revision 34309) +++ trunk/src_plugins/export_openems/export_openems.c (revision 34310) @@ -105,59 +105,59 @@ static const rnd_export_opt_t openems_attribute_list[] = { {"outfile", "Graphics output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_openemsfile 0 {"def-copper-thick", "Default copper thickness", - RND_HATT_COORD, 0, THMAX, {0, 0, 0, RND_MM_TO_COORD(0.035)}, 0, 0}, + RND_HATT_COORD, 0, THMAX, {0, 0, 0, RND_MM_TO_COORD(0.035)}, 0}, #define HA_def_copper_thick 1 {"def-substrate-thick", "Default substrate thickness", - RND_HATT_COORD, 0, THMAX, {0, 0, 0, RND_MM_TO_COORD(0.8)}, 0, 0}, + RND_HATT_COORD, 0, THMAX, {0, 0, 0, RND_MM_TO_COORD(0.8)}, 0}, #define HA_def_substrate_thick 2 {"def-copper-cond", "Default copper conductivity", - RND_HATT_STRING, 0, 0, {0, "56e6", 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, "56e6", 0}, 0}, #define HA_def_copper_cond 3 {"def-subst-epsilon", "Default substrate epsilon", - RND_HATT_STRING, 0, 0, {0, "3.66", 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, "3.66", 0}, 0}, #define HA_def_subst_epsilon 4 {"def-subst-mue", "Default substrate mue", - RND_HATT_STRING, 0, 0, {0, "0", 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, "0", 0}, 0}, #define HA_def_subst_mue 5 {"def-subst-kappa", "Default substrate kappa", - RND_HATT_STRING, 0, 0, {0, "0", 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, "0", 0}, 0}, #define HA_def_subst_kappa 6 {"def-subst-sigma", "Default substrate sigma", - RND_HATT_STRING, 0, 0, {0, "0", 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, "0", 0}, 0}, #define HA_def_subst_sigma 7 {"void-name", "Name of the void (sorrunding material)", - RND_HATT_STRING, 0, 0, {0, "AIR", 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, "AIR", 0}, 0}, #define HA_void_name 8 {"void-epsilon", "epsilon value for the void (sorrunding material)", - RND_HATT_REAL, 0, 1000, {0, 0, 1}, 0, 0}, + RND_HATT_REAL, 0, 1000, {0, 0, 1}, 0}, #define HA_void_epsilon 9 {"void-mue", "mue value for the void (sorrunding material)", - RND_HATT_REAL, 0, 1000, {0, 0, 1}, 0, 0}, + RND_HATT_REAL, 0, 1000, {0, 0, 1}, 0}, #define HA_void_mue 10 {"segments", "kludge: number of segments used to approximate round cap trace ends", - RND_HATT_INTEGER, 0, 100, {10, 0, 0}, 0, 0}, + RND_HATT_INTEGER, 0, 100, {10, 0, 0}, 0}, #define HA_segments 11 {"base-prio", "base priority: if the board displaces the chassis", - RND_HATT_INTEGER, 0, 10, {0, 0, 0}, 0, 0}, + RND_HATT_INTEGER, 0, 10, {0, 0, 0}, 0}, #define HA_base_prio 12 {"port-resistance", "default port resistance", - RND_HATT_REAL, 0, 1000, {0, 0, 50}, 0, 0} + RND_HATT_REAL, 0, 1000, {0, 0, 50}, 0} #define HA_def_port_res 13 }; Index: trunk/src_plugins/export_openscad/export_openscad.c =================================================================== --- trunk/src_plugins/export_openscad/export_openscad.c (revision 34309) +++ trunk/src_plugins/export_openscad/export_openscad.c (revision 34310) @@ -95,31 +95,31 @@ %end-doc */ {"outfile", "Graphics output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_openscadfile 0 {"copper", "enable exporting outer copper layers", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_copper 1 {"silk", "enable exporting silk layers", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_silk 2 {"mask", "enable exporting mask layers", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_mask 3 {"models", "enable searching and inserting model files", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_models 4 {"drill", "enable drilling holes", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_drill 5 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 6 }; Index: trunk/src_plugins/export_png/png.c =================================================================== --- trunk/src_plugins/export_png/png.c (revision 34309) +++ trunk/src_plugins/export_png/png.c (revision 34310) @@ -176,7 +176,7 @@ %end-doc */ {"outfile", "Graphics output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_pngfile 0 /* %start-doc options "93 PNG Options" @@ -187,7 +187,7 @@ %end-doc */ {"dpi", "Scale factor (pixels/inch). 0 to scale to specified size", - RND_HATT_INTEGER, 0, 10000, {100, 0, 0}, 0, 0}, + RND_HATT_INTEGER, 0, 10000, {100, 0, 0}, 0}, #define HA_dpi 1 /* %start-doc options "93 PNG Options" @@ -198,7 +198,7 @@ %end-doc */ {"x-max", "Maximum width (pixels). 0 to not constrain", - RND_HATT_INTEGER, 0, 10000, {0, 0, 0}, 0, 0}, + RND_HATT_INTEGER, 0, 10000, {0, 0, 0}, 0}, #define HA_xmax 2 /* %start-doc options "93 PNG Options" @@ -209,7 +209,7 @@ %end-doc */ {"y-max", "Maximum height (pixels). 0 to not constrain", - RND_HATT_INTEGER, 0, 10000, {0, 0, 0}, 0, 0}, + RND_HATT_INTEGER, 0, 10000, {0, 0, 0}, 0}, #define HA_ymax 3 /* %start-doc options "93 PNG Options" @@ -220,7 +220,7 @@ %end-doc */ {"xy-max", "Maximum width and height (pixels). 0 to not constrain", - RND_HATT_INTEGER, 0, 10000, {0, 0, 0}, 0, 0}, + RND_HATT_INTEGER, 0, 10000, {0, 0, 0}, 0}, #define HA_xymax 4 /* %start-doc options "93 PNG Options" @@ -231,7 +231,7 @@ %end-doc */ {"as-shown", "Export layers as shown on screen", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_as_shown 5 /* %start-doc options "93 PNG Options" @@ -242,7 +242,7 @@ %end-doc */ {"monochrome", "Convert to monochrome", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_mono 6 /* %start-doc options "93 PNG Options" @@ -253,7 +253,7 @@ %end-doc */ {"only-visible", "Limit the bounds of the PNG image to the visible items", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_only_visible 7 /* %start-doc options "93 PNG Options" @@ -264,7 +264,7 @@ %end-doc */ {"use-alpha", "Make the background and any holes transparent", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_use_alpha 8 /* %start-doc options "93 PNG Options" @@ -276,7 +276,7 @@ %end-doc */ {"format", "Export file format", - RND_HATT_ENUM, 0, 0, {0, 0, 0}, filetypes, 0}, + RND_HATT_ENUM, 0, 0, {0, 0, 0}, filetypes}, #define HA_filetype 9 /* %start-doc options "93 PNG Options" @@ -290,7 +290,7 @@ %end-doc */ {"png-bloat", "Amount (in/mm/mil/pix) to add to trace/pad/pin edges (1 = 1/100 mil) (OBSOLETE - do not use this feature!)", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_bloat 10 /* %start-doc options "93 PNG Options" @@ -302,7 +302,7 @@ %end-doc */ {"photo-mode", "Photo-realistic export mode", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_photo_mode 11 /* %start-doc options "93 PNG Options" @@ -313,7 +313,7 @@ %end-doc */ {"photo-flip-x", "Show reverse side of the board, left-right flip", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_photo_flip_x 12 /* %start-doc options "93 PNG Options" @@ -324,7 +324,7 @@ %end-doc */ {"photo-flip-y", "Show reverse side of the board, up-down flip", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_photo_flip_y 13 /* %start-doc options "93 PNG Options" @@ -337,7 +337,7 @@ %end-doc */ {"photo-mask-colour", "Colour for the exported colour mask (green, red, blue, purple)", - RND_HATT_ENUM, 0, 0, {0, 0, 0}, mask_colour_names, 0}, + RND_HATT_ENUM, 0, 0, {0, 0, 0}, mask_colour_names}, #define HA_photo_mask_colour 14 /* %start-doc options "93 PNG Options" @@ -351,7 +351,7 @@ %end-doc */ {"photo-plating", "Type of plating applied to exposed copper in photo-mode (tinned, gold, silver, copper)", - RND_HATT_ENUM, 0, 0, {0, 0, 0}, plating_type_names, 0}, + RND_HATT_ENUM, 0, 0, {0, 0, 0}, plating_type_names}, #define HA_photo_plating 15 /* %start-doc options "93 PNG Options" @@ -364,11 +364,11 @@ %end-doc */ {"photo-silk-colour", "Colour for the exported colour silk (white, black, yellow)", - RND_HATT_ENUM, 0, 0, {0, 0, 0}, silk_colour_names, 0}, + RND_HATT_ENUM, 0, 0, {0, 0, 0}, silk_colour_names}, #define HA_photo_silk_colour 16 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 17 }; Index: trunk/src_plugins/export_ps/eps.c =================================================================== --- trunk/src_plugins/export_ps/eps.c (revision 34309) +++ trunk/src_plugins/export_ps/eps.c (revision 34310) @@ -59,7 +59,7 @@ %end-doc */ {"eps-file", "Encapsulated Postscript output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_psfile 0 /* %start-doc options "92 Encapsulated Postscript Export" @@ -70,7 +70,7 @@ %end-doc */ {"eps-scale", "EPS scale", - RND_HATT_REAL, 0, 100, {0, 0, 1.0}, 0, 0}, + RND_HATT_REAL, 0, 100, {0, 0, 1.0}, 0}, #define HA_scale 1 /* %start-doc options "92 Encapsulated Postscript Export" @@ -82,7 +82,7 @@ %end-doc */ {"as-shown", "Export layers as shown on screen", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_as_shown 2 /* %start-doc options "92 Encapsulated Postscript Export" @@ -93,7 +93,7 @@ %end-doc */ {"monochrome", "Convert to monochrome", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_mono 3 /* %start-doc options "92 Encapsulated Postscript Export" @@ -105,11 +105,11 @@ %end-doc */ {"only-visible", "Limit the bounds of the EPS file to the visible items", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_only_visible 4 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 5 }; Index: trunk/src_plugins/export_ps/ps.c =================================================================== --- trunk/src_plugins/export_ps/ps.c (revision 34309) +++ trunk/src_plugins/export_ps/ps.c (revision 34310) @@ -58,7 +58,7 @@ %end-doc */ {"psfile", "Postscript output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_psfile 0 /* %start-doc options "91 Postscript Export" @@ -70,7 +70,7 @@ %end-doc */ {"drill-helper", "Draw small holes to center drill but in copper", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_drillhelper 1 /* %start-doc options "91 Postscript Export" @@ -82,7 +82,7 @@ %end-doc */ {"align-marks", "Print alignment marks on each sheet", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_alignmarks 2 /* %start-doc options "91 Postscript Export" @@ -93,7 +93,7 @@ %end-doc */ {"outline", "Print outline on each sheet", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_outline 3 /* %start-doc options "91 Postscript Export" @ftable @code @@ -103,7 +103,7 @@ %end-doc */ {"mirror", "Print mirror image of every page", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_mirror 4 /* %start-doc options "91 Postscript Export" @@ -114,7 +114,7 @@ %end-doc */ {"fill-page", "Scale board to fill page", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_fillpage 5 /* %start-doc options "91 Postscript Export" @@ -125,7 +125,7 @@ %end-doc */ {"auto-mirror", "Print mirror image of appropriate layers", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_automirror 6 /* %start-doc options "91 Postscript Export" @@ -136,7 +136,7 @@ %end-doc */ {"ps-color", "Prints in color", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_color 7 /* %start-doc options "91 Postscript Export" @@ -148,7 +148,7 @@ %end-doc */ {"ps-invert", "Draw objects as white-on-black", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_psinvert 8 /* %start-doc options "91 Postscript Export" @@ -164,7 +164,7 @@ %end-doc */ {"media", "media type", - RND_HATT_ENUM, 0, 0, {22, 0, 0}, pcb_medias, 0}, + RND_HATT_ENUM, 0, 0, {22, 0, 0}, pcb_medias}, #define HA_media 9 /* %start-doc options "91 Postscript Export" @@ -176,7 +176,7 @@ %end-doc */ {"psfade", "Fade amount for assembly drawings (0.0=missing, 1.0=solid)", - RND_HATT_REAL, 0, 1, {0, 0, 0.40}, 0, 0}, + RND_HATT_REAL, 0, 1, {0, 0, 0.40}, 0}, #define HA_psfade 10 /* %start-doc options "91 Postscript Export" @@ -187,7 +187,7 @@ %end-doc */ {"scale", "Scale value to compensate for printer sizing errors (1.0 = full scale)", - RND_HATT_REAL, 0.01, 4, {0, 0, 1.00}, 0, 0}, + RND_HATT_REAL, 0.01, 4, {0, 0, 1.00}, 0}, #define HA_scale 11 /* %start-doc options "91 Postscript Export" @@ -199,7 +199,7 @@ %end-doc */ {"multi-file", "Produce multiple files, one per page, instead of a single file", - RND_HATT_BOOL, 0, 0, {0, 0, 0.40}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0.40}, 0}, #define HA_multifile 12 /* %start-doc options "91 Postscript Export" @@ -210,7 +210,7 @@ %end-doc */ {"xcalib", "Paper width. Used for x-Axis calibration", - RND_HATT_REAL, 0, 2, {0, 0, 1.0}, 0, 0}, + RND_HATT_REAL, 0, 2, {0, 0, 1.0}, 0}, #define HA_xcalib 13 /* %start-doc options "91 Postscript Export" @@ -221,7 +221,7 @@ %end-doc */ {"ycalib", "Paper height. Used for y-Axis calibration", - RND_HATT_REAL, 0, 2, {0, 0, 1.0}, 0, 0}, + RND_HATT_REAL, 0, 2, {0, 0, 1.0}, 0}, #define HA_ycalib 14 /* %start-doc options "91 Postscript Export" @@ -232,7 +232,7 @@ %end-doc */ {"drill-copper", "Draw drill holes in pins / vias, instead of leaving solid copper", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_drillcopper 15 /* %start-doc options "91 Postscript Export" @@ -244,7 +244,7 @@ %end-doc */ {"show-legend", "Print file name and scale on printout", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_legend 16 /* %start-doc options "91 Postscript Export" @@ -256,7 +256,7 @@ %end-doc */ {"show-toc", "Print Table of Content", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_toc 17 @@ -269,7 +269,7 @@ %end-doc */ {"single-page", "Merge all drawings on a single page", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_single_page 18 /* %start-doc options "91 Postscript Export" @@ -281,12 +281,12 @@ %end-doc */ {"drill-helper-size", "Diameter of the small hole when drill-helper is on", - RND_HATT_COORD, 0, RND_MM_TO_COORD(10), {0, 0, 0, PCB_MIN_PINORVIAHOLE}, 0, 0}, + RND_HATT_COORD, 0, RND_MM_TO_COORD(10), {0, 0, 0, PCB_MIN_PINORVIAHOLE}, 0}, #define HA_drillhelpersize 19 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 20 }; Index: trunk/src_plugins/export_stat/stat.c =================================================================== --- trunk/src_plugins/export_stat/stat.c (revision 34309) +++ trunk/src_plugins/export_stat/stat.c (revision 34310) @@ -72,36 +72,36 @@ /* other HIDs expect this to be first. */ {"outfile", "Output file name", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_statfile 0 {"board_id", "Short name of the board so it can be identified for updates", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_board_id 1 {"orig", "This design started its life in pcb-rnd", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_orig 2 {"lht_built", "This design was already in lihata when real boards got built", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_lht_built 3 {"built", "how many actual/physical boards got built", - RND_HATT_INTEGER, 0, 1000000, {0, 0, 0}, 0, 0}, + RND_HATT_INTEGER, 0, 1000000, {0, 0, 0}, 0}, #define HA_built 4 {"first_ver", "the version of pcb-rnd you first used on this board", - RND_HATT_STRING, 0, 0, {0, NULL, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, NULL, 0}, 0}, #define HA_first_ver 5 {"license", "license of the design", - RND_HATT_STRING, 0, 0, {0, NULL, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, NULL, 0}, 0}, #define HA_license 6 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 7 }; Index: trunk/src_plugins/export_stl/export_stl.c =================================================================== --- trunk/src_plugins/export_stl/export_stl.c (revision 34309) +++ trunk/src_plugins/export_stl/export_stl.c (revision 34310) @@ -52,39 +52,39 @@ static const rnd_export_opt_t stl_attribute_list[] = { {"outfile", "STL output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_stlfile 0 {"models", "enable searching and inserting model files", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_models 1 {"min-drill", "minimum circular hole diameter to render (smaller ones are not drawn)", - RND_HATT_COORD, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_COORD, 0, 0, {0, 0, 0}, 0}, #define HA_mindrill 2 {"min-slot-line", "minimum thickness of padstakc slots specified as lines (smaller ones are not drawn)", - RND_HATT_COORD, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_COORD, 0, 0, {0, 0, 0}, 0}, #define HA_minline 3 {"slot-poly", "draw cutouts for slots specified as padstack polygons", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_slotpoly 4 {"cutouts", "draw cutouts drawn on 'route' layer groups (outline/slot mech layer groups)", - RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_cutouts 5 {"override-thickness", "override calculated board thickness (when non-zero)", - RND_HATT_COORD, 0, 0, {1, 0, 0}, 0, 0}, + RND_HATT_COORD, 0, 0, {1, 0, 0}, 0}, #define HA_ovrthick 6 {"z-center", "when true: z=0 is the center of board cross section, instead of being at the bottom side", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_zcent 7 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 8 }; Index: trunk/src_plugins/export_svg/svg.c =================================================================== --- trunk/src_plugins/export_svg/svg.c (revision 34309) +++ trunk/src_plugins/export_svg/svg.c (revision 34310) @@ -136,7 +136,7 @@ %end-doc */ {"outfile", "Graphics output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_svgfile 0 /* %start-doc options "93 SVG Options" @@ -148,7 +148,7 @@ %end-doc */ {"photo-mode", "Photo-realistic export mode", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_photo_mode 1 /* %start-doc options "93 SVG Options" @@ -160,7 +160,7 @@ %end-doc */ {"opacity", "Layer opacity", - RND_HATT_INTEGER, 0, 100, {100, 0, 0}, 0, 0}, + RND_HATT_INTEGER, 0, 100, {100, 0, 0}, 0}, #define HA_opacity 2 /* %start-doc options "93 SVG Options" @@ -172,19 +172,19 @@ %end-doc */ {"flip", "Flip board", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_flip 3 {"as-shown", "Render similar to as shown on screen (display overlays)", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_as_shown 4 {"true-size", "Attempt to preserve true size for printing", - RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_BOOL, 0, 0, {0, 0, 0}, 0}, #define HA_true_size 5 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0} + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0} #define HA_cam 6 }; Index: trunk/src_plugins/export_vfs_mc/export_vfs_mc.c =================================================================== --- trunk/src_plugins/export_vfs_mc/export_vfs_mc.c (revision 34309) +++ trunk/src_plugins/export_vfs_mc/export_vfs_mc.c (revision 34310) @@ -26,11 +26,11 @@ static const rnd_export_opt_t export_vfs_mc_options[] = { {"cmd", "mc command", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_export_vfs_mc_cmd 0 {"qpath", "query path", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_export_vfs_mc_qpath 1 }; Index: trunk/src_plugins/export_xy/xy.c =================================================================== --- trunk/src_plugins/export_xy/xy.c (revision 34309) +++ trunk/src_plugins/export_xy/xy.c (revision 34310) @@ -57,7 +57,7 @@ %end-doc */ {"xyfile", "Name of the XY output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_xyfile 0 /* %start-doc options "8 XY Creation" @@ -68,14 +68,14 @@ %end-doc */ {"xy-unit", "XY units", - RND_HATT_UNIT, 0, 0, {-1, 0, 0}, NULL, 0}, + RND_HATT_UNIT, 0, 0, {-1, 0, 0}, NULL}, #define HA_unit 1 {"format", "file format (template)", - RND_HATT_ENUM, 0, 0, {0, 0, 0}, NULL, 0}, + RND_HATT_ENUM, 0, 0, {0, 0, 0}, NULL}, #define HA_format 2 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 3 }; Index: trunk/src_plugins/io_tedax/tetest.c =================================================================== --- trunk/src_plugins/io_tedax/tetest.c (revision 34309) +++ trunk/src_plugins/io_tedax/tetest.c (revision 34310) @@ -173,11 +173,11 @@ static rnd_export_opt_t tedax_etest_options[] = { {"outfile", "Name of the tedax etest output file", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_outfile 0 {"cam", "CAM instruction", - RND_HATT_STRING, 0, 0, {0, 0, 0}, 0, 0}, + RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, #define HA_cam 1 };