Index: trunk/scconfig/plugins.h =================================================================== --- trunk/scconfig/plugins.h (revision 28352) +++ trunk/scconfig/plugins.h (revision 28353) @@ -36,6 +36,7 @@ plugin_def("drc_orig", "the original DRC code", sbuildin, 1, 0) plugin_def("expfeat", "experimental features", sdisable, 1, 0) plugin_def("extedit", "edit with external program", sbuildin, 1, 0) +plugin_def("exto_std", "standard extended objects", sdisable, 1, 0) plugin_def("fontmode", "font editor", sbuildin, 1, 0) plugin_def("jostle", "push lines out of the way", sbuildin, 1, 0) plugin_def("loghid", "diagnostics: log HID calls", sdisable, 1, 0) Index: trunk/src_plugins/exto_std/Makefile =================================================================== --- trunk/src_plugins/exto_std/Makefile (nonexistent) +++ trunk/src_plugins/exto_std/Makefile (revision 28353) @@ -0,0 +1,5 @@ +all: + cd ../../src && $(MAKE) mod_exto_std + +clean: + rm *.o *.so 2>/dev/null ; true Index: trunk/src_plugins/exto_std/Plug.tmpasm =================================================================== --- trunk/src_plugins/exto_std/Plug.tmpasm (nonexistent) +++ trunk/src_plugins/exto_std/Plug.tmpasm (revision 28353) @@ -0,0 +1,11 @@ +put /local/pcb/mod {exto_std} +put /local/pcb/mod/OBJS [@ + $(PLUGDIR)/exto_std/exto_std.o +@] + + +switch /local/pcb/exto_std/controls + case {buildin} include /local/pcb/tmpasm/buildin; end; + case {plugin} include /local/pcb/tmpasm/plugin; end; + case {disable} include /local/pcb/tmpasm/disable; end; +end Index: trunk/src_plugins/exto_std/exto_std.c =================================================================== --- trunk/src_plugins/exto_std/exto_std.c (nonexistent) +++ trunk/src_plugins/exto_std/exto_std.c (revision 28353) @@ -0,0 +1,53 @@ +/* + * COPYRIGHT + * + * pcb-rnd, interactive printed circuit board design + * + * Basic, standard extended objects + * pcb-rnd Copyright (C) 2019 Tibor 'Igor2' Palinkas + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Contact: + * Project page: http://repo.hu/projects/pcb-rnd + * lead developer: http://repo.hu/projects/pcb-rnd/contact.html + * mailing list: pcb-rnd (at) list.repo.hu (send "subscribe") + */ + +#include "config.h" + +#include + +#include "board.h" +#include "data.h" +#include "plugins.h" +#include "actions.h" +#include "obj_subc.h" +#include "pcb-printf.h" + +static const char *exto_std_cookie = "exto_std plugin"; + +int pplg_check_ver_exto_std(int ver_needed) { return 0; } + +void pplg_uninit_exto_std(void) +{ +} + +int pplg_init_exto_std(void) +{ + PCB_API_CHK_VER; + + return 0; +} Index: trunk/src_plugins/exto_std/exto_std.pup =================================================================== --- trunk/src_plugins/exto_std/exto_std.pup (nonexistent) +++ trunk/src_plugins/exto_std/exto_std.pup (revision 28353) @@ -0,0 +1,7 @@ +$class feature +$short standard extended objects +$long Extended objects for: line-of-vias +$state WIP +$package auto +default disable +autoload 1 Index: trunk/src_plugins/plugins_ALL.tmpasm =================================================================== --- trunk/src_plugins/plugins_ALL.tmpasm (revision 28352) +++ trunk/src_plugins/plugins_ALL.tmpasm (revision 28353) @@ -41,6 +41,7 @@ include {../src_plugins/export_vfs_mc/Plug.tmpasm} include {../src_plugins/export_xy/Plug.tmpasm} include {../src_plugins/extedit/Plug.tmpasm} +include {../src_plugins/exto_std/Plug.tmpasm} include {../src_plugins/fontmode/Plug.tmpasm} include {../src_plugins/fp_board/Plug.tmpasm} include {../src_plugins/fp_fs/Plug.tmpasm}