summaryrefslogtreecommitdiff
path: root/testxml/testxml.py
diff options
context:
space:
mode:
Diffstat (limited to 'testxml/testxml.py')
-rwxr-xr-xtestxml/testxml.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index 6d16094..83723ab 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -44,6 +44,7 @@ warnings = 0
errDict = set()
safeDye = False
borderSize = 14
+widescreenSize = 1920/32
colorsList = set()
showAll = False
silent = False
@@ -1403,6 +1404,8 @@ def testMap(mapName, file, path):
if mapHeight < borderSize * 2 + 1:
if silent == False or file.find("maps/test") != 0:
showMsgFile(file, "map height to small: " + str(mapHeight), False)
+ if mapWidth < widescreenSize:
+ showMsgFile(file, "error: map width below widescreen minimum: " + str(mapHeight), True)
if len(dom.getElementsByTagName("properties")) < 1:
showMsgFile(file, "missing map properties", True)