From adeafa05cf9d35569d2dade31b3c52b92171c4a8 Mon Sep 17 00:00:00 2001 From: akirschbaum Date: Tue, 28 Jun 2011 19:32:49 +0000 Subject: [PATCH] Ignore more non-map files in MapValidator script. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14731 282e977c-c81d-0410-88c4-b93c2d0d6712 --- editor/scripts/MapValidator | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/editor/scripts/MapValidator b/editor/scripts/MapValidator index 45ae3e334..33ebcc62e 100644 --- a/editor/scripts/MapValidator +++ b/editor/scripts/MapValidator @@ -103,17 +103,21 @@ try { if (file.isFile() && path.startsWith(rootDirectory) && !name.equalsIgnoreCase("README") + && !name.endsWith(".animation") && !name.endsWith(".msg") - && !name.endsWith(".py") && !name.endsWith(".png") && !name.endsWith(".ppm") + && !name.endsWith(".py") + && !name.endsWith(".pyc") && !name.endsWith(".quests") - && !name.endsWith(".animation") + && !name.endsWith(".txt") + && !name.endsWith(".zip") && !name.equals("pshop_copier") && !name.equals("pshops_changelog") && !name.equals(".emergency") && !name.equals("ChangeLog") && !name.equals("COPYING") + && !name.equals("TODO") && !path.contains("/Info/") && !path.contains("/editor/scripts/")) { checkMap(file, file.getPath().substring(mapDefaultFolder.length()));