(svn r22873) -Fix [FS#4747]: Validate image dimensions before loading. (Based on patch by monoid)

This commit is contained in:
michi_cc
2011-09-02 20:16:34 +00:00
parent 7c8cf74bfa
commit 4b6c2259ed
3 changed files with 35 additions and 3 deletions

View File

@@ -3452,6 +3452,8 @@ STR_ERROR_PNGMAP_MISC :{WHITE}... some
STR_ERROR_BMPMAP :{WHITE}Can't load landscape from BMP...
STR_ERROR_BMPMAP_IMAGE_TYPE :{WHITE}... could not convert image type
STR_ERROR_HEIGHTMAP_TOO_LARGE :{WHITE}... image is too large
STR_WARNING_HEIGHTMAP_SCALE_CAPTION :{WHITE}Scale warning
STR_WARNING_HEIGHTMAP_SCALE_MESSAGE :{YELLOW}Resizing source map too much is not recommended. Continue with the generation?