Index: trunk/src/obj_elem.h =================================================================== --- trunk/src/obj_elem.h (revision 15649) +++ trunk/src/obj_elem.h (revision 15650) @@ -61,15 +61,5 @@ #define PCB_ELEMNAME_IDX_VISIBLE() (conf_core.editor.name_on_pcb ? PCB_ELEMNAME_IDX_REFDES :\ (conf_core.editor.description ? PCB_ELEMNAME_IDX_DESCRIPTION : PCB_ELEMNAME_IDX_VALUE)) -#define PCB_ELEM_NAME_VISIBLE(p,e) ((e)->Name[PCB_ELEMNAME_IDX_VISIBLE()].TextString) -#define PCB_ELEM_NAME_DESCRIPTION(e) ((e)->Name[PCB_ELEMNAME_IDX_DESCRIPTION].TextString) -#define PCB_ELEM_NAME_REFDES(e) ((e)->Name[PCB_ELEMNAME_IDX_REFDES].TextString) -#define PCB_ELEM_NAME_VALUE(e) ((e)->Name[PCB_ELEMNAME_IDX_VALUE].TextString) - -#define PCB_ELEM_TEXT_VISIBLE(p,e) ((e)->Name[PCB_ELEMNAME_IDX_VISIBLE()]) -#define PCB_ELEM_TEXT_DESCRIPTION(e) ((e)->Name[PCB_ELEMNAME_IDX_DESCRIPTION]) -#define PCB_ELEM_TEXT_REFDES(e) ((e)->Name[PCB_ELEMNAME_IDX_REFDES]) -#define PCB_ELEM_TEXT_VALUE(e) ((e)->Name[PCB_ELEMNAME_IDX_VALUE]) - #endif Index: trunk/src_plugins/export_bboard/bboard.c =================================================================== --- trunk/src_plugins/export_bboard/bboard.c (revision 15649) +++ trunk/src_plugins/export_bboard/bboard.c (revision 15650) @@ -397,11 +397,14 @@ *s2 = 0; offset_in_model = bboard_parse_offset(s2 + 1, &ox, &oy); } +#warning subc TODO: rewrite +#if 0 if (!PCB_EMPTY_STRING_P(PCB_ELEM_NAME_VALUE(element))) { fname = bboard_get_model_filename(s, PCB_ELEM_NAME_VALUE(element), pcb_true); if (!fname) fname = bboard_get_model_filename(s, PCB_ELEM_NAME_VALUE(element), pcb_false); } +#endif if (!fname) fname = bboard_get_model_filename(s, NULL, pcb_false); @@ -414,16 +417,21 @@ s = pcb_attribute_get(&(element->Attributes), "Footprint::File"); if (s) { +#warning subc TODO: rewrite +#if 0 if (!PCB_EMPTY_STRING_P(PCB_ELEM_NAME_VALUE(element))) { fname = bboard_get_model_filename(s, PCB_ELEM_NAME_VALUE(element), pcb_true); if (!fname) fname = bboard_get_model_filename(s, PCB_ELEM_NAME_VALUE(element), pcb_false); } +#endif if (!fname) fname = bboard_get_model_filename(s, NULL, pcb_false); } } if (!fname) { +#warning subc TODO: rewrite +#if 0 s = PCB_ELEM_NAME_DESCRIPTION(element); if (!PCB_EMPTY_STRING_P(PCB_ELEM_NAME_DESCRIPTION(element))) { if (!PCB_EMPTY_STRING_P(PCB_ELEM_NAME_VALUE(element))) { @@ -435,6 +443,7 @@ if (!fname) fname = bboard_get_model_filename(PCB_ELEM_NAME_DESCRIPTION(element), NULL, pcb_false); } +#endif } if (!fname) Index: trunk/src_plugins/teardrops/teardrops.c =================================================================== --- trunk/src_plugins/teardrops/teardrops.c (revision 15649) +++ trunk/src_plugins/teardrops/teardrops.c (revision 15650) @@ -255,6 +255,8 @@ static void check_pin(pcb_pin_t * _pin) { +#warning padstack TODO: rewrite +#if 0 pcb_box_t spot; pin = _pin; @@ -281,10 +283,13 @@ continue; pcb_r_search(l->line_tree, &spot, NULL, check_line_callback, l, NULL); } +#endif } static void check_via(pcb_pin_t * _pin) { +#warning padstack TODO: rewrite +#if 0 pcb_box_t spot; pin = _pin; @@ -305,6 +310,7 @@ continue; pcb_r_search(l->line_tree, &spot, NULL, check_line_callback, l, NULL); } +#endif } /*! @@ -312,6 +318,8 @@ */ static void check_pad(pcb_pad_t * _pad) { +#warning padstack TODO: rewrite +#if 0 pad = _pad; px = (pad->BoundingBox.X1 + pad->BoundingBox.X2) / 2; @@ -332,6 +340,7 @@ continue; pcb_r_search(l->line_tree, &(pad->BoundingBox), NULL, check_line_callback, l, NULL); } +#endif } static int teardrops(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y)