X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=tools%2Ftilemanager%2FTileSet.cs;h=ad10cdf7cd29ddad44e11d87c527f90fa48a3c1e;hb=c7f37260e8eb9dc30c09d967e7020202724189b1;hp=6719edd3ebd9a91f8ae419862e64b5835711af62;hpb=c4b9eb1970f7735d8aec6db74b5ca60ed232aada;p=supertux.git diff --git a/tools/tilemanager/TileSet.cs b/tools/tilemanager/TileSet.cs index 6719edd3e..ad10cdf7c 100644 --- a/tools/tilemanager/TileSet.cs +++ b/tools/tilemanager/TileSet.cs @@ -1,3 +1,4 @@ +// $Id$ using System; using System.IO; using System.Collections; @@ -48,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; } } @@ -103,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) { @@ -134,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: " +