X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=tools%2Ftilemanager%2FTileSet.cs;h=ad10cdf7cd29ddad44e11d87c527f90fa48a3c1e;hb=fdbfa0e294c58cdf270a003c7aac0d35109a6e93;hp=9300135729688a7715fed391f66abb6605954a76;hpb=812e983033b9bac58ab0089a48507c374719d1cd;p=supertux.git diff --git a/tools/tilemanager/TileSet.cs b/tools/tilemanager/TileSet.cs index 930013572..ad10cdf7c 100644 --- a/tools/tilemanager/TileSet.cs +++ b/tools/tilemanager/TileSet.cs @@ -49,12 +49,12 @@ public class TileSet { public const int TILE_WIDTH = 32; public const int TILE_HEIGHT = 32; - private bool tooNew = false; + private bool isNew = false; /// Whether version of tileset file is too new - public bool TooNew { + public bool IsNew { get { - return tooNew; + return isNew; } } @@ -104,7 +104,7 @@ public class TileSet { } public void ParseTiles(Lisp.Parser parser) { - tooNew = false; + isNew = false; int d = parser.Depth; while(parser.Parse() && parser.Depth >= d) { if(parser.Depth == d && parser.Type != Parser.LispType.START_LIST) { @@ -135,11 +135,7 @@ public class TileSet { break; case "tiles": ParseMoreTiles(parser); - tooNew = true; - Console.WriteLine( - "Warning: new syntax of \"More tiles in one image\" file isn't currently supported"); - Console.WriteLine( - "And this means: YOU WON'T BE ABLE TO SAVE YOUR CHANGES !!!"); + isNew = true; break; default: throw new Exception("Unexpected listentry: " +