diff pads2gpcb/decals.c @ 63:455a0051f9d2

pads2gpcb: PARTTYPE parsing implemented, compiles
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 31 Jan 2016 07:32:08 +0000
parents 9d7e2937883d
children b7f49f029bc3
line wrap: on
line diff
--- a/pads2gpcb/decals.c	Sun Jan 31 05:30:33 2016 +0000
+++ b/pads2gpcb/decals.c	Sun Jan 31 07:32:08 2016 +0000
@@ -592,3 +592,15 @@
 			process_one_decal();
 	}
 }
+
+struct part_decal *
+find_decal_by_name(name)
+	char *name;
+{
+	struct part_decal *p;
+
+	for (p = part_decal_list; p; p = p->next)
+		if (!strcmp(p->name, name))
+			break;
+	return(p);
+}