summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestxml/testxml.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index 899d5f4..4ac55d1 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -910,6 +910,11 @@ def testMap(file, path):
if mapWidth == 0 or mapHeight == 0 or mapTileWidth == 0 or mapTileHeight == 0:
return
+ if mapWidth < 16:
+ showMsgFile(file, "map width to small", False)
+ if mapHeight < 16:
+ showMsgFile(file, "map height to small", False)
+
tilesMap = dict()
for tileset in dom.getElementsByTagName("tileset"):
@@ -1207,8 +1212,8 @@ detectClientData([".", "..", parentDir])
print "Checking xml file syntax"
enumDirs(parentDir)
loadPaths()
-#testItems("/items.xml", iconsDir)
-#testMonsters("/monsters.xml")
-#testNpcs("/npcs.xml")
+testItems("/items.xml", iconsDir)
+testMonsters("/monsters.xml")
+testNpcs("/npcs.xml")
testMaps(mapsDir)
showFooter()